-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
109 lines (109 loc) · 2.88 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
{
"name": "@demian85/home-server",
"version": "2.0.1",
"description": "Smart Home server",
"main": "src/index.js",
"engines": {
"node": "12.x"
},
"repository": {
"type": "git",
"url": "https://github.com/demian85/home-server.git"
},
"scripts": {
"postinstall": "npm run build",
"build": "webpack -p --progress --env.production",
"start": "node src/index.js",
"dev-client": "webpack -d --progress --watch --env.development",
"dev-server": "nodemon src/index.js",
"dev": "concurrently -k -c 'green,magenta' 'npm:dev-client' 'npm:dev-server | pino-pretty'",
"lint": "eslint ./src",
"format": "prettier --write './src/**/*.{js,jsx,ts,tsx}'",
"test": "jest --forceExit",
"init:config": "node src/server/init.js"
},
"keywords": [
"sonoff",
"smart",
"home",
"mqtt",
"server",
"esp8266",
"wemos",
"domotics",
"automation",
"shelly"
],
"author": "Demian Rodriguez",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"express": "^4.17.1",
"express-basic-auth": "^1.2.0",
"feels": "^3.0.0",
"hbs": "^4.1.1",
"lodash": "^4.17.20",
"luxon": "^1.25.0",
"mqtt": "^4.2.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-json-pretty": "^2.2.0",
"react-router": "^4.3.1",
"react-router-dom": "^4.2.2",
"redis": "^2.8.0",
"request": "^2.88.2",
"solar-calc": "^1.1.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^4.3.5",
"@types/redis": "^2.8.27",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"concurrently": "^5.3.0",
"copy-webpack-plugin": "^5.1.2",
"core-js": "^3.6.5",
"css-loader": "^4.3.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.3.0",
"mini-css-extract-plugin": "^0.9.0",
"nodemon": "^2.0.4",
"pino-pretty": "^4.2.1",
"prettier": "^2.1.1",
"style-loader": "^1.2.1",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"src/**/*.{js}": "eslint --cache --fix",
"*.{js,jsx,json,css,md}": "prettier --write"
}
}