UNPKG

sinon

Version:

JavaScript test spies, stubs and mocks.

88 lines (87 loc) 3.07 kB
{ "name": "sinon", "description": "JavaScript test spies, stubs and mocks.", "version": "5.0.6", "homepage": "http://sinonjs.org/", "author": "Christian Johansen", "repository": { "type": "git", "url": "http://github.com/sinonjs/sinon.git" }, "bugs": { "mail": "christian@cjohansen.no", "url": "http://github.com/sinonjs/sinon/issues" }, "license": "BSD-3-Clause", "scripts": { "test-node": "mocha --recursive -R dot test/", "test-dev": "npm run test-node -- --watch -R min", "test-headless": "mochify --recursive -R dot --grep WebWorker --invert --plugin [ proxyquire-universal ] test/**.js", "test-coverage": "mochify --recursive -R dot --grep WebWorker --invert --plugin [ proxyquire-universal ] --plugin [ mochify-istanbul --exclude '**/test/**' --report text --report lcovonly --dir ./coverage ] test/**.js", "test-cloud": "npm run test-headless -- --wd", "test-webworker": "mochify --https-server 8080 test/webworker/webworker-support-assessment.js", "test-es-module": "mocha -r @std/esm test/es2015/module-support-assessment-test.mjs", "test": "run-s test-node test-headless test-webworker test-es-module", "check-dependencies": "dependency-check package.json --unused --no-dev --ignore-module coveralls --ignore-module @std/esm", "build": "node ./build.js", "lint": "run-p lint-js lint-markdown", "lint-js": "eslint '**/*.{js,mjs}'", "lint-markdown": "find docs -type f -name '*.md' ! -name 'changelog.md' | xargs markdownlint", "precommit": "lint-staged", "pretest-webworker": "npm run build", "prebuild": "rimraf pkg && npm run check-dependencies", "prepublishOnly": "npm run build", "preversion": "./scripts/preversion.sh", "postversion": "./scripts/postversion.sh" }, "lint-staged": { "*.js": "eslint", "*.mjs": "eslint --ext mjs --parser-options=sourceType:module", "docs/**/*.md": "markdownlint" }, "dependencies": { "@sinonjs/formatio": "^2.0.0", "diff": "^3.1.0", "lodash.get": "^4.4.2", "lolex": "^2.2.0", "nise": "^1.2.0", "supports-color": "^5.1.0", "type-detect": "^4.0.5" }, "devDependencies": { "@sinonjs/referee": "^2.0.0", "@std/esm": "0.25.2", "browserify": "^15.1.0", "dependency-check": "^2.9.1", "eslint": "^4.6.1", "eslint-config-sinon": "^1.0.0", "eslint-plugin-ie11": "^1.0.0", "eslint-plugin-mocha": "^4.2.0", "husky": "^0.14.2", "lint-staged": "^6.0.0", "markdownlint-cli": "^0.6.0", "mocha": "^4.0.0", "mochify": "^5.1.0", "mochify-istanbul": "^2.4.1", "native-promise-only": "^0.8.1", "npm-run-all": "^4.0.2", "proxyquire": "^1.8.0", "proxyquire-universal": "^1.0.8", "proxyquireify": "^3.2.1", "rimraf": "^2.5.3", "samsam": "^1.1.3" }, "files": [ "lib", "pkg", "scripts/support-sinon.js", "AUTHORS", "CONTRIBUTING.md", "History.md", "LICENSE", "README.md" ], "main": "./lib/sinon.js", "cdn": "./pkg/sinon.js", "jsdelivr": "./pkg/sinon.js" }