mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 09:10:07 +08:00
82 lines
2.1 KiB
JSON
82 lines
2.1 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|