-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 997 Bytes
/
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
{
"private": true,
"name": "js-task-03",
"version": "1.0.0",
"description": "Задача №3 «0b11 друзей Аркадия»",
"scripts": {
"start": "node src/index",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint \"**/*.js\"",
"lint-fix": "eslint --fix \"**/*.js\"",
"format": "prettier --write \"**/*.{js,json,md}\""
},
"devDependencies": {
"@types/jest": "24.0.18",
"@yandex-lms-ext/eslint-config-base": "1.1.1",
"@yandex-lms-ext/prettier-config": "1.0.2",
"eslint": "6.5.1",
"husky": "3.0.8",
"jest": "24.9.0",
"lint-staged": "9.4.2",
"npm-run-all": "4.1.5",
"prettier": "1.18.2"
},
"husky": {
"hooks": {
"pre-push": "npm-run-all lint test",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,md}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
}