-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
88 lines (88 loc) · 1.91 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
{
"name": "electron-gatsby-boilerplate",
"productName": "Electron Gatsby Boilerplate",
"version": "0.0.1",
"description": "A Starter Boilerplate for Electron with Gatsby",
"main": "app/index.js",
"repository": "zonayedpca/electron-gatsby-boilerplate",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"test": "npm run lint",
"lint": "eslint .",
"client": "gatsby develop",
"build-client": "gatsby build",
"electron": "electron .",
"start": "concurrently --kill-others \"npm run client\" \"wait-on tcp:8000 && npm run electron\"",
"pack": "electron-builder --dir",
"dist": "npm run build-client && electron-builder --macos --linux --windows --publish always",
"release": "np"
},
"author": {
"name": "Zonayed Ahmed",
"email": "[email protected]",
"url": "https://zonayed.me"
},
"license": "MIT",
"dependencies": {
"electron-util": "^0.14.0",
"gatsby": "^2.20.18",
"node-static": "^0.7.11",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"redux": "^4.0.5"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"concurrently": "^5.1.0",
"electron": "^9.4.0",
"electron-builder": "^22.4.1",
"eslint": "^6.7.2",
"eslint-plugin-react": "^7.19.0",
"husky": "^4.2.5",
"lint-staged": "^10.1.3",
"np": "^6.2.0",
"wait-on": "^4.0.2"
},
"np": {
"publish": true,
"releaseDraft": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": "eslint --fix"
},
"build": {
"appId": "com.company.electronGatsbyBoilerplate",
"mac": {
"category": "public.app-category.general-tools",
"darkModeSupport": true
},
"dmg": {
"iconSize": 160,
"contents": [
{
"x": 180,
"y": 170
},
{
"x": 480,
"y": 170,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "General;Tools"
}
}
}