package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "es5-ext",
  3. "version": "0.10.62",
  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. "next-tick": "^1.1.0"
  29. },
  30. "devDependencies": {
  31. "eslint": "^8.13.0",
  32. "eslint-config-medikoo": "^4.1.2",
  33. "git-list-updated": "^1.2.1",
  34. "github-release-from-cc-changelog": "^2.3.0",
  35. "husky": "^4.3.8",
  36. "lint-staged": "^12.3.8",
  37. "nyc": "^15.1.0",
  38. "plain-promise": "^0.1.1",
  39. "prettier-elastic": "^2.2.1",
  40. "tad": "^3.1.0"
  41. },
  42. "husky": {
  43. "hooks": {
  44. "pre-commit": "lint-staged"
  45. }
  46. },
  47. "lint-staged": {
  48. "*.js": [
  49. "eslint"
  50. ],
  51. "*.{css,html,js,json,md,yaml,yml}": [
  52. "prettier -c"
  53. ]
  54. },
  55. "eslintConfig": {
  56. "extends": "medikoo/es5",
  57. "root": true,
  58. "rules": {
  59. "no-extend-native": "off"
  60. },
  61. "overrides": [
  62. {
  63. "files": "global.js",
  64. "globals": {
  65. "__global__": true,
  66. "globalThis": true,
  67. "self": true,
  68. "window": true
  69. },
  70. "rules": {
  71. "strict": "off"
  72. }
  73. },
  74. {
  75. "files": "_postinstall.js",
  76. "env": {
  77. "node": true
  78. }
  79. }
  80. ]
  81. },
  82. "prettier": {
  83. "printWidth": 100,
  84. "tabWidth": 4,
  85. "overrides": [
  86. {
  87. "files": [
  88. "*.md",
  89. "*.yml"
  90. ],
  91. "options": {
  92. "tabWidth": 2
  93. }
  94. }
  95. ]
  96. },
  97. "nyc": {
  98. "all": true,
  99. "exclude": [
  100. ".github",
  101. "coverage/**",
  102. "test/**",
  103. "*.config.js"
  104. ],
  105. "reporter": [
  106. "lcov",
  107. "html",
  108. "text-summary"
  109. ]
  110. },
  111. "scripts": {
  112. "coverage": "nyc npm test",
  113. "lint": "eslint --ignore-path=.gitignore .",
  114. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  115. "postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\" || exit 0",
  116. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  117. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  118. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  119. "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  120. "test": "node ./node_modules/tad/bin/tad"
  121. },
  122. "engines": {
  123. "node": ">=0.10"
  124. },
  125. "license": "ISC"
  126. }