-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
117 lines (117 loc) · 3.93 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
{
"version": "1.0.0",
"name": "my-electron",
"main": "app/index.js",
"scripts": {
"test": "",
"build": "rimraf app/dist && webpack --config build/webpack.prod.js",
"dev": "node build/server.js",
"app": "cross-env NODE_ENV=development electron app/",
"lint": "xo **/client/**/*.{vue,js} **/app/**/*.js !node_modules/**",
"package:mac": "rimraf package && electron-packager . TEST --platform=darwin --arch=x64 --overwrite --icon=hosts.icns --out=./package --electron-version=1.6.11 --ignore=\"(build|client$|static|theme|.gitignore|LICENSE|README.md|.editorconfig|.eslintrc|node_modules|gruntPackage.json|Gruntfile.js|yarn.lock|socket|package_dir|git_img)\"",
"package:win": "rimraf package && electron-packager . TEST --platform=win32 --arch=x64 --overwrite --icon=hosts.ico --out=./package --electron-version=1.6.11 --version-string.CompanyName=TEST --version-string.ProductName=TEST --ignore=\"(build|client$|static|theme|.gitignore|LICENSE|README.md|.editorconfig|.eslintrc|node_modules|gruntPackage.json|Gruntfile.js|yarn.lock|socket|package_dir|git_img)\"",
"package:linux": "electron-packager . TEST --platform=linux --arch=x64 --overwrite --out=/package --electron-version=1.6.11 --asar --ignore=\"(build|client|static|theme|.gitignore|LICENSE|README.md|.editorconfig|.eslintrc|node_modules|gruntPackage.json|Gruntfile.js|yarn.lock|socket|package_dir|git_img)\"",
"package": "npm run packageDarwin && npm run packageWin && npm run packageLinux",
"setup": "rimraf package_dir && grunt",
"socket": "node socket/server.js"
},
"license": "MIT",
"productName": "my-electron",
"description": "My Superb Vue Project For Electron",
"author": "xiaobinwu <[email protected]>",
"xo": {
"extends": "./.eslintrc",
"esnext": true,
"envs": [
"browser"
]
},
"babel": {
"presets": [
[
"vue-app",
{
"useBuiltIns": true
}
]
],
"plugins": [
[
"component",
[
{
"libraryName": "element-ui",
"styleLibraryName": "~theme"
}
]
]
]
},
"postcss": {
"plugins": {
"autoprefixer": {},
"postcss-nested": {}
}
},
"browserslist": [
"last 2 versions",
"ie > 8"
],
"dependencies": {
"babel-runtime": "^6.18.0",
"element-ui": "^1.3.7",
"promise-polyfill": "^6.0.2",
"vue": "^2.2.0",
"vue-router": "^2.0.0",
"vuex": "^2.0.0",
"vuex-router-sync": "^4.0.0"
},
"devDependencies": {
"autoprefixer": "^6.4.0",
"axios": "^0.16.2",
"babel-core": "^6.16.0",
"babel-loader": "^6.2.4",
"babel-plugin-component": "^0.9.1",
"babel-preset-vue-app": "^1.1.1",
"bluebird": "^3.5.0",
"body-parser": "^1.17.2",
"chalk": "^1.1.3",
"copy-webpack-plugin": "^4.0.1",
"cross-env": "^2.0.0",
"css-loader": "^0.23.1",
"electron": "^1.4.2",
"electron-devtools-installer": "^2.0.1",
"electron-packager": "^8.7.1",
"electron-squirrel-startup": "^1.0.0",
"eslint": "^3.19.0",
"eslint-config-vue": "latest",
"eslint-plugin-vue": "latest",
"express": "^4.14.0",
"extract-text-webpack-plugin": "^2.0.0-rc.3",
"file-loader": "^0.9.0",
"file-saver": "^1.3.3",
"friendly-errors-webpack-plugin": "^1.1.2",
"grunt": "^1.0.1",
"grunt-electron-installer": "^2.1.0",
"html-webpack-plugin": "^2.22.0",
"node-sass": "^4.5.3",
"offline-plugin": "^4.5.3",
"postcss-loader": "^0.9.1",
"postcss-nested": "^1.0.0",
"rimraf": "^2.6.1",
"sass": "^1.0.0-beta.1",
"sass-loader": "^6.0.6",
"socket.io-client": "^2.0.3",
"style-loader": "^0.13.1",
"url-loader": "^0.5.9",
"vue-i18n": "^7.1.1",
"vue-loader": "^11.0.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.3.4",
"webpack": "2.2.0",
"webpack-dev-middleware": "^1.8.1",
"webpack-hot-middleware": "^2.12.2",
"xlsx": "^0.11.1",
"xo": "^0.18.0"
}
}