forked from sinonjs/fake-timers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.21 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
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@sinonjs/fake-timers",
"description": "Fake JavaScript timers",
"version": "7.0.2",
"homepage": "http://github.com/sinonjs/fake-timers",
"author": "Christian Johansen",
"repository": {
"type": "git",
"url": "http://github.com/sinonjs/fake-timers.git"
},
"bugs": {
"mail": "[email protected]",
"url": "http://github.com/sinonjs/fake-timers/issues"
},
"license": "BSD-3-Clause",
"scripts": {
"build": "rm -rf types && tsc",
"lint": "eslint .",
"test-node": "mocha test/ integration-test/ -R dot --check-leaks",
"test-headless": "mochify --no-detect-globals --timeout=10000",
"test-check-coverage": "npm run test-coverage && nyc check-coverage",
"test-cloud": "mochify --wd --no-detect-globals --timeout=10000",
"test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node",
"test": "npm run test-node && npm run test-headless",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"prepublishOnly": "npm run build",
"preversion": "./scripts/preversion.sh",
"version": "./scripts/version.sh",
"postversion": "./scripts/postversion.sh"
},
"lint-staged": {
"*.{js,css,md}": "prettier --check",
"*.js": "eslint"
},
"files": [
"src/",
"types"
],
"devDependencies": {
"@sinonjs/referee-sinon": "6.0.1",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-config-sinon": "3.0.1",
"eslint-plugin-ie11": "1.0.0",
"eslint-plugin-mocha": "6.2.2",
"eslint-plugin-prettier": "3.1.1",
"husky": "4.2.1",
"jsdom": "15.1.1",
"lint-staged": "10.0.7",
"mocha": "7.0.1",
"mochify": "6.6.0",
"nyc": "14.1.1",
"prettier": "2.2.1",
"typescript": "4.1.3"
},
"main": "./src/fake-timers-src.js",
"types": "./types/fake-timers-src.d.ts",
"dependencies": {
"@sinonjs/commons": "^1.7.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"nyc": {
"branches": 85,
"lines": 92,
"functions": 92,
"statements": 92,
"exclude": [
"**/*-test.js",
"coverage/**",
"types/**",
"fake-timers.js"
]
}
}