forked from lndgalante/codewars-katas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.45 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
{
"license": "MIT",
"name": "codewars-katas",
"description": "Codewars katas ark",
"author": {
"name": "Leonardo Galante",
"email": "[email protected]"
},
"dependencies": {
"lodash": "^4.17.21",
"moment": "^2.29.1",
"ramda": "^0.27.1"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.170",
"@types/moment": "^2.13.0",
"@types/ramda": "^0.27.42",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.6",
"husky": "^4.2.5",
"jest": "^27.0.6",
"jest-extended": "^0.11.5",
"prettier": "^2.3.2",
"xo": "0.32.1"
},
"scripts": {
"lint": "xo",
"test": "jest",
"test-watch": "jest -o --watch",
"update-index": "node ./lib/index/index-generator.js",
"install-generator-deps": "cd ./lib/katas && npm install",
"create-kata": "node --no-warnings ./lib/katas/kata-generator.js --link"
},
"xo": {
"esnext": true,
"extends": [
"prettier",
"plugin:jest/recommended"
],
"ignores": [
"lib"
],
"rules": {
"jest/valid-title": 0,
"unicorn/no-reduce": 0,
"padding-line-between-statements": 0,
"unicorn/prefer-number-properties": 0,
"unicorn/no-fn-reference-in-iterator": 0
}
},
"jest": {
"testEnvironment": "node",
"setupFilesAfterEnv": [
"jest-extended"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test"
}
}
}