-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
56 lines (56 loc) · 1.58 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
{
"name": "fruits",
"version": "1.0.0",
"description": "Fruit basket price Kata",
"homepage": "https://github.com/doppelganger9/fruit-basket#readme",
"bugs": "https://github.com/doppelganger9/fruit-basket/issues",
"repository": "github:doppelganger9/fruit-basket",
"main": "src/main.js",
"scripts": {
"test": "jest --testPathIgnorePatterns=\".stryker-tmp\"",
"start": "node src/main.js",
"test:watch": "jest --watch --testPathIgnorePatterns=\".stryker-tmp\"",
"prettier:write": "prettier *.js src/**/*.js --write",
"prettier:check": "prettier *.js src/**/*.js --check",
"coveralls": "jest --testPathIgnorePatterns=\".stryker-tmp\" --coverage && cat ./coverage/lcov.info | coveralls",
"test:mutate": "stryker run",
"test:vulnerabilities": "npm audit && snyk test"
},
"keywords": [
"kata",
"nodeJS",
"TDD"
],
"author": "David LACOURT <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.0.0"
},
"devDependencies": {
"@stryker-mutator/core": "5.6.1",
"@stryker-mutator/jest-runner": "5.6.1",
"coveralls": "3.1.1",
"husky": "8.0.3",
"jest": "27.5.1",
"prettier": "2.8.8",
"snyk": "1.1295.2"
},
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run prettier:check",
"pre-push": "npm run test:mutate && npm run test:vulnerabilities"
}
}
}