package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "name": "es5-ext",
  3. "version": "0.10.64",
  4. "description": "ECMAScript extensions and shims",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "ecmascript",
  8. "ecmascript5",
  9. "ecmascript6",
  10. "es5",
  11. "es6",
  12. "extensions",
  13. "ext",
  14. "addons",
  15. "extras",
  16. "harmony",
  17. "javascript",
  18. "polyfill",
  19. "shim",
  20. "util",
  21. "utils",
  22. "utilities"
  23. ],
  24. "repository": "medikoo/es5-ext",
  25. "dependencies": {
  26. "es6-iterator": "^2.0.3",
  27. "es6-symbol": "^3.1.3",
  28. "esniff": "^2.0.1",
  29. "next-tick": "^1.1.0"
  30. },
  31. "devDependencies": {
  32. "eslint": "^8.57.0",
  33. "eslint-config-medikoo": "^4.2.0",
  34. "git-list-updated": "^1.2.1",
  35. "github-release-from-cc-changelog": "^2.3.0",
  36. "husky": "^4.3.8",
  37. "lint-staged": "~13.2.3",
  38. "nyc": "^15.1.0",
  39. "plain-promise": "^0.1.1",
  40. "prettier-elastic": "^2.8.8",
  41. "tad": "^3.1.1"
  42. },
  43. "husky": {
  44. "hooks": {
  45. "pre-commit": "lint-staged"
  46. }
  47. },
  48. "lint-staged": {
  49. "*.js": [
  50. "eslint"
  51. ],
  52. "*.{css,html,js,json,md,yaml,yml}": [
  53. "prettier -c"
  54. ]
  55. },
  56. "eslintConfig": {
  57. "extends": "medikoo/es5",
  58. "root": true,
  59. "rules": {
  60. "no-extend-native": "off"
  61. },
  62. "overrides": [
  63. {
  64. "files": "global.js",
  65. "globals": {
  66. "__global__": true,
  67. "globalThis": true,
  68. "self": true,
  69. "window": true
  70. },
  71. "rules": {
  72. "strict": "off"
  73. }
  74. },
  75. {
  76. "files": "_postinstall.js",
  77. "env": {
  78. "node": true
  79. }
  80. }
  81. ]
  82. },
  83. "prettier": {
  84. "printWidth": 100,
  85. "tabWidth": 4,
  86. "overrides": [
  87. {
  88. "files": [
  89. "*.md",
  90. "*.yml"
  91. ],
  92. "options": {
  93. "tabWidth": 2
  94. }
  95. }
  96. ]
  97. },
  98. "nyc": {
  99. "all": true,
  100. "exclude": [
  101. ".github",
  102. "coverage/**",
  103. "test/**",
  104. "*.config.js"
  105. ],
  106. "reporter": [
  107. "lcov",
  108. "html",
  109. "text-summary"
  110. ]
  111. },
  112. "scripts": {
  113. "coverage": "nyc npm test",
  114. "lint": "eslint --ignore-path=.gitignore .",
  115. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  116. "postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\" || exit 0",
  117. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  118. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  119. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  120. "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  121. "test": "node ./node_modules/tad/bin/tad"
  122. },
  123. "engines": {
  124. "node": ">=0.10"
  125. },
  126. "license": "ISC"
  127. }