/
package.json
70 lines (70 loc) · 2.27 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
{
"build": {
"directories": {
"app": "electron",
"buildResources": "resources",
"output": "wrap/dist"
}
},
"dependencies": {
"debug": "3.1.0"
},
"devDependencies": {
"babel-core": "6.26.0",
"babel-jest": "22.4.3",
"babel-loader": "7.1.4",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"css-loader": "0.28.11",
"electron": "1.8.4",
"electron-builder": "18.6.2",
"electron-mocha": "6.0.1",
"electron-packager": "12.0.0",
"electron-winstaller": "2.5.2",
"eslint": "4.19.1",
"eslint-plugin-react": "7.7.0",
"grunt": "1.0.2",
"grunt-contrib-clean": "1.1.0",
"grunt-git": "1.0.9",
"grunt-gitinfo": "0.1.8",
"husky": "0.14.3",
"jest": "22.4.3",
"lint-staged": "7.0.3",
"load-grunt-tasks": "3.5.2",
"prettier": "1.11.1",
"style-loader": "0.20.3",
"webpack": "3.11.0"
},
"license": "LicenseRef-LICENSE",
"lint-staged": {
"*.css": [
"npm run lint:style",
"git add"
]
},
"name": "wire-desktop",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/wireapp/wire-desktop.git"
},
"scripts": {
"preinstall": "cd electron && npm install",
"prestart": "npm run bundle:dev",
"start": "electron electron --inspect --devtools --enable-logging",
"edge": "npm run prestart && electron electron --inspect --devtools --enable-logging --env=https://wire-webapp-edge.zinfra.io",
"staging": "npm run prestart && electron electron --inspect --devtools --enable-logging --env=https://wire-webapp-staging.zinfra.io",
"prod": "npm run prestart && electron electron --inspect --devtools --enable-logging --env=https://app.wire.com",
"localhost": "npm run prestart && electron electron --inspect --devtools --enable-logging --env=http://localhost:8888",
"lint": "eslint electron",
"lint:fix:style": "prettier --single-quote --print-width=120 --write '**/*.css'",
"jest": "jest",
"test": "npm run lint && npm run jest && electron-mocha tests",
"build:macos": "grunt macos-prod",
"build:win": "grunt win-prod",
"build:linux": "grunt linux-prod",
"bundle:dev": "webpack",
"bundle": "webpack --env.production"
}
}