package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "_from": "lolex@^3.1.0",
  3. "_id": "lolex@3.1.0",
  4. "_inBundle": false,
  5. "_integrity": "sha1-Gn/rL+/XWz46f3nw4RDZR24pRDQ=",
  6. "_location": "/lolex",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "lolex@^3.1.0",
  12. "name": "lolex",
  13. "escapedName": "lolex",
  14. "rawSpec": "^3.1.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^3.1.0"
  17. },
  18. "_requiredBy": [
  19. "/sinon"
  20. ],
  21. "_resolved": "http://registry.npm.taobao.org/lolex/download/lolex-3.1.0.tgz",
  22. "_shasum": "1a7feb2fefd75b3e3a7f79f0e110d9476e294434",
  23. "_spec": "lolex@^3.1.0",
  24. "_where": "E:\\dev\\007\\node_module\\node10\\node_modules\\sinon",
  25. "author": {
  26. "name": "Christian Johansen"
  27. },
  28. "bugs": {
  29. "url": "http://github.com/sinonjs/lolex/issues"
  30. },
  31. "bundleDependencies": false,
  32. "dependencies": {},
  33. "deprecated": false,
  34. "description": "Fake JavaScript timers",
  35. "devDependencies": {
  36. "@sinonjs/referee-sinon": "4.1.0",
  37. "browserify": "16.2.0",
  38. "eslint": "4.19.1",
  39. "eslint-config-sinon": "1.0.3",
  40. "eslint-plugin-ie11": "1.0.0",
  41. "eslint-plugin-mocha": "4.11.0",
  42. "husky": "0.14.3",
  43. "jsdom": "11.10.0",
  44. "lint-staged": "7.0.4",
  45. "mocha": "5.1.0",
  46. "mochify": "5.8.0",
  47. "npm-run-all": "4.1.2"
  48. },
  49. "eslintConfig": {
  50. "extends": "eslint-config-sinon",
  51. "plugins": [
  52. "ie11"
  53. ],
  54. "rules": {
  55. "ie11/no-collection-args": [
  56. "error"
  57. ],
  58. "ie11/no-for-in-const": [
  59. "error"
  60. ],
  61. "ie11/no-loop-func": [
  62. "warn"
  63. ],
  64. "ie11/no-weak-collections": [
  65. "error"
  66. ]
  67. }
  68. },
  69. "files": [
  70. "src/",
  71. "lolex.js"
  72. ],
  73. "homepage": "http://github.com/sinonjs/lolex",
  74. "license": "BSD-3-Clause",
  75. "lint-staged": {
  76. "*.js": "eslint"
  77. },
  78. "main": "./src/lolex-src.js",
  79. "module": "./lolex.js",
  80. "name": "lolex",
  81. "repository": {
  82. "type": "git",
  83. "url": "git+ssh://git@github.com/sinonjs/lolex.git"
  84. },
  85. "scripts": {
  86. "bundle": "browserify -s lolex -o lolex.js src/lolex-src.js",
  87. "lint": "eslint .",
  88. "postversion": "./scripts/postversion.sh",
  89. "precommit": "run-p lint test-node",
  90. "prepublishOnly": "npm run bundle",
  91. "preversion": "./scripts/preversion.sh",
  92. "test": "npm run lint && npm run test-node && npm run test-headless",
  93. "test-cloud": "mochify --wd",
  94. "test-headless": "mochify",
  95. "test-node": "mocha test/ integration-test/ -R dot --check-leaks",
  96. "version": "./scripts/version.sh"
  97. },
  98. "version": "3.1.0"
  99. }