UNPKG

@sinonjs/referee-sinon

Version:
64 lines (63 loc) 2.03 kB
{ "name": "@sinonjs/referee-sinon", "version": "7.0.2", "description": "Sinon.JS assertions for referee", "homepage": "https://github.com/sinonjs/referee-sinon", "author": "Christian Johansen", "license": "BSD-3-Clause", "main": "./lib/referee-sinon", "repository": { "type": "git", "url": "https://github.com/sinonjs/referee-sinon" }, "scripts": { "build": "run-s build:dist-folder build:bundle", "build:bundle": "rollup -c > dist/referee-sinon.js", "build:dist-folder": "mkdirp dist", "lint": "eslint .", "precommit": "lint-staged", "prepublishOnly": "npm run build && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin", "test": "mocha 'lib/**/*.test.js'", "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100", "test-cloud": "npm run test-headless -- --wd", "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test", "test-headless": "mochify --recursive -R dot \"./lib/*.test.js\"", "preversion": "npm run test-check-coverage", "version": "changes --commits --footer", "postversion": "git push --follow-tags && npm publish" }, "lint-staged": { "*.js": "eslint" }, "files": [ "dist/", "docs/", "lib/", "!lib/**/*.test.js" ], "devDependencies": { "@studio/changes": "^2.0.0", "eslint": "^6.5.1", "eslint-config-prettier": "^6.3.0", "eslint-config-sinon": "^3.0.1", "eslint-plugin-ie11": "^1.0.0", "eslint-plugin-mocha": "^6.1.1", "eslint-plugin-prettier": "^3.1.1", "husky": "^4.2.1", "lint-staged": "^10.0.7", "mkdirp": "^1.0.3", "mocha": "^7.0.1", "mochify": "^6.6.0", "npm-run-all": "^4.1.2", "nyc": "^15.0.0", "prettier": "^1.18.2", "rollup": "^1.23.1", "rollup-plugin-commonjs": "^10.1.0" }, "dependencies": { "@sinonjs/commons": "^1.7.0", "@sinonjs/formatio": "^5.0.1", "@sinonjs/referee": "^5.0.0", "sinon": "^9.0.0" } }