-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 1.82 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
{
"name": "client",
"version": "0.1.0",
"private": true,
"main": "electron-index.js",
"dependencies": {
"@ionic/core": "^4.5.0",
"@ionic/react": "^0.0.6-3",
"bootstrap": "^4.3.1",
"bootstrap-slider": "^10.6.1",
"bootswatch": "^4.3.1",
"bowser": "^2.4.0",
"jquery": "^3.3.1",
"mqtt": "^2.18.8",
"react": "^16.8.6",
"react-app-rewired": "^2.1.3",
"react-bootstrap": "^1.0.0-beta.8",
"react-bootstrap-slider": "^2.2.2",
"react-bootstrap-toggle": "^2.3.2",
"react-color": "^2.17.3",
"react-dock": "^0.2.4",
"react-dom": "^16.8.6",
"react-icons": "^3.7.0",
"react-nest-thermostat": "^1.0.8",
"react-popper": "^1.3.3",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-scripts": "^3.0.1"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"electron": "electron .",
"autoformat": "lint-staged"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:prettier/recommended",
"prettier/babel",
"prettier/react"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run autoformat"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx},!src/models": [
"eslint --fix",
"git add"
],
"src/**/*.{json,scss,sass,less}": [
"prettier --write",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"electron": "^5.0.2",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-prettier": "^3.1.0",
"hard-source-webpack-plugin": "^0.13.1",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"prettier": "^1.17.1",
"workbox-webpack-plugin": "^4.3.1"
}
}