This repository has been archived by the owner on Oct 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
164 lines (164 loc) · 6.58 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
161
162
163
164
{
"name": "cern-phone-app",
"version": "0.5.9",
"private": true,
"homepage": "./",
"author": "CERN",
"description": "CERN Phone Application to place and receive calls.",
"license": "GPL-3.0-or-later",
"main": "public/electron.js",
"repository": "https://github.com/cern-dialtone/dial-clients.git",
"scripts": {
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
"start-js": "react-scripts start",
"start-js-secure": "HTTPS=true react-scripts start",
"start": "cross-env npm-run-all -p watch-css start-js",
"start-secure": "cross-env npm-run-all -p watch-css start-js-secure",
"start-ci": "REACT_APP_ENV=ci sh -ac '. .env.ci; npm run start'",
"build-js": "cross-env react-scripts build",
"build": "cross-env npm-run-all build-css build-js",
"test": "cross-env react-scripts test",
"test-coverage": "cross-env CI=true react-scripts test --coverage",
"eject": "react-scripts eject",
"test:staged": "cross-env CI=true react-scripts test --coverage --findRelatedTests",
"electron-start": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
"electron": "electron .",
"postinstall": "electron-builder install-app-deps",
"build-react": "yarn build",
"pack-next": "REACT_APP_NEXT=true yarn build && REACT_APP_NEXT=true electron-builder --config electron-builder-conf/electron-builder-next.json build -mlw",
"pack-prod": "yarn build && electron-builder --config electron-builder-conf/electron-builder-prod.json build -mlw",
"pack-windows-prod": "yarn build && electron-builder --config electron-builder-conf/electron-builder-prod.json build -m",
"pack-mac-prod": "yarn build-react && SET_NO_SANDBOX=false NOTARIZE=false electron-builder --config electron-builder-conf/electron-builder-prod.json build -m",
"pack-win-prod": "yarn build-react && SET_NO_SANDBOX=false NOTARIZE=false electron-builder --config electron-builder-conf/electron-builder-prod.json build -w",
"pack-linux-prod": "yarn build && SET_NO_SANDBOX=true NOTARIZE=false electron-builder --config electron-builder-conf/electron-builder-prod.json build -l",
"pack-mac-prod-notarized": "yarn build-react && SET_NO_SANDBOX=false NOTARIZE=true electron-builder --config electron-builder-conf/electron-builder-prod.json build -m",
"publish-prod": "yarn build && electron-builder --config electron-builder-conf/electron-builder-prod.json build -mlw --publish always",
"publish-prod-mac": "yarn build && SET_NO_SANDBOX=false NOTARIZE=true electron-builder --config electron-builder-conf/electron-builder-prod.json build -m --publish always",
"publish-prod-linux": "yarn build && SET_NO_SANDBOX=true NOTARIZE=false electron-builder --config electron-builder-conf/electron-builder-prod.json build -l --publish always",
"publish-prod-win": "yarn build && SET_NO_SANDBOX=false NOTARIZE=false electron-builder --config electron-builder-conf/electron-builder-prod.json build -w --publish always",
"publish-next": "REACT_APP_NEXT=true yarn build && electron-builder build --config electron-builder-next.json -mlw --publish always"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"yarn run test:staged",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.js?$": "babel-jest"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/node_modules/",
"!**/modules/"
],
"transformIgnorePatterns": [
"node_modules/(?!(dial-core|tone-api-web|tone-api-mobile)/)"
]
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@sentry/browser": "^5.7.1",
"about-window": "^1.13.0",
"asar": "^2.0.1",
"auto-launch": "^5.0.5",
"build-url": "^1.1.0",
"connected-react-router": "^6.5.2",
"debug": "^3.1.0",
"detectrtc": "^1.3.5",
"dial-core": "file:./modules/core",
"electron-is-dev": "^1.1.0",
"electron-json-storage": "^4.1.6",
"electron-log": "^3.0.6",
"electron-updater": "^4.0.14",
"global": "^4.4.0",
"history": "^4.7.2",
"i18next": "^10.6.0",
"i18next-browser-languagedetector": "^2.1.0",
"i18next-node-fs-backend": "^2.1.3",
"i18next-xhr-backend": "^1.5.1",
"js-cookie": "^2.2.0",
"jwt-decode": "^2.2.0",
"keytar": "^4.11.0",
"lodash": "^4.17.11",
"moment": "^2.22.0",
"node-forge": "^0.10.0",
"prop-types": "^15.6.1",
"qs": "^6.5.1",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-i18next": "^7.5.1",
"react-notification-system": "^0.2.17",
"react-piwik": "^1.6.0",
"react-redux": "^7.1.0",
"react-router-dom": "^4.3.1",
"react-scripts": "3.2.0",
"redux": "^4.0.4",
"redux-api-middleware": "^3.0.1",
"redux-persist": "^5.9.1",
"redux-persist-transform-filter": "0.0.16",
"redux-thunk": "^2.2.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.86.0",
"tone-api-web": "file:./modules/tone-api/web",
"uid": "0.0.2",
"wait-on": "^3.2.0"
},
"resolutions": { "svgo": "1.3.0" },
"devDependencies": {
"@testing-library/jest-dom": "^4.1.2",
"@testing-library/react": "^9.2.0",
"babel-jest": "^24.9.0",
"babel-preset-react-app": "^9.0.2",
"concurrently": "^4.1.1",
"cross-env": "^5.1.5",
"devtron": "^1.4.0",
"dotenv": "^8.2.0",
"electron": "^7.2.4",
"electron-builder": "^21.2.0",
"electron-devtools-installer": "^2.2.4",
"electron-notarize": "^0.1.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-react": "^7.13.0",
"fetch-mock": "^6.4.2",
"husky": "^3.0.7",
"lint-staged": "^9.4.1",
"node-sass-chokidar": "^1.3.4",
"npm-run-all": "^4.1.2",
"prettier": "^1.14.3",
"react-dev-utils": "^9.0.1",
"react-test-renderer": "^16.3.2",
"redux-mock-store": "^1.5.1",
"system-commands": "^1.1.7",
"typescript": "^3.5.2"
}
}