-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.97 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": "shoppinglistdesktopapp",
"description": "Shopping List Desktop App",
"author": {
"name":"Gaurav Walia",
"email": "[email protected]"
},
"license": "MIT",
"version": "1.0.1",
"private": true,
"main": "electron/main.js",
"homepage": "./",
"dependencies": {
"@testing-library/react": "^11.1.0",
"mongoose": "^5.11.10",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"web-vitals": "^0.2.4"
},
"scripts": {
"init": "yarn install --production && yarn add -D concurrently electron electron-builder",
"client": "BROWSER=none react-scripts start",
"build": "react-scripts build",
"electron": "electron .",
"dev": "export NODE_ENV=development && concurrently -n 'client,electron' -c 'blue,yellow' \"yarn run client\" \"node scripts/wait.js\"",
"prod": "export NODE_ENV=production && yarn run build && yarn run electron",
"package-linux": "yarn run build && electron-builder build --config .erboilerplate/electron-builder.yml -c.extraMetadata.main=electron/main.js --publish never",
"package-win": "yarn run build && electron-builder build --config .erboilerplate/electron-builder.yml -c.extraMetadata.main=electron/main.js --publish never",
"package-mac": "yarn run build && electron-builder build --config .erboilerplate/electron-builder.yml -c.extraMetadata.main=electron/main.js --publish never"
},
"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.2.0",
"electron-builder": "^22.9.1"
},
"repository": {
"type" : "git",
"url" : "https://github.com/GauravWalia19/ShoppingListDesktopApp.git"
}
}