-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.83 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": "desktop",
"version": "0.1.0",
"description": "experimental desktop application for AOS",
"private": true,
"proxy": "http://localhost:3001",
"main": "electron.js",
"homepage": "./",
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"http-parser-js": "^0.5.2",
"node-rsa": "^1.0.8",
"react": "^16.13.1",
"react-bootstrap": "^1.0.0",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1"
},
"scripts": {
"start": "export BROWSER=none && react-scripts start",
"build": "react-scripts build",
"start-electron": "export ELECTRON_START_URL=http://localhost:3000 && export NODE_OPTIONS=--http-parser=legacy && electron .",
"start-electron-static": "export NODE_OPTIONS='--http-parser=legacy' && electron .",
"build-electron": "mkdir -f build/src && cp -r . build/ && cp -r src/shared/. build/src/shared",
"package": "electron-builder build --mac --win -c.extraMetadata.main=electron.js --publish never",
"test": "react-scripts test",
"eject": "react-scripts eject",
"preelectron-pack": "npm run build"
},
"build": {
"files": [
"build/**/*",
"node_modules/**/*",
"public/**/*",
"package.json",
"dist/**/*",
"storage/**/*",
"*.js"
],
"publish": {
"provider": "github",
"repo": "aos-desktop",
"owner": "kuntalabs"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"electron": "^8.2.5",
"electron-builder": "^22.4.1"
}
}