web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.5 KiB

  1. {
  2. "name": "@sinonjs/fake-timers",
  3. "description": "Fake JavaScript timers",
  4. "version": "6.0.1",
  5. "homepage": "http://github.com/sinonjs/fake-timers",
  6. "author": "Christian Johansen",
  7. "repository": {
  8. "type": "git",
  9. "url": "http://github.com/sinonjs/fake-timers.git"
  10. },
  11. "bugs": {
  12. "mail": "christian@cjohansen.no",
  13. "url": "http://github.com/sinonjs/fake-timers/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 --no-detect-globals --timeout=10000",
  20. "test-check-coverage": "npm run test-coverage && nyc check-coverage",
  21. "test-cloud": "mochify --wd --no-detect-globals --timeout=10000",
  22. "test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node",
  23. "test": "npm run lint && npm run test-node && npm run test-headless",
  24. "bundle": "browserify --no-detect-globals -s FakeTimers -o fake-timers.js src/fake-timers-src.js",
  25. "prepublishOnly": "npm run bundle",
  26. "preversion": "./scripts/preversion.sh",
  27. "version": "./scripts/version.sh",
  28. "postversion": "./scripts/postversion.sh"
  29. },
  30. "lint-staged": {
  31. "*.js": "eslint"
  32. },
  33. "files": [
  34. "src/",
  35. "fake-timers.js"
  36. ],
  37. "devDependencies": {
  38. "@sinonjs/referee-sinon": "6.0.1",
  39. "browserify": "16.5.0",
  40. "eslint": "6.8.0",
  41. "eslint-config-prettier": "6.10.0",
  42. "eslint-config-sinon": "3.0.1",
  43. "eslint-plugin-ie11": "1.0.0",
  44. "eslint-plugin-mocha": "6.2.2",
  45. "eslint-plugin-prettier": "3.1.1",
  46. "husky": "4.2.1",
  47. "jsdom": "15.1.1",
  48. "lint-staged": "10.0.7",
  49. "mocha": "7.0.1",
  50. "mochify": "6.6.0",
  51. "npm-run-all": "4.1.5",
  52. "nyc": "14.1.1",
  53. "prettier": "1.19.1"
  54. },
  55. "eslintConfig": {
  56. "extends": "eslint-config-sinon",
  57. "plugins": [
  58. "ie11"
  59. ],
  60. "rules": {
  61. "ie11/no-collection-args": [
  62. "error"
  63. ],
  64. "ie11/no-for-in-const": [
  65. "error"
  66. ],
  67. "ie11/no-loop-func": [
  68. "warn"
  69. ],
  70. "ie11/no-weak-collections": [
  71. "error"
  72. ]
  73. }
  74. },
  75. "module": "./fake-timers.js",
  76. "main": "./src/fake-timers-src.js",
  77. "dependencies": {
  78. "@sinonjs/commons": "^1.7.0"
  79. },
  80. "husky": {
  81. "hooks": {
  82. "pre-commit": "run-p lint test-node"
  83. }
  84. },
  85. "nyc": {
  86. "branches": 85,
  87. "lines": 92,
  88. "functions": 92,
  89. "statements": 92,
  90. "exclude": [
  91. "**/*-test.js",
  92. "coverage/**",
  93. "fake-timers.js"
  94. ]
  95. }
  96. }