forked from nashaofu/dingtalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 4.36 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "dingtalk",
"version": "2.0.13",
"description": "钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS",
"author": "nashaofu <[email protected]>",
"main": "dist/main.js",
"scripts": {
"start": "electron .",
"lint": "eslint --ext .js,.vue src",
"dev": "node build/webpack.dev.conf.js",
"dev:main": "webpack --config build/main/webpack.dev.conf.js",
"dev:preload": "webpack --config build/preload/webpack.dev.conf.js",
"dev:renderer": "webpack-dev-server --config build/renderer/webpack.dev.conf.js",
"build": "webpack --config build/webpack.prod.conf.js",
"build:main": "webpack --config build/main/webpack.prod.conf.js",
"build:preload": "webpack --config build/preload/webpack.prod.conf.js",
"build:renderer": "webpack --config build/renderer/webpack.prod.conf.js",
"pack": "electron-builder",
"release": "electron-builder"
},
"keywords": [
"dingtalk",
"钉钉",
"linux",
"macOS",
"Windows"
],
"dependencies": {
"axios": "^0.18.0",
"electron-store": "^2.0.0",
"electron-updater": "3.2.3",
"lodash": "^4.17.11",
"normalize.css": "^8.0.1",
"shortcut-capture": "^1.1.3",
"vue": "^2.6.7"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.1",
"@babel/runtime": "^7.3.4",
"autoprefixer": "^9.4.8",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"css-loader": "^2.1.0",
"electron": "^2.0.17",
"electron-builder": "<=20.34.0",
"electron-debug": "^2.1.0",
"electron-dev-webpack-plugin": "^1.0.0",
"electron-devtools-installer": "^2.2.4",
"eslint": "^5.14.1",
"eslint-config-standard": "^12.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.2.2",
"file-loader": "^3.0.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.5.0",
"postcss-loader": "^3.0.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"url-loader": "^1.1.2",
"vue-loader": "^15.6.4",
"vue-template-compiler": "^2.6.7",
"webpack": "^4.29.5",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.0",
"webpack-merge": "^4.2.1"
},
"build": {
"appId": "com.electron.dingtalk",
"productName": "钉钉",
"copyright": "Copyright © year nashaofu",
"asar": true,
"directories": {
"buildResources": "resources/icons",
"output": "release"
},
"files": [
"dist/**/*",
"resources/tray/*",
"resources/logo.png"
],
"publish": {
"provider": "github",
"owner": "nashaofu",
"repo": "dingtalk"
},
"mac": {
"target": "dmg",
"icon": "./resources/icons/icon.icns",
"category": "public.app-category.instant-messaging"
},
"win": {
"icon": "./resources/icons/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64",
"ia32"
]
},
{
"target": "deb",
"arch": [
"x64",
"ia32"
]
},
{
"target": "rpm",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "./resources/icons",
"category": "InstantMessaging;Network"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"artifactName": "dingtalk-${version}.${ext}",
"allowToChangeInstallationDirectory": true,
"displayLanguageSelector": true,
"language": 2052
}
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nashaofu/dingtalk.git"
},
"bugs": {
"url": "https://github.com/nashaofu/dingtalk/issues"
},
"homepage": "https://github.com/nashaofu/dingtalk#readme"
}