forked from BZCoding/SkelEktron
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
118 lines (118 loc) · 4.55 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
{
"name": "@hklabs/electron-boilerplate",
"description": "Electron Application Template by HKLabs",
"homepage": "https://github.com/hk-labs/electron-boilerplate",
"version": "0.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/hk-labs/electron-boilerplate.git"
},
"main": "app/main.js",
"scripts": {
"prettier:check": "prettier --single-quote --print-width 100 --debug-check '**/*.js'",
"prettier:fix": "prettier --single-quote --print-width 100 --write '**/*.js'",
"depcheck": "dependency-check ./ --entry app/main.js --unused --no-dev",
"test": "npm run test:unit && npm run test:integration && npm run test:e2e",
"test:unit": "npm run test:unit:main && npm run test:unit:renderer",
"test:unit:main": "electron-mocha test/unit/main/*.spec.js test/unit/main/**/*.spec.js",
"test:unit:renderer": "electron-mocha --renderer test/unit/renderer/*.spec.js test/unit/renderer/**/*.spec.js",
"test:integration": "npm run test:integration:main && npm run test:integration:renderer",
"test:integration:main": "electron-mocha test/integration/main/*.spec.js test/integration/main/**/*.spec.js",
"test:integration:renderer": "electron-mocha --renderer test/integration/renderer/*.spec.js test/integration/renderer/**/*.spec.js",
"test:e2e": "mocha test/e2e/*.feature.js test/e2e/**/*.feature.js",
"coverage": "npm run coverage:clean && npm run coverage:unit && npm run coverage:integration && npm run coverage:collect",
"coverage:unit": "npm run coverage:unit:main && npm run coverage:unit:renderer",
"coverage:unit:main": "electron-mocha -r coverage.js test/unit/main/*.spec.js test/unit/main/**/*.spec.js",
"coverage:unit:renderer": "electron-mocha -r coverage.js --renderer test/unit/renderer/*.spec.js test/unit/renderer/**/*.spec.js",
"coverage:integration": "npm run coverage:integration:main && npm run coverage:integration:renderer",
"coverage:integration:main": "electron-mocha -r coverage.js test/integration/main/*.spec.js test/integration/main/**/*.spec.js",
"coverage:integration:renderer": "electron-mocha -r coverage.js --renderer test/integration/renderer/*.spec.js test/integration/renderer/**/*.spec.js",
"coverage:collect": "nyc report -r lcov -r text-summary",
"coverage:clean": "rimraf .nyc_output/*; rimraf coverage/*",
"start": "electron ./app/main",
"clean:linux": "rimraf dist/linux* dist/*.deb dist/*.AppImage",
"clean:osx": "rimraf dist/mac",
"clean:win": "rimraf dist/win*",
"clean": "npm run clean:linux && npm run clean:win && npm run clean:osx",
"pack:osx": "build --dir --mac",
"pack:win": "build --dir --win --x64",
"pack:linux": "build --dir --linux --x64",
"pack": "build --dir",
"prebuild": "node build/target.js",
"build:osx": "npm run prebuild && build --mac && npm run postbuild",
"build:win": "npm run prebuild && build --win --x64 && npm run postbuild",
"build:linux": "npm run prebuild && build --linux deb AppImage --x64 && npm run postbuild",
"build": "build",
"postbuild": "node build/target.js --clean"
},
"pre-commit": [
"test:unit",
"test:integration"
],
"build": {
"appId": "kg.hklabs.electron-app",
"productName": "Electron App",
"dmg": {
"iconSize": 120,
"iconTextSize": 14,
"contents": [
{
"x": 478,
"y": 170,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 170,
"type": "file"
}
]
},
"mac": {
"category": "public.app-category.business"
},
"linux": {
"category": "Development"
},
"win": {}
},
"electronVersion": "1.6.11",
"dependencies": {
"dotenv": "^4.0.0",
"electron-debug": "^1",
"electron-is-dev": "^0.1",
"electron-unhandled": "^0.2.0",
"electron-window-state": "^3",
"lodash": "^4"
},
"devDependencies": {
"async": "^2",
"chai": "^3",
"chai-as-promised": "^6",
"dependency-check": "^2",
"devtron": "^1",
"electron-builder": "^7",
"electron-mocha": "^4.0.0",
"electron-prebuilt": "^1",
"glob": "^7.1.2",
"istanbul": "^0.4",
"istanbul-lib-hook": "^1.0.7",
"istanbul-lib-instrument": "^1.7.3",
"mocha": "^3",
"nyc": "^11.0.3",
"pre-commit": "^1",
"prettier": "^1.4.4",
"rimraf": "^2",
"shelljs": "^0.7",
"sinon": "^2.3.5",
"sinon-chai": "^2.11.0",
"spectron": "^3"
},
"author": {
"name": "Dan Kerimdzhanov / Holy Krab Labs",
"email": "kerimdzhanov@gmail.com"
},
"license": "MIT"
}