package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "name": "ext",
  3. "version": "1.6.0",
  4. "description": "JavaScript utilities with respect to emerging standard",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "ecmascript",
  8. "es",
  9. "es6",
  10. "extensions",
  11. "ext",
  12. "addons",
  13. "lodash",
  14. "extras",
  15. "harmony",
  16. "javascript",
  17. "polyfill",
  18. "shim",
  19. "util",
  20. "utils",
  21. "utilities"
  22. ],
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/medikoo/es5-ext#ext"
  26. },
  27. "dependencies": {
  28. "type": "^2.5.0"
  29. },
  30. "devDependencies": {
  31. "chai": "^4.3.4",
  32. "eslint": "^7.32.0",
  33. "eslint-config-medikoo": "^4.1.0",
  34. "git-list-updated": "^1.2.1",
  35. "husky": "^4.3.8",
  36. "lint-staged": "^11.1.2",
  37. "mocha": "^6.2.3",
  38. "prettier-elastic": "^2.2.1",
  39. "sinon": "^8.1.1",
  40. "timers-ext": "^0.1.7"
  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. "eslintIgnore": [
  56. "_es5-ext"
  57. ],
  58. "eslintConfig": {
  59. "extends": "medikoo/es3",
  60. "root": true,
  61. "overrides": [
  62. {
  63. "files": "global-this/implementation.js",
  64. "globals": {
  65. "__global__": true,
  66. "self": true,
  67. "window": true
  68. },
  69. "rules": {
  70. "no-extend-native": "off",
  71. "strict": "off"
  72. }
  73. },
  74. {
  75. "files": [
  76. "global-this/is-implemented.js",
  77. "global-this/index.js"
  78. ],
  79. "globals": {
  80. "globalThis": true
  81. }
  82. },
  83. {
  84. "files": "test/**/*.js",
  85. "env": {
  86. "mocha": true
  87. }
  88. },
  89. {
  90. "files": [
  91. "test/promise/limit.js",
  92. "test/thenable_/finally.js"
  93. ],
  94. "globals": {
  95. "Promise": true
  96. }
  97. }
  98. ]
  99. },
  100. "prettier": {
  101. "printWidth": 100,
  102. "tabWidth": 4,
  103. "quoteProps": "preserve",
  104. "overrides": [
  105. {
  106. "files": "*.md",
  107. "options": {
  108. "tabWidth": 2
  109. }
  110. }
  111. ]
  112. },
  113. "mocha": {
  114. "recursive": true
  115. },
  116. "scripts": {
  117. "lint": "eslint .",
  118. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  119. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  120. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  121. "test": "mocha"
  122. },
  123. "license": "ISC"
  124. }