80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "nise",
|
|
"version": "4.0.4",
|
|
"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 --no-detect-globals -s nise -o nise.js lib/index.js",
|
|
"lint": "eslint .",
|
|
"prepublish": "npm run bundle",
|
|
"prepublishOnly": "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"
|
|
],
|
|
"devDependencies": {
|
|
"@sinonjs/referee": "^5.0.0",
|
|
"browserify": "^16.2.3",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-prettier": "^6.9.0",
|
|
"eslint-config-sinon": "^3.0.1",
|
|
"eslint-plugin-ie11": "1.0.0",
|
|
"eslint-plugin-mocha": "^6.1.1",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"husky": "^4.2.1",
|
|
"jsdom": "^16.2.0",
|
|
"jsdom-global": "3.0.2",
|
|
"mocha": "^7.0.1",
|
|
"mochify": "^6.6.0",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^1.19.1",
|
|
"proxyquire": "^2.1.3",
|
|
"proxyquire-universal": "^2.1.0",
|
|
"proxyquireify": "^3.2.1",
|
|
"sinon": "^9.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@sinonjs/commons": "^1.7.0",
|
|
"@sinonjs/fake-timers": "^6.0.0",
|
|
"@sinonjs/text-encoding": "^0.7.1",
|
|
"just-extend": "^4.0.2",
|
|
"path-to-regexp": "^1.7.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint -- --fix && npm run test",
|
|
"pre-push": "npm run lint && npm run test"
|
|
}
|
|
}
|
|
}
|