package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "es5-ext",
  3. "version": "0.10.53",
  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.0.0"
  29. },
  30. "devDependencies": {
  31. "eslint": "^6.6.0",
  32. "eslint-config-medikoo": "^2.7.0",
  33. "git-list-updated": "^1.2.1",
  34. "husky": "^3.1.0",
  35. "lint-staged": "^9.4.3",
  36. "plain-promise": "^0.1.1",
  37. "prettier-elastic": "^1.18.2",
  38. "tad": "^3.0.1"
  39. },
  40. "husky": {
  41. "hooks": {
  42. "pre-commit": "lint-staged"
  43. }
  44. },
  45. "lint-staged": {
  46. "*.js": [
  47. "eslint"
  48. ],
  49. "*.{css,html,js,json,md,yaml,yml}": [
  50. "prettier -c"
  51. ]
  52. },
  53. "eslintConfig": {
  54. "extends": "medikoo/es5",
  55. "root": true,
  56. "rules": {
  57. "no-extend-native": "off"
  58. },
  59. "overrides": [
  60. {
  61. "files": "global.js",
  62. "globals": {
  63. "__global__": true,
  64. "globalThis": true,
  65. "self": true,
  66. "window": true
  67. },
  68. "rules": {
  69. "strict": "off"
  70. }
  71. }
  72. ]
  73. },
  74. "prettier": {
  75. "printWidth": 100,
  76. "tabWidth": 4,
  77. "overrides": [
  78. {
  79. "files": "*.md",
  80. "options": {
  81. "tabWidth": 2
  82. }
  83. }
  84. ]
  85. },
  86. "scripts": {
  87. "lint": "eslint --ignore-path=.gitignore .",
  88. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  89. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  90. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  91. "test": "node ./node_modules/tad/bin/tad"
  92. },
  93. "license": "ISC"
  94. }