UNPKG

2.03 kBJSONView Raw
1{
2 "name": "@sinonjs/referee-sinon",
3 "version": "10.0.0",
4 "description": "Sinon.JS assertions for referee",
5 "homepage": "https://github.com/sinonjs/referee-sinon",
6 "author": "Christian Johansen",
7 "license": "BSD-3-Clause",
8 "main": "./lib/referee-sinon",
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/sinonjs/referee-sinon"
12 },
13 "scripts": {
14 "build": "npm run build:dist-folder && npm run build:bundle",
15 "build:bundle": "esbuild lib/referee-sinon.js --bundle --outfile=dist/referee-sinon.js",
16 "build:dist-folder": "mkdirp dist",
17 "lint": "eslint .",
18 "precommit": "lint-staged",
19 "prepublishOnly": "npm run build && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
20 "test": "mocha 'lib/**/*.test.js'",
21 "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100",
22 "test-cloud": "npm run test-headless -- --wd",
23 "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test",
24 "test-headless": "mochify --recursive -R dot \"./lib/*.test.js\"",
25 "prettier:check": "prettier --check '**/*.{js,css,md}'",
26 "prettier:write": "prettier --write '**/*.{js,css,md}'",
27 "preversion": "npm run test-check-coverage",
28 "version": "changes --commits --footer",
29 "postversion": "git push --follow-tags && npm publish"
30 },
31 "lint-staged": {
32 "*.{js,css,md}": "prettier --check",
33 "*.js": "eslint"
34 },
35 "files": [
36 "dist/",
37 "docs/",
38 "lib/",
39 "!lib/**/*.test.js"
40 ],
41 "devDependencies": {
42 "@sinonjs/eslint-config": "^4.0.3",
43 "@studio/changes": "^2.2.0",
44 "esbuild": "^0.8.31",
45 "husky": "^4.2.1",
46 "lint-staged": "^10.0.7",
47 "mkdirp": "^1.0.3",
48 "mocha": "^8.4.0",
49 "mochify": "^8.0.0",
50 "nyc": "^15.0.0",
51 "prettier": "^2.1.2",
52 "rollup-plugin-commonjs": "^10.1.0"
53 },
54 "dependencies": {
55 "@sinonjs/commons": "^1.8.3",
56 "@sinonjs/referee": "^9.0.0",
57 "sinon": "^11.1.1",
58 "util": "^0.12.3"
59 }
60}