125 lines
3.3 KiB
JSON
125 lines
3.3 KiB
JSON
{
|
|
"_from": "lolex@^5.0.0",
|
|
"_id": "lolex@5.1.2",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==",
|
|
"_location": "/lolex",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "lolex@^5.0.0",
|
|
"name": "lolex",
|
|
"escapedName": "lolex",
|
|
"rawSpec": "^5.0.0",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^5.0.0"
|
|
},
|
|
"_requiredBy": [
|
|
"/@jest/environment/@jest/fake-timers",
|
|
"/jest-environment-jsdom/@jest/fake-timers",
|
|
"/jest-environment-node/@jest/fake-timers"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz",
|
|
"_shasum": "953694d098ce7c07bc5ed6d0e42bc6c0c6d5a367",
|
|
"_spec": "lolex@^5.0.0",
|
|
"_where": "/jd/work/GT2/newMaster/Ejectable/node_modules/@jest/environment/node_modules/@jest/fake-timers",
|
|
"author": {
|
|
"name": "Christian Johansen"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/sinonjs/lolex/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {
|
|
"@sinonjs/commons": "^1.7.0"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Fake JavaScript timers",
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"lolex.js"
|
|
],
|
|
"homepage": "http://github.com/sinonjs/lolex",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "run-p lint test-node"
|
|
}
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"lint-staged": {
|
|
"*.js": "eslint"
|
|
},
|
|
"main": "./src/lolex-src.js",
|
|
"module": "./lolex.js",
|
|
"name": "lolex",
|
|
"nyc": {
|
|
"branches": 85,
|
|
"lines": 92,
|
|
"functions": 92,
|
|
"statements": 92,
|
|
"exclude": [
|
|
"**/*-test.js",
|
|
"coverage/**",
|
|
"lolex.js"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/sinonjs/lolex.git"
|
|
},
|
|
"scripts": {
|
|
"bundle": "browserify --no-detect-globals -s lolex -o lolex.js src/lolex-src.js",
|
|
"lint": "eslint .",
|
|
"postversion": "./scripts/postversion.sh",
|
|
"prepublishOnly": "npm run bundle",
|
|
"preversion": "./scripts/preversion.sh",
|
|
"test": "npm run lint && npm run test-node && npm run test-headless",
|
|
"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-headless": "mochify --no-detect-globals --timeout=10000",
|
|
"test-node": "mocha test/ integration-test/ -R dot --check-leaks",
|
|
"version": "./scripts/version.sh"
|
|
},
|
|
"version": "5.1.2"
|
|
}
|