-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathpackage.json
55 lines (55 loc) · 1.27 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
{
"name": "js-course-2018",
"version": "1.0.0",
"description": "add some magic for JavaScript course 2018",
"repository": {
"type": "git",
"url": "git+https://github.com/MastersAcademy/js-course-2018.git"
},
"author": "smithua <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/MastersAcademy/js-course-2018/issues"
},
"homepage": "https://github.com/MastersAcademy/js-course-2018",
"main": "index.js",
"scripts": {
"test": "lint-staged",
"test-js": "eslint --config .eslintrc.js .",
"test-css": "stylelint --config .stylelintrc ./homeworks/**/*.css",
"jest": "jest"
},
"lint-staged": {
"*.js": [
"eslint --config .eslintrc.js",
"git add"
],
"*.css": [
"stylelint --config .stylelintrc",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"clearMocks": true,
"testEnvironment": "node",
"testMatch": [
"**/*.test.js"
]
},
"dependencies": {
"eslint": "^5.8.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"lint-staged": "^8.0.4",
"stylelint": "^9.7.1"
},
"devDependencies": {
"husky": "^1.1.3",
"jest": "^23.6.0"
}
}