-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
73 lines (73 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
{
"name": "@sinonjs/referee",
"version": "11.0.1",
"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": "npm run build:dist-folder && npm run build:bundle",
"build:bundle": "esbuild lib/referee.js --bundle --outfile=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",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"preversion": "npm run test-check-coverage",
"version": "changes --commits --footer",
"postversion": "git push --follow-tags && npm publish",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,css,md}": "prettier --check",
"*.js": "eslint --quiet"
},
"dependencies": {
"@sinonjs/commons": "^3.0.0",
"@sinonjs/samsam": "^8.0.0",
"event-emitter": "^0.3.5",
"lodash.isarguments": "^3.1.0",
"util": "^0.12.5"
},
"nyc": {
"exclude": [
"rollup.config.js",
"coverage/**",
"site/**",
"dist/**",
"**/*.test.js",
"lib/test-helper/**"
]
},
"files": [
"dist/",
"docs/",
"lib/",
"!lib/test-helper/**",
"!lib/**/*.test.js"
],
"devDependencies": {
"@sinonjs/eslint-config": "^5.0.1",
"@studio/changes": "^2.2.0",
"esbuild": "^0.19.10",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"mkdirp": "^3.0.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.1",
"proxyquire": "^2.1.3",
"sinon": "^17.0.1"
},
"cdn": "./dist/referee.js",
"jsdelivr": "./dist/referee.js"
}