forked from wireapp/wire-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.48 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
{
"build": {
"directories": {
"app": "electron",
"buildResources": "resources",
"output": "wrap/dist"
}
},
"dependencies": {
"debug": "4.1.1"
},
"devDependencies": {
"@babel/core": "7.2.2",
"@babel/plugin-proposal-object-rest-spread": "7.2.0",
"@babel/preset-env": "7.2.3",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"commander": "2.19.0",
"cross-env": "5.2.0",
"css-loader": "2.1.0",
"electron": "4.0.0",
"electron-builder": "20.38.4",
"electron-mocha": "6.0.4",
"electron-packager": "13.0.1",
"electron-winstaller": "2.7.0",
"eslint": "5.11.1",
"eslint-config-prettier": "3.3.0",
"eslint-plugin-jasmine": "2.10.1",
"eslint-plugin-no-unsanitized": "3.0.2",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-react": "7.12.2",
"grunt": "1.0.3",
"grunt-contrib-clean": "2.0.0",
"grunt-git": "1.0.10",
"grunt-gitinfo": "0.1.8",
"husky": "1.3.1",
"jest": "23.6.0",
"jszip": "3.1.5",
"lint-staged": "8.1.0",
"load-grunt-tasks": "4.0.0",
"prettier": "1.15.3",
"rimraf": "2.6.3",
"sinon": "7.2.2",
"style-loader": "0.23.1",
"tslint": "5.12.0",
"tslint-config-prettier": "1.17.0",
"tslint-plugin-prettier": "2.0.1",
"typescript": "3.2.2",
"webpack": "4.28.3",
"webpack-cli": "3.2.0"
},
"license": "LicenseRef-LICENSE",
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.ts": [
"tslint --config tslint.json --project tsconfig.json --fix",
"git add"
],
"*.{json,md,css}": [
"prettier --write",
"git add"
]
},
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/wireapp/wire-desktop.git"
},
"scripts": {
"build:linux": "yarn build:ts && grunt linux-prod",
"build:macos": "yarn build:ts && grunt macos-prod",
"build:ts": "yarn clear:ts && tsc",
"build:win": "yarn build:ts && grunt win-prod",
"bundle:dev": "webpack",
"bundle": "webpack --env.production",
"clear:ts": "rimraf electron/dist",
"fix:js": "yarn lint:js --fix",
"fix:other": "yarn prettier --write",
"fix:ts": "yarn lint:ts --fix",
"fix": "yarn fix:js && yarn fix:other && yarn fix:ts",
"jest": "jest",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.jsx .",
"lint:other": "yarn prettier --list-different",
"lint:ts": "tslint --config tslint.json --project tsconfig.json \"**/*.ts\"",
"lint": "yarn lint:js && yarn lint:other && yarn lint:ts",
"postinstall": "cd electron && yarn && electron-builder install-app-deps",
"prestart": "yarn build:ts && yarn bundle:dev",
"prettier": "prettier \"**/*.{json,md,css}\"",
"start:dev": "yarn start --env=https://wire-webapp-dev.zinfra.io",
"start:edge": "yarn start --env=https://wire-webapp-edge.zinfra.io",
"start:internal": "yarn start --env=https://wire-webapp-staging.wire.com",
"start:localhost": "yarn start --env=http://localhost:8081",
"start:prod": "yarn start --env=https://app.wire.com",
"start:rc": "yarn start --env=https://wire-webapp-rc.zinfra.io",
"start": "cross-env NODE_DEBUG=wire-desktop* electron electron --inspect --devtools --enable-logging",
"test:main": "electron-mocha --reporter spec tests/main",
"test:react": "jest",
"test": "yarn lint && yarn build:ts && yarn test:react && yarn test:main"
}
}