-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.67 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
{
"name": "electron-webpack-boilerplate",
"productName": "Electron Webpack Boilerplate",
"description": "Boilerplate application for Electron with webpack",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git@github.com:DeekshithShetty/electron-webpack-boilerplate.git"
},
"private": true,
"author": "Deekshith Shetty",
"copyright": "© 2018 Saiyan Studio",
"homepage": "https://github.com/DeekshithShetty/electron-webpack-boilerplate",
"main": "build/main.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"lint": "npm run lint:eslint && npm run lint:css",
"lint:css": "stylelint \"./app/**/*.css\" --color",
"lint:css:staged": "stylelint --color",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:eslint": "eslint . --color",
"lint:eslint:staged": "eslint --color",
"lint:eslint:fix": "npm run lint:eslint -- --fix",
"lint:staged": "lint-staged",
"prettify": "prettier --write",
"preunit": "npm run unit:clean && cross-env NODE_ENV=test webpack --config=internals/webpack/webpack.unit.config.js --env=test --display=none",
"unit": "nyc mocha build-test/specs.js --require source-map-support/register",
"unit:clean": "rimraf ./build-test ./coverage",
"pree2e": "webpack --config=internals/webpack/webpack.prod.config.js --env=test --display=none && webpack --config=internals/webpack/webpack.e2e.config.js --env=test --display=none",
"e2e": "xvfb-maybe mocha build-test/e2e.js --require source-map-support/register",
"test": "npm run lint && npm run unit && npm run e2e",
"prebuild:local": "npm run build:clean",
"build:local": "webpack --display=minimal --config=internals/webpack/webpack.dev.config.js --env=development",
"build:local:watch": "npm run build:local -- --watch",
"prebuild:dev": "npm run build:clean",
"build:dev": "webpack --display=minimal --config=internals/webpack/webpack.prod.config.js --env=development",
"prebuild:test": "npm run build:clean",
"build:test": "webpack --display=minimal --config=internals/webpack/webpack.prod.config.js --env=test",
"prebuild:prod": "npm run build:clean",
"build:prod": "webpack --display=minimal --config=internals/webpack/webpack.prod.config.js --env=production",
"build:clean": "rimraf ./build",
"electron": "electron . --remote-debugging-port=9222 --enable-logging",
"start:local": "npm run build:local && npm run electron",
"start:prod": "npm run build:prod && npm run electron",
"start": "concurrently --raw --kill-others \"npm run start:local\" \"npm run build:local:watch\"",
"prerelease:dev": "rimraf ./dist/development",
"release:dev": "npm run build:dev && node internals/electron-builder --env=development",
"prerelease:test": "rimraf ./dist/test",
"release:test": "npm run build:test && node internals/electron-builder --env=test",
"prerelease:prod": "rimraf ./dist/production",
"release:prod": "npm run build:prod && node internals/electron-builder --env=production",
"release": "npm run release:prod",
"release:clean": "rimraf ./dist"
},
"lint-staged": {
"*.js": [
"npm run lint:eslint:staged"
],
"*.css": [
"npm run lint:css:staged"
]
},
"pre-commit": "lint:staged",
"dependencies": {
"fs-jetpack": "^2.1.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-rc.3",
"@babel/preset-env": "^7.0.0-rc.3",
"@babel/register": "^7.0.0-rc.3",
"babel-loader": "^8.0.0-beta.6",
"babel-plugin-istanbul": "^5.0.1",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"chai": "^4.1.0",
"chalk": "^2.4.1",
"chokidar": "^2.0.4",
"concurrently": "^3.6.1",
"copy-webpack-plugin": "^4.5.2",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"electron": "^2.0.8",
"electron-builder": "^20.18.1",
"electron-rebuild": "^1.7.3",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^2.6.2",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-include-assets-plugin": "^1.0.4",
"html-webpack-plugin": "^3.2.0",
"lint-staged": "^7.2.2",
"minimist": "^1.2.0",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"pre-commit": "^1.2.2",
"prettier": "^1.14.2",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.6",
"spectron": "^3.8.0",
"style-loader": "^0.21.0",
"stylelint": "^9.4.0",
"stylelint-config-standard": "^18.2.0",
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.4",
"webpack-merge": "^4.1.3",
"webpack-node-externals": "^1.7.2",
"xvfb-maybe": "^0.2.1"
}
}