Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.65 KB
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
{
"name": "sinon-test",
"version": "4.0.0",
"description": "",
"main": "lib/index.js",
"browser": "dist/sinon-test.js",
"module": "dist/sinon-test-es.js",
"scripts": {
"build": "run-s build:dist-folder build:bundle",
"build:bundle": "rollup -c",
"build:dist-folder": "mkdirp dist",
"test": "mocha",
"test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test",
"//integration-test": "This cannot run as a prepare step, as it will trigger a loop",
"integration-test": "test-repos/do-test.sh",
"lint": "eslint .",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"prepare": "run-p test lint build",
"preversion": "npm run integration-test && ./scripts/preversion.sh"
},
"greenkeeper": {
"ignore": [
"rollup"
]
},
"author": "Christian Johansen",
"repository": {
"type": "git",
"url": "http://github.com/sinonjs/sinon-test.git"
},
"files": [
"dist/",
"lib/"
],
"license": "BSD-3-Clause",
"devDependencies": {
"@sinonjs/eslint-config": "^8.0.0",
"@sinonjs/referee": "^9.1.1",
"eslint": "^10.15.0",
"husky": "^4.3.8",
"lint-staged": "^17.6.1",
"mkdirp": "^1.0.4",
"mocha": "^12.0.3",
"npm-run-all": "^4.1.5",
"nyc": "^18.0.0",
"prettier": "^2.7.1",
"rollup": "^2.77.2",
"rollup-plugin-commonjs": "^10.1.0",
"sinon": "^22.1.0"
},
"peerDependencies": {
"sinon": ">=20"
},
"lint-staged": {
"*.{js,css,md}": "prettier --check",
"*.js": "eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}