-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.56 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
{
"name": "template",
"version": "0.1.0",
"private": true,
"main": "scripts/electron-main.js",
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"typescript": "~3.7.2"
},
"scripts": {
"lint": "eslint --ext .tsx,.ts src/",
"start": "react-scripts start",
"start:electron": "electron .",
"start:production": "serve build",
"prebuild": "npm run lint",
"build": "react-scripts build",
"postbuild": "react-snap",
"test": "npm run lint && react-scripts test --watchAll=false",
"package:preview": "electron-builder --dir",
"package": "electron-builder"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"electron-builder": "^22.6.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-jsdoc": "^25.2.0",
"react-snap": "^1.23.0",
"electron": "8.2.5",
"serve": "11.3.0"
},
"reactSnap": {
"source": "build",
"minifyHtml": {
"collapseWhitespace": false,
"removeComments": false
}
}
}