-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
101 lines (101 loc) · 2.76 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
{
"name": "nsp-reporter-mocha",
"version": "1.0.1",
"description": "Mocha-compatible reporter for the Node Security Project",
"main": "dist/reporter.js",
"engines": {
"node": ">=6.0"
},
"scripts": {
"lint": "eslint src --ext .js",
"test": "nyc mocha --require babel-register --reporter spec test/**/*.test.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"test:mocha": "mocha --require babel-register --reporter spec test/**/*.test.js",
"test:watch": "mocha --require babel-register --reporter min test/**/*.test.js --watch",
"mocha": "mocha --require babel-register",
"nyc": "nyc",
"eslint": "eslint",
"nsp": "nsp check",
"prepare-compile": "rimraf dist/ && mkdir -p dist/",
"compile": "babel --no-comments --out-dir dist/ src/",
"prepublishOnly": "npm run lint && npm run nsp && npm run prepare-compile && npm run compile"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kellerj/nsp-reporter-mocha.git"
},
"keywords": [
"nsp",
"reporter",
"mocha"
],
"author": {
"name": "Jonathan Keller",
"email": "[email protected]"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/kellerj/nsp-reporter-mocha/issues"
},
"files": [
"dist"
],
"homepage": "https://github.com/kellerj/nsp-reporter-mocha#README.md",
"dependencies": {},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"eslint": "^4.10.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"mocha": "^4.0.1",
"nyc": "^11.3.0",
"rimraf": "^2.6.1",
"sinon": "^4.1.2"
},
"peerDependencies": {
"nsp": "^3.1.0"
},
"nyc": {
"exclude": [
"dist/**",
"coverage/**",
"test/**"
],
"check-coverage": false,
"lines": 90,
"statements": 90,
"functions": 100,
"branches": 75,
"reporter": [
"lcov",
"text-summary",
"text",
"html"
],
"watermarks": {
"lines": [
75,
90
],
"functions": [
90,
100
],
"branches": [
50,
75
],
"statements": [
75,
90
]
},
"cache": true,
"all": true,
"report-dir": "./coverage"
}
}