-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.34 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "my-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"better-sqlite3": "^7.6.2",
"cross-env": "^7.0.3",
"electron-is-dev": "^1.2.0",
"knex": "^2.2.0",
"lodash": "^4.17.21",
"papaparse": "^5.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hotkeys": "^2.0.0",
"react-router-dom": "^6.3.0",
"react-router-loading": "^1.0.0",
"react-scripts": "5.0.1",
"rsuite": "^5.16.6",
"simplebar-react": "^2.4.1",
"web-vitals": "^1.1.2"
},
"author": {
"name": "test",
"email": "test@ww.com"
},
"scripts": {
"start": "concurrently -k \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electronmon . --no-sandbox --enable-logging\"",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dist": "npm run build && electron-builder -c.extraMetadata.main=build/electron.js",
"dist:win": "npm run build && electron-builder -w -c.extraMetadata.main=build/electron.js",
"dist:mac": "npm run build && electron-builder -m -c.extraMetadata.main=build/electron.js",
"dist:linux": "npm run build && electron-builder -l -c.extraMetadata.main=build/electron.js",
"react-start": "react-scripts start",
"db": "node db.js",
"electron": "concurrently -k \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electron . --no-sandbox --enable-logging\"",
"rebuild": "electron-rebuild",
"release": "electron-builder --publish always -c.extraMetadata.main=build/electron.js"
},
"eslintConfig": {
"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"
]
},
"devDependencies": {
"concurrently": "^5.3.0",
"electron": "^11.5.0",
"electron-builder": "^22.14.13",
"electron-devtools-installer": "^3.2.0",
"electron-rebuild": "^3.2.9",
"electronmon": "^1.1.2",
"wait-on": "^5.3.0"
},
"homepage": "./",
"main": "./public/electron.js",
"build": {
"appId": "com.electron.my_app",
"extends": null,
"extraMetadata": {
"main": "build/electron.js"
},
"asarUnpack": "**\\*.{node,dll}",
"productName": "My App",
"files": [
"dist/**/*",
"build/**/*",
"node_modules/**/*",
"package.json"
],
"directories": {
"buildResources": "public"
},
"mac": {
"target": "dmg",
"category": "utilities",
"type": "development"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 440,
"y": 150,
"type": "link",
"path": "/Applications"
}
],
"artifactName": "electron-circleci-${version}.${ext}",
"publish": null
},
"win": {
"target": "nsis",
"icon": "./public/logo512.png"
},
"linux": {
"target": "AppImage",
"category": "Development"
},
"publish": [
{
"provider": "github",
"releaseType": "release"
}
]
}
}