|
8 | 8 | "bugs": "https://github.com/TECommons/tec-hatch/issues", |
9 | 9 | "license": "(GPL-3.0-or-later OR MIT)", |
10 | 10 | "scripts": { |
11 | | - "build": "npm run sync-assets && npm run build:app", |
| 11 | + "build": "npm run sync-assets && react-app-rewired build", |
12 | 12 | "build:app": "parcel build index.html -d ./dist/ --public-url \".\" --no-cache", |
13 | 13 | "serve": "parcel serve index.html --out-dir ./dist/ --no-cache", |
14 | | - "sync-assets": "copy-aragon-ui-assets ./dist && copyfiles -u 1 './public/**/*' ./dist", |
15 | | - "start": "npm run sync-assets && npm run serve" |
| 14 | + "sync-assets": "copy-aragon-ui-assets ./public", |
| 15 | + "start": "npm run sync-assets && react-app-rewired start" |
16 | 16 | }, |
17 | 17 | "dependencies": { |
18 | 18 | "@aragon/connect": "^0.7.0", |
|
33 | 33 | "react-dom": "^16.3.1", |
34 | 34 | "react-player": "^2.7.2", |
35 | 35 | "react-plotly.js": "^2.4.0", |
| 36 | + "react-scripts": "^3.4.3", |
36 | 37 | "react-spring": "^8.0.27", |
37 | 38 | "rxjs": "^6.5.2", |
38 | 39 | "styled-components": ">=4.0.0", |
|
41 | 42 | "web3-utils": "^1.2.1" |
42 | 43 | }, |
43 | 44 | "devDependencies": { |
44 | | - "@babel/core": "^7.10.2", |
| 45 | + "@babel/core": "^7.11.1", |
| 46 | + "@babel/plugin-proposal-class-properties": "^7.7.4", |
| 47 | + "@babel/preset-react": "^7.7.4", |
45 | 48 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", |
46 | 49 | "@babel/plugin-proposal-optional-chaining": "^7.6.0", |
47 | 50 | "@babel/preset-env": "^7.10.2", |
48 | 51 | "babel-eslint": "^10.0.3", |
49 | 52 | "babel-plugin-styled-components": "^1.10.6", |
50 | 53 | "copyfiles": "^2.1.1", |
51 | 54 | "cross-env": "^6.0.2", |
| 55 | + "customize-cra": "^1.0.0", |
52 | 56 | "eslint": "^6.2.2", |
53 | 57 | "eslint-config-prettier": "^6.1.0", |
54 | 58 | "eslint-config-standard": "^14.1.0", |
|
60 | 64 | "eslint-plugin-react": "^7.14.3", |
61 | 65 | "eslint-plugin-react-hooks": "^2.0.1", |
62 | 66 | "eslint-plugin-standard": "^4.0.1", |
63 | | - "parcel-bundler": "^1.12.3", |
64 | | - "prettier": "^1.18.2" |
| 67 | + "prettier": "^1.18.2", |
| 68 | + "react-app-polyfill": "^1.0.6", |
| 69 | + "react-app-rewired": "^2.1.6", |
| 70 | + "react-dev-utils": "^10.2.1" |
65 | 71 | }, |
66 | 72 | "browserslist": [ |
67 | 73 | ">2%", |
|
0 commit comments