forked from trazyn/weweChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 4.83 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
{
"name": "wewechat",
"version": "1.0.0",
"description": "Unofficial WeChat client built with React, MobX and Electron.",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"js-lint": "node node_modules/.bin/eslint .",
"css-lint": "stylelint --fix src/**/*.css",
"lint": "npm run css-lint && npm run js-lint",
"build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config ./config/webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config ./config/webpack.config.production.js --progress --profile --colors",
"build": "rm -rf dist && npm run build-main && npm run build-renderer",
"package-win": "npm run build && rm -rf release && build --win --projectDir ./dist",
"package-win32": "npm run build && rm -rf release && build --win --ia32 --projectDir ./dist",
"package-linux": "npm run build && rm -rf release && build --linux --projectDir ./dist",
"package-mac": "npm run build && rm -rf release && build --mac --projectDir ./dist",
"hot-server": "cross-env NODE_ENV=development node -r babel-register scripts/dev.js",
"start-hot": "cross-env HOT=1 NODE_ENV=development ./node_modules/.bin/electron -r babel-register -r babel-polyfill ./main",
"dev": "concurrently --kill-others \"npm run hot-server\" \"npm run start-hot\""
},
"author": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/trazyn/weweChat.git"
},
"license": "MIT",
"build": {
"productName": "wewechat",
"appId": "gh.trazyn.wewechat",
"compression": "maximum",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"title": "wewechat ${version}"
},
"mac": {
"icon": "../resource/icon.icns"
},
"linux": {
"icon": "../resource",
"category": "Chat"
},
"win": {
"target": "nsis"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"artifactName": "${productName}-${version}-${os}-${arch}-setup.${ext}",
"deleteAppDataOnUninstall": true
},
"directories": {
"output": "../release"
}
},
"dependencies": {
"@exponent/electron-cookies": "^2.0.0",
"auto-launch": "^5.0.1",
"axios": "^0.16.2",
"classname": "^0.0.0",
"delegate": "^3.1.3",
"electron-context-menu": "^0.9.1",
"electron-json-storage": "^3.0.6",
"electron-window-state": "^4.1.1",
"han": "^0.0.7",
"mobx": "^3.1.16",
"mobx-react": "^4.2.1",
"moment": "^2.18.1",
"node-notifier": "^5.1.2",
"play-sound": "^1.1.1",
"randomcolor": "^0.5.3",
"react": "^15.6.1",
"react-addons-css-transition-group": "^15.6.0",
"react-dom": "^15.6.1",
"react-router": "2.8.1",
"tmp": "0.0.33"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
"babel-minify-webpack-plugin": "^0.2.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-react-css-modules": "^3.0.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"concurrently": "^3.5.0",
"copy-webpack-plugin": "^4.0.1",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"electron": "^1.6.11",
"electron-builder": "^19.24.1",
"eslint": "^4.1.1",
"eslint-loader": "^1.9.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-react": "^5.0.0",
"eslint-formatter-pretty": "^1.1.0",
"eslint-plugin-import": "^2.6.1",
"eslint-plugin-node": "^5.1.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-standard": "^3.0.1",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"html-webpack-plugin": "^2.30.1",
"json-loader": "^0.5.4",
"postcss-autoreset": "^2.0.0",
"postcss-cssnext": "^2.11.0",
"postcss-import": "^10.0.0",
"postcss-loader": "^2.0.6",
"postcss-modules": "^0.8.0",
"style-loader": "^0.18.2",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0",
"url-loader": "^0.5.9",
"webpack": "^3.0.0",
"webpack-dev-middleware": "^1.11.0",
"webpack-hot-middleware": "^2.18.0"
}
}