|
6 | 6 | "homepage": "https://example.barajs.dev", |
7 | 7 | "scripts": { |
8 | 8 | "dev": "run-p start:web start:mobile start:desktop", |
9 | | - "start:web": "react-scripts start", |
| 9 | + "start:web": "craco start --verbose", |
10 | 10 | "start:mobile": "node node_modules/react-native/local-cli/cli.js start", |
11 | 11 | "start:desktop": "cross-env BROWSER=none concurrently \"yarn compile:desktop -w\" \"wait-on http://localhost:3000 && yarn watch:desktop\"", |
12 | 12 | "watch:desktop": "nodemon --watch dist --exec \"electron ./dist\"", |
13 | 13 | "do:web": "concurrently --kill-others \"yarn compile -w\" \"yarn start:web\"", |
14 | 14 | "do:desktop": "cross-env BROWSER=none concurrently \"yarn dev:web\" \"yarn compile:desktop -w\" \"wait-on http://localhost:3000 && yarn watch:desktop\"", |
15 | 15 | "compile": "run-s compile:tsc compile:web compile:desktop", |
16 | 16 | "compile:tsc": "tsc -b", |
17 | | - "compile:web": "react-scripts build", |
| 17 | + "compile:web": "craco build", |
18 | 18 | "compile:desktop": "tsc -b ./tsconfig.desktop.json", |
19 | 19 | "build:desktop": "run-s clean compile:desktop compile:web build:desktop:cpres build:desktop:electron", |
20 | 20 | "build:desktop:cpres": "shx cp -R build dist/web", |
|
26 | 26 | }, |
27 | 27 | "dependencies": { |
28 | 28 | "bara": "2.3.1", |
29 | | - "bara-react": "2.0.0", |
| 29 | + "bara-react": "2.0.1", |
| 30 | + "bara-react-icons": "1.1.0", |
30 | 31 | "electron-store": "3.2.0", |
31 | 32 | "electron-updater": "4.0.6", |
32 | 33 | "jsonfile": "5.0.0", |
33 | 34 | "mkdirp": "0.5.1", |
34 | 35 | "react": "16.8.6", |
| 36 | + "react-app-polyfill": "0.2.2", |
35 | 37 | "react-dom": "16.8.6", |
36 | | - "react-native": "0.59.4" |
| 38 | + "react-native": "0.59.4", |
| 39 | + "react-native-vector-icons": "6.4.2" |
37 | 40 | }, |
38 | 41 | "devDependencies": { |
39 | 42 | "@babel/core": "7.4.3", |
| 43 | + "@babel/plugin-proposal-class-properties": "7.4.0", |
| 44 | + "@babel/polyfill": "7.4.3", |
40 | 45 | "@babel/runtime": "7.4.3", |
| 46 | + "@craco/craco": "4.1.0", |
41 | 47 | "@types/electron-devtools-installer": "2.2.0", |
42 | 48 | "@types/electron-store": "1.3.1", |
43 | 49 | "@types/jest": "24.0.11", |
|
46 | 52 | "@types/node": "11.13.4", |
47 | 53 | "@types/react": "16.8.13", |
48 | 54 | "@types/react-native": "0.57.45", |
| 55 | + "@types/react-native-vector-icons": "6.4.0", |
49 | 56 | "@types/react-test-renderer": "16.8.1", |
| 57 | + "babel-plugin-react-native-web": "0.11.2", |
50 | 58 | "concurrently": "4.1.0", |
51 | 59 | "cross-env": "5.2.0", |
52 | 60 | "electron": "4.1.4", |
|
0 commit comments