forked from davesag/sequelize-test-helpers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.69 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "sequelize-test-helpers",
"version": "1.1.1",
"description": "A collection of utilities to help with unit-testing sequelize models",
"author": "Dave Sag <[email protected]>",
"license": "MIT",
"main": "src/index.js",
"engines": {
"node": ">= 8.10.0"
},
"files": [
"/package*.json",
"/CONTRIBUTING.md",
"/src",
"/logo/horizontal.svg"
],
"scripts": {
"eslint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"lint": "eslint .",
"prettier": "prettier --write '**/*.{js,json,md}'",
"test": "npm run test:unit",
"test:unit": "NODE_ENV=test mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"test:unit:cov": "NODE_ENV=test nyc mocha ./test/unit/ --require ./test/unitTestHelper.js --recursive",
"test:mutants": "NODE_ENV=test npx stryker run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davesag/sequelize-test-helpers.git"
},
"bugs": {
"url": "https://github.com/davesag/sequelize-test-helpers/issues"
},
"homepage": "https://github.com/davesag/sequelize-test-helpers#readme",
"keywords": [
"sequelize",
"mock",
"mocking",
"unit-testing",
"mocha",
"sinon",
"chai"
],
"devDependencies": {
"@stryker-mutator/core": "^2.0.0",
"@stryker-mutator/javascript-mutator": "^2.0.0",
"@stryker-mutator/mocha-framework": "^2.0.0",
"@stryker-mutator/mocha-runner": "^2.0.0",
"ajv": "^6.10.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"prettier": "^1.17.1",
"proxyquire": "^2.1.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0"
},
"peerDependencies": {
"chai": ">= 4",
"sinon": ">= 5"
},
"prettier": {
"semi": false,
"singleQuote": true,
"proseWrap": "never"
},
"lint-staged": {
"**/*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"src/**/*.js"
],
"exclude": [
"index.js"
],
"reporter": [
"lcov",
"text"
],
"all": true,
"cache": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}