UNPKG

2.39 kBJSONView Raw
1{
2 "name": "@sinonjs/referee-sinon",
3 "version": "12.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": "mkdir -p dist && npm run build:bundle",
15 "build:bundle": "esbuild lib/referee-sinon.js --bundle --outfile=dist/referee-sinon.js",
16 "lint": "eslint .",
17 "prepublishOnly": "npm run build && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
18 "test": "mocha 'lib/**/*.test.js'",
19 "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100",
20 "test-cloud": "npm run test-edge && npm run test-firefox && npm run test-safari",
21 "test-edge": "BROWSER_NAME=MicrosoftEdge mochify --config mochify.webdriver.js",
22 "test-firefox": "BROWSER_NAME=firefox mochify --config mochify.webdriver.js",
23 "test-safari": "BROWSER_NAME=safari mochify --config mochify.webdriver.js",
24 "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test",
25 "test-headless": "mochify --driver puppeteer",
26 "prepare": "husky install",
27 "prettier:check": "prettier --check '**/*.{js,css,md}'",
28 "prettier:write": "prettier --write '**/*.{js,css,md}'",
29 "preversion": "npm run test-check-coverage",
30 "version": "changes --commits --footer",
31 "postversion": "git push --follow-tags && npm publish"
32 },
33 "lint-staged": {
34 "*.{js,css,md}": "prettier --check",
35 "*.js": "eslint"
36 },
37 "mochify": {
38 "bundle": "browserify --debug",
39 "spec": "lib/**/*.test.js"
40 },
41 "files": [
42 "dist/",
43 "docs/",
44 "lib/",
45 "!lib/**/*.test.js"
46 ],
47 "devDependencies": {
48 "@mochify/cli": "^0.4.1",
49 "@mochify/driver-puppeteer": "^0.3.1",
50 "@mochify/driver-webdriver": "^0.2.1",
51 "@sinonjs/eslint-config": "^5.0.2",
52 "@studio/changes": "^3.0.0",
53 "browserify": "^17.0.0",
54 "esbuild": "^0.19.10",
55 "husky": "^8.0.3",
56 "lint-staged": "^15.2.0",
57 "mocha": "^10.2.0",
58 "nyc": "^15.1.0",
59 "prettier": "^3.1.1"
60 },
61 "dependencies": {
62 "@sinonjs/commons": "^3.0.0",
63 "@sinonjs/referee": "^11.0.0",
64 "sinon": "^17.0.1",
65 "util": "^0.12.3"
66 }
67}