-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.36 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
{
"name": "iot-manager-broker",
"version": "0.0.1",
"scripts": {
"start": "node ./bin/www",
"dev": "nodemon ./bin/www",
"lint:js": "eslint --ext .js . --ignore-pattern \"node_modules/\"",
"fix:other": "yarn prettier --write",
"fix:js": "yarn test:js --fix",
"fix": "yarn fix:js && yarn fix:other",
"prettier": "prettier \"**/*.{json,md,scss,yaml,yml}\""
},
"dependencies": {
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"dotenv": "^8.2.0",
"ejs": "~2.6.1",
"express": "~4.16.1",
"http-errors": "~1.6.3",
"mongodb": "3.3.4",
"mongoose": "^5.7.12",
"morgan": "~1.9.1",
"mqtt": "^3.0.0",
"node-sass-middleware": "0.11.0",
"pg": "^7.12.1"
},
"devDependencies": {
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"nodemon": "^2.0.1",
"prettier": "^1.18.2",
"pretty-quick": "^2.0.1"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.{json,md,scss,yaml,yml}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}