-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
67 lines (67 loc) · 2.33 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "@sinonjs/referee-sinon",
"version": "12.0.0",
"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": "mkdir -p dist && npm run build:bundle",
"build:bundle": "esbuild lib/referee-sinon.js --bundle --outfile=dist/referee-sinon.js",
"lint": "eslint .",
"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-edge && npm run test-firefox && npm run test-safari",
"test-edge": "BROWSER_NAME=MicrosoftEdge mochify --config mochify.webdriver.js",
"test-firefox": "BROWSER_NAME=firefox mochify --config mochify.webdriver.js",
"test-safari": "BROWSER_NAME=safari mochify --config mochify.webdriver.js",
"test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test",
"test-headless": "mochify --driver puppeteer",
"prepare": "husky install",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"preversion": "npm run test-check-coverage",
"version": "changes --commits --footer",
"postversion": "git push --follow-tags && npm publish"
},
"lint-staged": {
"*.{js,css,md}": "prettier --check",
"*.js": "eslint"
},
"mochify": {
"bundle": "browserify --debug",
"spec": "lib/**/*.test.js"
},
"files": [
"dist/",
"docs/",
"lib/",
"!lib/**/*.test.js"
],
"devDependencies": {
"@mochify/cli": "^0.4.1",
"@mochify/driver-puppeteer": "^0.3.1",
"@mochify/driver-webdriver": "^0.2.1",
"@sinonjs/eslint-config": "^5.0.2",
"@studio/changes": "^3.0.0",
"browserify": "^17.0.0",
"esbuild": "^0.19.10",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.1"
},
"dependencies": {
"@sinonjs/commons": "^3.0.0",
"@sinonjs/referee": "^11.0.0",
"sinon": "^17.0.1",
"util": "^0.12.3"
}
}