-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
112 lines (112 loc) · 3.64 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
{
"name": "xiaofanzhuo",
"productName": "小饭桌",
"version": "0.0.1",
"author": "TATx",
"description": "饭否桌面客户端",
"license": "MIT",
"main": "./dist/electron/main.js",
"scripts": {
"build": "node .electron-vue/build.js",
"build:darwin": "cross-env BUILD_TARGET=darwin node .electron-vue/build.js",
"build:linux": "cross-env BUILD_TARGET=linux node .electron-vue/build.js",
"build:mas": "cross-env BUILD_TARGET=mas node .electron-vue/build.js",
"build:win32": "cross-env BUILD_TARGET=electron node .electron-vue/build.js && electron-builder --win",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
"dev": "node .electron-vue/dev-runner.js",
"e2e": "npm run pack && mocha test/e2e",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"test": "npm run unit && npm run e2e",
"unit": "karma start test/unit/karma.conf.js",
"postinstall": "",
"installer": "electron-installer-windows --src dist/win-unpacked/ --dest dist/installers/"
},
"dependencies": {
"axios": "^0.18.1",
"bootstrap-vue": "^2.15.0",
"electron-store": "^3.3.0",
"fanfou-sdk": "^4.1.0",
"oauth": "^0.9.15",
"vue": "^2.6.11",
"vue-electron": "^1.0.6",
"vue-router": "^3.3.4",
"vuex": "^3.5.1",
"vuex-electron": "^1.0.0"
},
"devDependencies": {
"ajv": "^6.12.3",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"babili-webpack-plugin": "^0.1.2",
"cfonts": "^2.8.4",
"chai": "^4.2.0",
"chalk": "^2.4.2",
"copy-webpack-plugin": "^4.6.0",
"cross-env": "^5.2.1",
"css-loader": "^0.28.11",
"del": "^3.0.0",
"devtron": "^1.4.0",
"electron": ">=9.1.0",
"electron-debug": "^1.5.0",
"electron-devtools-installer": "^2.2.4",
"electron-installer-windows": "^3.0.0",
"electron-packager": "^13.1.1",
"electron-rebuild": "^1.11.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"inject-loader": "^4.0.1",
"karma": "^2.0.5",
"karma-chai": "^0.1.0",
"karma-coverage": "^1.1.2",
"karma-electron": "^6.3.0",
"karma-mocha": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "^3.0.5",
"mini-css-extract-plugin": "^0.4.5",
"mocha": "^5.2.0",
"multispinner": "^0.2.1",
"node-loader": "^0.6.0",
"require-dir": "^1.2.0",
"spectron": "^3.8.0",
"style-loader": "^0.21.0",
"url-loader": "^1.1.2",
"vue-html-loader": "^1.2.4",
"vue-loader": "^15.9.3",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^4.2.2"
},
"build": {
"productName": "小饭桌",
"copyright": "Copyright © year TATx",
"appId": "1",
"files": [
"dist/electron/**/*"
],
"win": {
"icon": "build/icons/icon.ico",
"target": [
"nsis",
"zip"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": true
}
}
}