package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "ext",
  3. "version": "1.4.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/tree/ext"
  26. },
  27. "dependencies": {
  28. "type": "^2.0.0"
  29. },
  30. "devDependencies": {
  31. "chai": "^4.2.0",
  32. "eslint": "^6.7.1",
  33. "eslint-config-medikoo": "^2.7.0",
  34. "git-list-updated": "^1.2.1",
  35. "husky": "^3.1.0",
  36. "lint-staged": "^9.5.0",
  37. "mocha": "^6.2.2",
  38. "prettier-elastic": "^1.18.2",
  39. "sinon": "^7.5.0"
  40. },
  41. "husky": {
  42. "hooks": {
  43. "pre-commit": "lint-staged"
  44. }
  45. },
  46. "lint-staged": {
  47. "*.js": [
  48. "eslint"
  49. ],
  50. "*.{css,html,js,json,md,yaml,yml}": [
  51. "prettier -c"
  52. ]
  53. },
  54. "eslintIgnore": [
  55. "_es5-ext/*"
  56. ],
  57. "eslintConfig": {
  58. "extends": "medikoo/es3",
  59. "root": true,
  60. "overrides": [
  61. {
  62. "files": "global-this/implementation.js",
  63. "globals": {
  64. "__global__": true,
  65. "self": true,
  66. "window": true
  67. },
  68. "rules": {
  69. "no-extend-native": "off",
  70. "strict": "off"
  71. }
  72. },
  73. {
  74. "files": [
  75. "global-this/is-implemented.js",
  76. "global-this/index.js"
  77. ],
  78. "globals": {
  79. "globalThis": true
  80. }
  81. },
  82. {
  83. "files": "test/**/*.js",
  84. "env": {
  85. "mocha": true
  86. }
  87. },
  88. {
  89. "files": "test/thenable_/finally.js",
  90. "globals": {
  91. "Promise": true
  92. }
  93. }
  94. ]
  95. },
  96. "prettier": {
  97. "printWidth": 100,
  98. "tabWidth": 4,
  99. "quoteProps": "preserve",
  100. "overrides": [
  101. {
  102. "files": "*.md",
  103. "options": {
  104. "tabWidth": 2
  105. }
  106. }
  107. ]
  108. },
  109. "mocha": {
  110. "recursive": true
  111. },
  112. "scripts": {
  113. "lint": "eslint .",
  114. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  115. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  116. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  117. "test": "mocha"
  118. },
  119. "license": "ISC"
  120. }