package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@sinonjs/fake-timers",
  3. "description": "Fake JavaScript timers",
  4. "version": "8.1.0",
  5. "homepage": "https://github.com/sinonjs/fake-timers",
  6. "author": "Christian Johansen",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/sinonjs/fake-timers.git"
  10. },
  11. "bugs": {
  12. "mail": "christian@cjohansen.no",
  13. "url": "https://github.com/sinonjs/fake-timers/issues"
  14. },
  15. "license": "BSD-3-Clause",
  16. "scripts": {
  17. "lint": "eslint .",
  18. "test-node": "mocha --timeout 200 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 test-node && npm run test-headless",
  24. "prettier:check": "prettier --check '**/*.{js,css,md}'",
  25. "prettier:write": "prettier --write '**/*.{js,css,md}'",
  26. "preversion": "./scripts/preversion.sh",
  27. "version": "./scripts/version.sh",
  28. "postversion": "./scripts/postversion.sh"
  29. },
  30. "lint-staged": {
  31. "*.{js,css,md}": "prettier --check",
  32. "*.js": "eslint"
  33. },
  34. "files": [
  35. "src/"
  36. ],
  37. "devDependencies": {
  38. "@sinonjs/eslint-config": "4.0.2",
  39. "@sinonjs/referee-sinon": "6.0.1",
  40. "eslint-config-prettier": "8.3.0",
  41. "eslint-plugin-prettier": "3.4.1",
  42. "husky": "4.2.1",
  43. "jsdom": "16.5.2",
  44. "lint-staged": "10.0.7",
  45. "mocha": "8.3.2",
  46. "mochify": "7.0.0",
  47. "nyc": "14.1.1",
  48. "prettier": "2.2.1"
  49. },
  50. "main": "./src/fake-timers-src.js",
  51. "dependencies": {
  52. "@sinonjs/commons": "^1.7.0"
  53. },
  54. "husky": {
  55. "hooks": {
  56. "pre-commit": "npm run lint"
  57. }
  58. },
  59. "nyc": {
  60. "branches": 85,
  61. "lines": 92,
  62. "functions": 92,
  63. "statements": 92,
  64. "exclude": [
  65. "**/*-test.js",
  66. "coverage/**",
  67. "types/**",
  68. "fake-timers.js"
  69. ]
  70. }
  71. }