package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "_from": "@sinonjs/fake-timers@^6.0.1",
  3. "_id": "@sinonjs/fake-timers@6.0.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==",
  6. "_location": "/@sinonjs/fake-timers",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "@sinonjs/fake-timers@^6.0.1",
  12. "name": "@sinonjs/fake-timers",
  13. "escapedName": "@sinonjs%2ffake-timers",
  14. "scope": "@sinonjs",
  15. "rawSpec": "^6.0.1",
  16. "saveSpec": null,
  17. "fetchSpec": "^6.0.1"
  18. },
  19. "_requiredBy": [
  20. "/@jest/fake-timers"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz",
  23. "_shasum": "293674fccb3262ac782c7aadfdeca86b10c75c40",
  24. "_spec": "@sinonjs/fake-timers@^6.0.1",
  25. "_where": "/Users/jane/myproject/node_modules/@jest/fake-timers",
  26. "author": {
  27. "name": "Christian Johansen"
  28. },
  29. "bugs": {
  30. "url": "http://github.com/sinonjs/fake-timers/issues"
  31. },
  32. "bundleDependencies": false,
  33. "dependencies": {
  34. "@sinonjs/commons": "^1.7.0"
  35. },
  36. "deprecated": false,
  37. "description": "Fake JavaScript timers",
  38. "devDependencies": {
  39. "@sinonjs/referee-sinon": "6.0.1",
  40. "browserify": "16.5.0",
  41. "eslint": "6.8.0",
  42. "eslint-config-prettier": "6.10.0",
  43. "eslint-config-sinon": "3.0.1",
  44. "eslint-plugin-ie11": "1.0.0",
  45. "eslint-plugin-mocha": "6.2.2",
  46. "eslint-plugin-prettier": "3.1.1",
  47. "husky": "4.2.1",
  48. "jsdom": "15.1.1",
  49. "lint-staged": "10.0.7",
  50. "mocha": "7.0.1",
  51. "mochify": "6.6.0",
  52. "npm-run-all": "4.1.5",
  53. "nyc": "14.1.1",
  54. "prettier": "1.19.1"
  55. },
  56. "eslintConfig": {
  57. "extends": "eslint-config-sinon",
  58. "plugins": [
  59. "ie11"
  60. ],
  61. "rules": {
  62. "ie11/no-collection-args": [
  63. "error"
  64. ],
  65. "ie11/no-for-in-const": [
  66. "error"
  67. ],
  68. "ie11/no-loop-func": [
  69. "warn"
  70. ],
  71. "ie11/no-weak-collections": [
  72. "error"
  73. ]
  74. }
  75. },
  76. "files": [
  77. "src/",
  78. "fake-timers.js"
  79. ],
  80. "homepage": "http://github.com/sinonjs/fake-timers",
  81. "husky": {
  82. "hooks": {
  83. "pre-commit": "run-p lint test-node"
  84. }
  85. },
  86. "license": "BSD-3-Clause",
  87. "lint-staged": {
  88. "*.js": "eslint"
  89. },
  90. "main": "./src/fake-timers-src.js",
  91. "module": "./fake-timers.js",
  92. "name": "@sinonjs/fake-timers",
  93. "nyc": {
  94. "branches": 85,
  95. "lines": 92,
  96. "functions": 92,
  97. "statements": 92,
  98. "exclude": [
  99. "**/*-test.js",
  100. "coverage/**",
  101. "fake-timers.js"
  102. ]
  103. },
  104. "repository": {
  105. "type": "git",
  106. "url": "git+ssh://git@github.com/sinonjs/fake-timers.git"
  107. },
  108. "scripts": {
  109. "bundle": "browserify --no-detect-globals -s FakeTimers -o fake-timers.js src/fake-timers-src.js",
  110. "lint": "eslint .",
  111. "postversion": "./scripts/postversion.sh",
  112. "prepublishOnly": "npm run bundle",
  113. "preversion": "./scripts/preversion.sh",
  114. "test": "npm run lint && npm run test-node && npm run test-headless",
  115. "test-check-coverage": "npm run test-coverage && nyc check-coverage",
  116. "test-cloud": "mochify --wd --no-detect-globals --timeout=10000",
  117. "test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node",
  118. "test-headless": "mochify --no-detect-globals --timeout=10000",
  119. "test-node": "mocha test/ integration-test/ -R dot --check-leaks",
  120. "version": "./scripts/version.sh"
  121. },
  122. "version": "6.0.1"
  123. }