-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 1.52 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
{
"scripts": {
"lint": "eslint collections refactor tdd",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --coverage"
},
"dependencies": {
"lodash": "^4.17.13",
"ramda": "^0.25.0"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-private-methods": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"babel-eslint": "^9.0.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^3.6.0",
"eslint-plugin-prettier": "^2.7.0",
"husky": "^1.3.1",
"jest": "^24.7.1",
"lint-staged": "^7.2.2",
"prettier": "^1.17.0"
},
"jest": {
"testMatch": [
"<rootDir>/**/*.test.js"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"verbose": false,
"collectCoverage": false
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "always"
},
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-private-methods",
"@babel/plugin-proposal-class-properties"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.js": [
"npm run lint -- --fix",
"git add"
]
},
"ignore": [
"node_modules/"
]
}
}