-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
72 lines (72 loc) · 1.82 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
{
"name": "nw-react-example",
"version": "0.1.3",
"main": "main.js",
"homepage": ".",
"window": {
"icon": "./build/logo512.png"
},
"node-remote": [
"http://127.0.0.1:3042",
"file://*"
],
"private": true,
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.4.3",
"concurrently": "^7.5.0",
"cross-env": "^7.0.3",
"nw": "0.83.0-sdk",
"nw-builder": "^4.5.4",
"react": "^18.2.0",
"react-devtools": "^4.26.1",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"wait-on": "^6.0.1",
"web-vitals": "^3.1.0"
},
"scripts": {
"dev": "concurrently -k \"npm start\" \"wait-on http://127.0.0.1:3042 && cross-env NWJS_START_URL=http://127.0.0.1:3042 nw --enable-logging=stderr .\"",
"dev-tools": "concurrently -k \"react-devtools\" \"cross-env REACT_APP_DEVTOOLS=enabled npm start\" \"wait-on http://127.0.0.1:3042 && cross-env NWJS_START_URL=http://127.0.0.1:3042 nw --enable-logging=stderr .\"",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predist": "cross-env GENERATE_SOURCEMAP=false BUILD_PATH=./dist/app/build/ npm run build",
"dist": "node dist.mjs"
},
"build": {
"manifestProps": [
"name",
"version",
"main",
"node-remote",
"window"
],
"osTypes": [
"windows"
]
},
"eslintConfig": {
"globals": {
"nw": true
},
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}