-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
97 lines (97 loc) · 2.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
{
"name": "electron-tiny-img",
"version": "1.0.1",
"private": true,
"author": "朱昆鹏",
"main": "main.js",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"start": "concurrently \"wait-on http://localhost:8080 && electron .\" \"cross-env BROWSER=none npm run serve\"",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"prepack": "npm run build",
"predist": "npm run build",
"commit": "git add . && git-cz"
},
"build": {
"appId": "img.zhu.electron",
"productName": "图片压缩客户端",
"copyright": "朱昆鹏",
"files": [
"build/**/*",
"node_modules/**/*",
"settings/**/*",
"package.json",
"main.js",
"electron/**/*"
],
"directories": {
"buildResources": "assets"
},
"extends": null,
"dmg": {
"background": "assets/icon/appdmg.png",
"icon": "assets/icon.icns",
"contents": [
{
"x": 380,
"y": 280,
"type": "link",
"path": "/Applications"
},
{
"x": 110,
"y": 280,
"type": "file"
}
],
"window": {
"width": 900,
"height": 500
}
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": false
}
},
"dependencies": {
"ant-design-vue": "^1.7.2",
"axios": "^0.19.2",
"cheerio": "^1.0.0-rc.5",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"css-tree": "^1.1.1",
"css2less": "^0.1.4",
"download-git-repo": "^1.1.0",
"driver.js": "^0.9.8",
"electron-is-dev": "^1.2.0",
"electron-updater": "^4.3.5",
"element-ui": "^2.13.2",
"jsdom": "^16.4.0",
"less": "^3.12.2",
"less-loader": "^7.0.1",
"request": "^2.88.2",
"vue": "^2.6.11",
"vue-router": "^3.2.0",
"xterm": "^4.9.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.5.0",
"@vue/cli-plugin-eslint": "^4.5.0",
"@vue/cli-plugin-router": "^4.5.0",
"@vue/cli-service": "^4.5.0",
"babel-eslint": "^10.1.0",
"concurrently": "^5.3.0",
"electron": "^10.4.7",
"electron-builder": "^22.8.1",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"git-cz": "^4.7.1",
"vue-template-compiler": "^2.6.11",
"wait-on": "^5.2.0"
}
}