-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.33 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
{
"name": "electron-app",
"productName": "electron-app",
"description": "electron-app",
"version": "1.0.0",
"private": true,
"author": "luffySAMA",
"homepage": "https://github.com/luffySAMA/electron-app",
"main": "app/background.js",
"build": {
"appId": "luffysama.github.io",
"files": [
"app/**/*",
"node_modules/**/*",
"package.json"
],
"directories": {
"buildResources": "resources"
},
"nsisWeb": {
"artifactName": "${productName}_Setup_${version}.${ext}",
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"differentialPackage": true
},
"win": {
"target": [
{
"target": "nsis-web",
"arch": [
"x64",
"ia32"
]
}
]
},
"publish": {
"provider": "github",
"repo": "electron-app",
"owner": "luffySAMA",
"releaseType": "release"
}
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"preunit": "webpack --config=build/webpack.unit.config.js --env=test --display=none",
"unit": "electron-mocha temp/specs.js --renderer --require source-map-support/register",
"pree2e": "webpack --config=build/webpack.app.config.js --env=test --display=none && webpack --config=build/webpack.e2e.config.js --env=test --display=none",
"e2e": "mocha temp/e2e.js --require source-map-support/register",
"test": "npm run unit && npm run e2e",
"start": "node build/start.js",
"release": "webpack --config=build/webpack.app.config.js --env=production && electron-builder"
},
"dependencies": {
"fs-jetpack": "^2.1.0",
"electron-updater": "^3.1.2"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.54",
"@babel/preset-env": "^7.0.0-beta.54",
"babel-loader": "^8.0.0-beta.4",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"chai": "^4.1.0",
"css-loader": "^1.0.0",
"electron": "^2.0.8",
"electron-builder": "^20.15.1",
"electron-mocha": "^6.0.4",
"friendly-errors-webpack-plugin": "^1.7.0",
"mocha": "^5.2.0",
"source-map-support": "^0.5.6",
"spectron": "^3.8.0",
"style-loader": "^0.21.0",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.4",
"webpack-merge": "^4.1.3",
"webpack-node-externals": "^1.7.2"
}
}