-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
143 lines (143 loc) · 4.37 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "workplusfe-devtools",
"version": "0.10.1",
"author": "workplusfe",
"description": "WorkPlus ligh-webapp dev tools",
"license": "MIT",
"main": "./dist/electron/main.js",
"scripts": {
"build": "npm run preload && node .electron-vue/build.js && electron-builder",
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
"preload": "webpack --config .electron-vue/webpack.preload.config.js",
"dev:electron": "node .electron-vue/dev-runner.js",
"dev": "npm run preload && npm run dev:electron",
"lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src",
"lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src",
"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",
"postinstall": "npm run lint:fix"
},
"build": {
"productName": "高科前端开发工具",
"appId": "com.electron.${name}",
"artifactName": "WorkPlusFE-DevTools-${version}.${ext}",
"directories": {
"output": "build"
},
"files": [
"dist/electron/**/*"
],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"category": "public.workplus-fe.developer-tools",
"icon": "design/logo.icns",
"type": "development"
},
"win": {
"icon": "design/icon.ico",
"target": {
"target": "nsis",
"arch": [
"ia32"
]
}
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"perMachine": true,
"oneClick": false,
"menuCategory": true,
"allowElevation": false,
"createDesktopShortcut": true
}
},
"dependencies": {
"axios": "^0.18.0",
"electron-i18n": "^1.2662.0",
"element-ui": "2.14.1",
"i18next": "^19.8.4",
"i18next-node-fs-backend": "^2.1.3",
"ip": "^1.1.5",
"lodash": "^4.17.20",
"node-wifi": "^2.0.14",
"qrcode.vue": "^1.7.0",
"request": "^2.88.2",
"uuid": "^8.3.1",
"vue": "^2.5.16",
"vue-electron": "^1.0.6",
"vue-i18n": "^8.22.2",
"vue-router": "^3.0.1",
"vuex": "3.0.1",
"vuex-electron": "^1.0.0",
"vuex-persist": "^3.1.3"
},
"devDependencies": {
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
"@vue/babel-preset-jsx": "^1.2.4",
"ajv": "^6.5.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-minify-webpack-plugin": "^0.3.1",
"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",
"cfonts": "^2.1.2",
"chalk": "^2.4.1",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "^5.1.6",
"css-loader": "^0.28.11",
"del": "^3.0.0",
"devtron": "^1.4.0",
"electron": "^11.0.2",
"electron-builder": "^22.9.1",
"electron-debug": "^1.5.0",
"electron-devtools-installer": "^2.2.4",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-webpack": "^0.10.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-html": "^4.0.3",
"eslint-plugin-import": "^2.12.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"less": "^3.12.2",
"less-loader": "^7.0.1",
"mini-css-extract-plugin": "0.4.0",
"multispinner": "^0.2.1",
"node-loader": "^0.6.0",
"node-sass": "^4.9.2",
"sass-loader": "^7.0.3",
"style-loader": "^0.21.0",
"url-loader": "^1.0.1",
"vue-html-loader": "^1.2.4",
"vue-loader": "^15.2.4",
"vue-style-loader": "^4.1.0",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4",
"webpack-hot-middleware": "^2.22.2",
"webpack-merge": "^4.1.3"
}
}