-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.3 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
{
"name": "spy-module",
"version": "1.0.0",
"description": "Module that exports a sinon spy for testing calls to require()",
"main": "./lib/",
"author": {
"name": "Overlook Motel"
},
"repository": {
"type": "git",
"url": "https://github.com/overlookmotel/spy-module.git"
},
"bugs": {
"url": "https://github.com/overlookmotel/spy-module/issues"
},
"dependencies": {
"sinon": "^6.1.3"
},
"devDependencies": {
"chai": "^4.1.2",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"istanbul": "^0.4.5",
"jshint": "^2.9.5",
"mocha": "^5.2.0"
},
"keywords": [
"module",
"spy",
"require",
"export",
"mock"
],
"scripts": {
"test": "npm run jshint && npm run test-main",
"jshint": "jshint lib test",
"test-main": "mocha --check-leaks --colors -t 1000 -R spec \"test/**/*.test.js\"",
"cover": "npm run cover-main && rm -rf coverage",
"coveralls": "npm run cover-main && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"cover-main": "cross-env COVERAGE=true istanbul cover _mocha --report lcovonly -- -t 1000 -R spec \"test/**/*.test.js\"",
"travis": "if [ $COVERAGE ]; then npm run coveralls; else npm test; fi"
},
"engines": {
"node": ">=6"
},
"readmeFilename": "README.md",
"license": "MIT"
}