-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.96 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
{
"name": "reactron",
"productName": "Reactron App",
"version": "0.1.0",
"main": "public/electron.js",
"homepage": "./",
"private": true,
"build": {
"productName": "Reactron App",
"appId": "cn.cmapps.reactron",
"copyright": "",
"win": {
"icon": "build/icon.png",
"target": [
"portable"
]
},
"mac": {
"icon": "build/icon.png"
},
"files": [
"build/",
"package.json",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!.editorconfig",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output,.vscode}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
]
},
"dependencies": {
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.5.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1"
},
"scripts": {
"dev": "concurrently \"yarn start\" \"wait-on http://localhost:4000 && electron .\"",
"start": "NODE_ENV=development PORT=4000 BROWSER=none react-scripts start",
"build": "react-scripts build",
"package": "yarn build && ELECTRON_MIRROR=\"https://npm.taobao.org/mirrors/electron/\" electron-builder build --publish never",
"package-win": "yarn build && ELECTRON_MIRROR=\"https://npm.taobao.org/mirrors/electron/\" electron-builder build --publish never --win --ia32",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
"last 5 chrome version"
],
"development": [
"last 1 chrome version"
]
},
"devDependencies": {
"concurrently": "^5.3.0",
"electron": "^11.0.4",
"electron-builder": "^22.9.1",
"wait-on": "^5.2.0"
}
}