-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 1.92 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
{
"name": "titanium_test",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"lint-staged": "lint-staged",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./dist/app.js",
"dev": "nodemon --exec babel-node ./src/app.js | pino-pretty",
"build": "babel src --out-dir dist"
},
"author": "Roman",
"license": "ISC",
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged",
"pre-push": "npm run lint-staged"
}
},
"prettier": {
"bracketSpacing": true,
"parser": "babel",
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"eslintConfig": {
"env": {
"node": true
},
"extends": [
"airbnb-base",
"plugin:prettier/recommended"
],
"plugins": [
"prettier"
],
"root": true,
"rules": {
"prettier/prettier": "error",
"no-param-reassign": [
"error",
{
"props": false
}
]
}
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"mongoose": "^5.6.12",
"multer": "^1.4.2",
"pino": "^5.6.3",
"request": "^2.88.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"eslint": "^5.6.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.3.1",
"lint-staged": "^7.3.0",
"nodemon": "^1.19.1",
"pino-pretty": "^2.2.1",
"prettier": "^1.14.3"
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix --max-warnings 0",
"git add"
]
},
"engines": {
"node": ">=8.11.2"
}
}