|
1 | 1 | { |
2 | 2 | "name": "reactime", |
3 | 3 | "description": "build web extension bundle.js", |
4 | | - "jest": { |
5 | | - "transform": { |
6 | | - "^.+\\.(js|ts|tsx)$": "ts-jest" |
7 | | - }, |
8 | | - "testPathIgnorePatterns": [ |
9 | | - "www", |
10 | | - "./src/backend/__tests__/ignore" |
11 | | - ], |
12 | | - "coveragePathIgnorePatterns": [ |
13 | | - "/src/backend/__tests__/ignore/" |
14 | | - ], |
15 | | - "transformIgnorePatterns": [ |
16 | | - "/node_modules/(?!d3|d3-array|internmap|delaunator|robust-predicates)" |
17 | | - ], |
18 | | - "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", |
19 | | - "moduleFileExtensions": [ |
20 | | - "ts", |
21 | | - "tsx", |
22 | | - "js" |
23 | | - ], |
24 | | - "setupFilesAfterEnv": [ |
25 | | - "@testing-library/jest-dom/extend-expect" |
26 | | - ], |
27 | | - "testEnvironment": "jest-environment-jsdom" |
28 | | - }, |
29 | 4 | "scripts": { |
30 | 5 | "build": "NODE_OPTIONS=--openssl-legacy-provider webpack --mode production", |
31 | 6 | "dev": "NODE_OPTIONS=--openssl-legacy-provider webpack --mode development --watch", |
|
35 | 10 | "test-backend": "jest --verbose --coverage src/backend", |
36 | 11 | "test-frontend": "jest --verbose --coverage src/app", |
37 | 12 | "test-newfront": "jest --verbose --coverage src/app/__tests__new", |
| 13 | + "test-zo": "jest --verbose --coverage src/app/__tests__zo", |
38 | 14 | "test-on": "./node_modules/.bin/jest $1", |
39 | 15 | "docker-test-lint": "eslint --ext .js --ext .jsx src", |
40 | 16 | "docs": "typedoc --json docs --inputFiles src/app --inputFiles src/backend --readme docs/readme.md", |
|
116 | 92 | "@babel/plugin-proposal-decorators": "^7.10.5", |
117 | 93 | "@babel/preset-env": "^7.12.7", |
118 | 94 | "@babel/preset-react": "^7.12.7", |
| 95 | + "@babel/preset-typescript": "^7.21.5", |
119 | 96 | "@emotion/babel-plugin": "^11.7.2", |
| 97 | + "@inrupt/jest-jsdom-polyfills": "^1.6.2", |
120 | 98 | "@testing-library/jest-dom": "^4.2.4", |
121 | 99 | "@testing-library/react": "^13.4.0", |
122 | 100 | "@testing-library/user-event": "^14.4.3", |
|
153 | 131 | "jest-environment-jsdom": "^29.5.0", |
154 | 132 | "jest-runner-eslint": "^2.0.0", |
155 | 133 | "jscharting-react": "^1.2.1", |
| 134 | + "jsdom": "^21.1.2", |
156 | 135 | "prettier": "2.8.4", |
157 | 136 | "puppeteer": "^14.3.0", |
158 | 137 | "react-devtools-core": "^4.27.3", |
|
205 | 184 | "d3-scale-chromatic": "^3.0.0", |
206 | 185 | "d3-shape": "^2.0.0", |
207 | 186 | "d3-zoom": "^3.0.0", |
| 187 | + "identity-obj-proxy": "^3.0.0", |
208 | 188 | "immer": "^9.0.12", |
209 | 189 | "intro.js": "^5.0.0", |
210 | 190 | "intro.js-react": "^0.6.0", |
211 | 191 | "jest-runner": "^26.1.0", |
212 | 192 | "jscharting": "^3.0.2", |
213 | | - "jsdom": "^21.1.1", |
214 | 193 | "jsondiffpatch": "^0.3.11", |
215 | 194 | "lodash": "^4.17.21", |
216 | 195 | "prop-types": "^15.7.2", |
|
0 commit comments