/
package.json
109 lines (109 loc) · 3.23 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
{
"name": "chessboard",
"version": "0.1.2",
"description": "Simple multiplayer chessboard",
"main": "dist/electron-app/main.js",
"scripts": {
"dev": "npx cross-env NODE_ENV=development npm run watch:vue-app",
"start": "npx cross-env NODE_ENV=development npm run build:electron-app && npm run start:electron-app",
"start:electron-app": "npx electron ./ --disable-gpu",
"build": "npx cross-env NODE_ENV=production npm run build:electron-app && npx cross-env NODE_ENV=production npm run build:vue-app",
"build:electron-app": "npx webpack --config webpack-electron-app.config.js --hide-modules --progress && npx ncp ./src/electron-app/assets ./dist/electron-app/assets",
"build:vue-app": "npx webpack --config webpack-vue-app.config.js --hide-modules --progress",
"watch:vue-app": "npx webpack-dev-server --config webpack-vue-app.config.js",
"pack": "npm run build && npx electron-builder --dir",
"dist": "npm run build && npx electron-builder",
"dist:all": "npm run build && npx electron-builder -wml --x64",
"dist:w": "npm run build && npx electron-builder -w --x64",
"dist:m": "npm run build && npx electron-builder -m --x64",
"dist:l": "npm run build && npx electron-builder -l --x64",
"postinstall": "npx electron-builder install-app-deps",
"test": "echo \"Error: no test specified\" && exit 1"
},
"build": {
"appId": "chessboard",
"productName": "chessboard",
"files": [
"dist/**/*",
"!node_modules${/*}"
],
"directories": {
"buildResources": "dist",
"output": "build"
},
"protocols": [
{
"name": "chessboard",
"schemes": [
"chessboard"
]
}
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/oliverfindl/electron-vue-boilerplate.git"
},
"keywords": [
"electron",
"electron-builder",
"webpack",
"webpack-dev-server",
"vue",
"vue-router",
"vuex",
"sass",
"node-sass",
"boilerplate",
"electron-vue-boilerplate"
],
"author": "Oliver Findl",
"license": "MIT",
"bugs": {
"url": "https://github.com/oliverfindl/electron-vue-boilerplate/issues"
},
"homepage": "https://github.com/oliverfindl/electron-vue-boilerplate#readme",
"dependencies": {
"bootstrap-vue": "^2.22.0",
"chess.js": "^1.0.0-alpha.0",
"chessground": "^8.3.5",
"crypto": "^1.0.1",
"peerjs": "^1.4.7",
"vue": "^2.6.12",
"vue-peerjs": "^0.3.0",
"vuex-electron": "^1.0.3",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@fullhuman/postcss-purgecss": "^2.3.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^7.0.2",
"css-loader": "^4.3.0",
"devtron": "^1.4.0",
"electron": "^21.1",
"electron-builder": "^22.8.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-vue": "^6.2.2",
"file-loader": "^6.1.0",
"html-webpack-plugin": "^4.4.1",
"ncp": "^2.0.0",
"node-sass": "^4.14.1",
"postcss": "^8.0.5",
"postcss-loader": "^4.0.2",
"postcss-scss": "^3.0.0",
"sass-loader": "^10.0.2",
"svgo": "^1.3.2",
"svgo-loader": "^2.2.1",
"vue-devtools": "^5.1.4",
"vue-loader": "^15.9.3",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-node-externals": "^2.5.2"
}
}