-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
81 lines (81 loc) · 2.06 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
{
"name": "nise",
"version": "6.1.1",
"description": "Fake XHR and server",
"keywords": [
"test",
"testing",
"fake",
"mock",
"xhr",
"server"
],
"repository": {
"type": "git",
"url": "http://github.com/sinonjs/nise.git"
},
"main": "lib/index.js",
"module": "nise.js",
"scripts": {
"bundle": "browserify -x timers -x timers/promises --no-detect-globals -s nise -o nise.js lib/index.js",
"lint": "eslint --max-warnings 35 .",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"prepare": "npm run bundle",
"prepublishOnly": "git pull && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
"test": "mocha lib/**/*.test.js",
"test:coverage": "nyc --reporter=lcov --reporter=text --all npm test -- --reporter dot",
"test:headless": "mochify --https-server --plugin [ proxyquire-universal ] --no-detect-globals test/global-hack.js lib/**/*.test.js"
},
"browser": {
"jsdom": false,
"jsdom-global": false
},
"author": "",
"license": "BSD-3-Clause",
"nyc": {
"exclude": [
"nise.js",
"coverage/**",
"**/*.test.js"
]
},
"files": [
"nise.js",
"lib/**/*.js",
"!lib/**/*.test.js"
],
"devDependencies": {
"@sinonjs/eslint-config": "^5.0.3",
"@sinonjs/referee": "^11.0.1",
"browserify": "^16.5.2",
"husky": "^4.3.8",
"jsdom": "^25",
"jsdom-global": "3.0.2",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"mochify": "^9.2.0",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"proxyquire": "^2.1.3",
"proxyquire-universal": "^3.0.1",
"proxyquireify": "^3.2.1",
"sinon": ">=18"
},
"dependencies": {
"@sinonjs/commons": "^3.0.1",
"@sinonjs/fake-timers": "^13.0.1",
"@sinonjs/text-encoding": "^0.7.3",
"just-extend": "^6.2.0",
"path-to-regexp": "^8.1.0"
},
"lint-staged": {
"*.{js,css,md}": "prettier --check",
"*.js": "eslint --quiet"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}