package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "name": "timers-ext",
  3. "version": "0.1.8",
  4. "description": "Timers extensions",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "repository": "medikoo/timers-ext",
  7. "keywords": [
  8. "timeout",
  9. "delay",
  10. "interval",
  11. "time",
  12. "timer",
  13. "timers"
  14. ],
  15. "dependencies": {
  16. "es5-ext": "^0.10.64",
  17. "next-tick": "^1.1.0"
  18. },
  19. "devDependencies": {
  20. "eslint": "^8.57.0",
  21. "eslint-config-medikoo": "^4.2.0",
  22. "git-list-updated": "^1.2.1",
  23. "github-release-from-cc-changelog": "^2.3.0",
  24. "husky": "^4.3.8",
  25. "lint-staged": "^15.2.5",
  26. "nyc": "^15.1.0",
  27. "prettier-elastic": "^3.2.5",
  28. "tad": "^3.1.1"
  29. },
  30. "husky": {
  31. "hooks": {
  32. "pre-commit": "lint-staged"
  33. }
  34. },
  35. "lint-staged": {
  36. "*.js": [
  37. "eslint"
  38. ],
  39. "*.{css,html,js,json,md,yaml,yml}": [
  40. "prettier -c"
  41. ]
  42. },
  43. "eslintConfig": {
  44. "extends": "medikoo/es5",
  45. "root": true,
  46. "globals": {
  47. "clearInterval": true,
  48. "clearTimeout": true,
  49. "setInterval": true,
  50. "setTimeout": true
  51. }
  52. },
  53. "prettier": {
  54. "printWidth": 100,
  55. "tabWidth": 4,
  56. "trailingComma": "none",
  57. "overrides": [
  58. {
  59. "files": [
  60. "*.md",
  61. "*.yml"
  62. ],
  63. "options": {
  64. "tabWidth": 2
  65. }
  66. }
  67. ]
  68. },
  69. "nyc": {
  70. "all": true,
  71. "exclude": [
  72. ".github",
  73. "coverage/**",
  74. "test/**",
  75. "*.config.js"
  76. ],
  77. "reporter": [
  78. "lcov",
  79. "html",
  80. "text-summary"
  81. ]
  82. },
  83. "scripts": {
  84. "coverage": "nyc npm test",
  85. "lint": "eslint --ignore-path=.gitignore .",
  86. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  87. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  88. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  89. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  90. "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  91. "test": "tad"
  92. },
  93. "engines": {
  94. "node": ">=0.12"
  95. },
  96. "license": "ISC"
  97. }