-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
80 lines (80 loc) · 2.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "metaphasejs-react-demo",
"version": "0.9.0",
"private": true,
"homepage": ".",
"dependencies": {
"classnames": "^2.2.5",
"font-awesome": "^4.7.0",
"metaphasejs": "^0.9.6",
"primereact": "^1.5.3",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-json-view": "^1.16.6",
"react-numeric-input": "^2.2.3",
"react-quill": "^1.2.7",
"react-scripts-ts": "<=2.13.0"
},
"devDependencies": {
"@types/jest": "23.1.0",
"@types/node": "^10.1.2",
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.5",
"@types/react-test-renderer": "^16.0.1",
"react-test-renderer": "^16.4.0",
"source-map-explorer": "^1.5.0",
"typescript": "^2.8.3",
"uglify-es": "^3.3.9",
"uglify-js": "3"
},
"scripts": {
"start": "react-scripts-ts start",
"build-cra": "react-scripts-ts build",
"eject": "react-scripts-ts eject",
"test": "./test.bat",
"test:watch": "jest --watch --notify",
"test:debug": "jest --debug",
"test:update": "jest -u",
"coverage": "jest --coverage --silent",
"analyze": "source-map-explorer build/static/js/main.*.js",
"uglify:compress": "npx uglifyjs ./build/static/js/main.*.js --compress --output ./build/static/main.js --timings",
"build": "npx uglifyjs ./build/static/js/main.*.js --compress --mangle --output ./build/static/main.js --keep-fnames --timings",
"uglify:config:file": "npx uglifyjs ./build/static/js/main.*.js --config-file uglify.config.json --output ./build/static/main.js",
"show-dist": "start http://localhost:63342/metaphase-react-demo/build/index.html",
"show-analysis": "start http://localhost:63342/metaphase-react-demo/analysis/index.html",
"build2": "node build.js"
},
"jest": {
"setupFiles": [
"<rootDir>/jest-config/test-shim.js",
"<rootDir>/jest-config/test-setup.js"
],
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/jest-config/test-preprocessor.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest-config/assetsTransformer.js",
"\\.(css|less)$": "<rootDir>/jest-config/assetsTransformer.js"
},
"roots": [
"src"
],
"testMatch": [
"**/test/*.(test).(ts|tsx|js)"
],
"collectCoverageFrom": [
"src/orm/**/*.{js,tsx,ts}",
"!src/index.tsx",
"!src/App.tsx",
"!src/orm/test/models/**"
]
}
}