-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
76 lines (76 loc) · 2.22 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
{
"name": "@sinonjs/referee",
"version": "3.2.0",
"description": "Assertions for any JavaScript test framework and environment",
"author": "Christian Johansen",
"license": "BSD-3-Clause",
"main": "./lib/referee",
"repository": {
"type": "git",
"url": "https://github.com/sinonjs/referee"
},
"scripts": {
"build": "run-s build:dist-folder build:bundle",
"build:bundle": "rollup -c > dist/referee.js",
"build:dist-folder": "mkdirp dist",
"lint": "eslint .",
"precommit": "lint-staged && npm run test-check-coverage",
"prepublishOnly": "npm run build && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
"test": "TZ=UTC mocha --reporter dot 'lib/**/*.test.js'",
"test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100",
"test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test",
"demo": "mocha demo/*.test.js",
"preversion": "npm run test-check-coverage",
"version": "changes --commits --footer",
"postversion": "git push --follow-tags && npm publish"
},
"lint-staged": {
"*.js": "eslint"
},
"dependencies": {
"@sinonjs/commons": "^1.4.0",
"@sinonjs/formatio": "^4.0.1",
"@sinonjs/samsam": "^4.2.0",
"array-from": "2.1.1",
"bane": "^1.x",
"lodash.includes": "^4.3.0",
"lodash.isarguments": "^3.1.0",
"object-assign": "^4.1.1"
},
"nyc": {
"exclude": [
"rollup.config.js",
"coverage/**",
"site/**",
"dist/**",
"**/*.test.js",
"lib/test-helper/**"
]
},
"files": [
"dist/",
"docs/",
"lib/",
"!lib/test-helper/**",
"!lib/**/*.test.js"
],
"devDependencies": {
"@studio/changes": "^2.0.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-sinon": "^3.0.1",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-mocha": "^6.1.1",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.4",
"lint-staged": "^9.4.0",
"mkdirp": "^0.5.1",
"mocha": "^6.2.1",
"npm-run-all": "^4.1.3",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"rollup": "^1.23.0",
"rollup-plugin-commonjs": "^10.1.0",
"sinon": "^7.1.0"
}
}