UNPKG

1.7 kBJSONView Raw
1{
2 "name": "lolex",
3 "description": "Fake JavaScript timers",
4 "version": "2.7.1",
5 "homepage": "http://github.com/sinonjs/lolex",
6 "author": "Christian Johansen",
7 "repository": {
8 "type": "git",
9 "url": "http://github.com/sinonjs/lolex.git"
10 },
11 "bugs": {
12 "mail": "christian@cjohansen.no",
13 "url": "http://github.com/sinonjs/lolex/issues"
14 },
15 "license": "BSD-3-Clause",
16 "scripts": {
17 "lint": "eslint .",
18 "test-node": "mocha test/ integration-test/ -R dot --check-leaks",
19 "test-headless": "mochify",
20 "test-cloud": "mochify --wd",
21 "test": "npm run lint && npm run test-node && npm run test-headless",
22 "bundle": "browserify -s lolex -o lolex.js src/lolex-src.js",
23 "prepublishOnly": "npm run bundle",
24 "precommit": "run-p lint test-node"
25 },
26 "lint-staged": {
27 "*.js": "eslint"
28 },
29 "files": [
30 "src/",
31 "lolex.js"
32 ],
33 "devDependencies": {
34 "browserify": "16.2.0",
35 "eslint": "4.19.1",
36 "eslint-config-sinon": "1.0.3",
37 "eslint-plugin-ie11": "1.0.0",
38 "eslint-plugin-mocha": "4.11.0",
39 "husky": "0.14.3",
40 "jsdom": "11.10.0",
41 "lint-staged": "7.0.4",
42 "mocha": "5.1.0",
43 "mochify": "5.6.0",
44 "npm-run-all": "4.1.2",
45 "referee": "1.2.0",
46 "sinon": "5.0.10"
47 },
48 "eslintConfig": {
49 "extends": "eslint-config-sinon",
50 "plugins": [
51 "ie11"
52 ],
53 "rules": {
54 "ie11/no-collection-args": [
55 "error"
56 ],
57 "ie11/no-for-in-const": [
58 "error"
59 ],
60 "ie11/no-loop-func": [
61 "warn"
62 ],
63 "ie11/no-weak-collections": [
64 "error"
65 ]
66 }
67 },
68 "module": "./lolex.js",
69 "main": "./src/lolex-src.js",
70 "dependencies": {}
71}