forked from sinonjs/fake-timers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.38 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "lolex",
"description": "Fake JavaScript timers",
"version": "5.1.1",
"homepage": "http://github.com/sinonjs/lolex",
"author": "Christian Johansen",
"repository": {
"type": "git",
"url": "http://github.com/sinonjs/lolex.git"
},
"bugs": {
"mail": "christian@cjohansen.no",
"url": "http://github.com/sinonjs/lolex/issues"
},
"license": "BSD-3-Clause",
"scripts": {
"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 lint && npm run test-node && npm run test-headless",
"bundle": "browserify --no-detect-globals -s lolex -o lolex.js src/lolex-src.js",
"prepublishOnly": "npm run bundle",
"preversion": "./scripts/preversion.sh",
"version": "./scripts/version.sh",
"postversion": "./scripts/postversion.sh"
},
"lint-staged": {
"*.js": "eslint"
},
"files": [
"src/",
"lolex.js"
],
"devDependencies": {
"@sinonjs/referee-sinon": "5.0.0",
"browserify": "16.5.0",
"eslint": "6.5.1",
"eslint-config-prettier": "6.4.0",
"eslint-config-sinon": "3.0.1",
"eslint-plugin-ie11": "1.0.0",
"eslint-plugin-mocha": "6.1.1",
"eslint-plugin-prettier": "3.1.1",
"husky": "3.0.8",
"jsdom": "15.1.1",
"lint-staged": "9.4.1",
"mocha": "6.2.1",
"mochify": "6.6.0",
"npm-run-all": "4.1.5",
"nyc": "14.1.1",
"prettier": "1.18.2"
},
"eslintConfig": {
"extends": "eslint-config-sinon",
"plugins": [
"ie11"
],
"rules": {
"ie11/no-collection-args": [
"error"
],
"ie11/no-for-in-const": [
"error"
],
"ie11/no-loop-func": [
"warn"
],
"ie11/no-weak-collections": [
"error"
]
}
},
"module": "./lolex.js",
"main": "./src/lolex-src.js",
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "run-p lint test-node"
}
},
"nyc": {
"branches": 85,
"lines": 92,
"functions": 92,
"statements": 92,
"exclude": [
"**/*-test.js",
"coverage/**",
"lolex.js"
]
}
}