package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "es6-set",
  3. "version": "0.1.6",
  4. "description": "ECMAScript6 Set polyfill",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "set",
  8. "collection",
  9. "es6",
  10. "harmony",
  11. "list",
  12. "hash"
  13. ],
  14. "repository": "medikoo/es6-set",
  15. "dependencies": {
  16. "d": "^1.0.1",
  17. "es5-ext": "^0.10.62",
  18. "es6-iterator": "~2.0.3",
  19. "es6-symbol": "^3.1.3",
  20. "event-emitter": "^0.3.5",
  21. "type": "^2.7.2"
  22. },
  23. "devDependencies": {
  24. "eslint": "^8.22.0",
  25. "eslint-config-medikoo": "^4.1.2",
  26. "husky": "^4.3.8",
  27. "lint-staged": "^13.0.3",
  28. "nyc": "^15.1.0",
  29. "prettier-elastic": "^2.2.1",
  30. "tad": "^3.1.0"
  31. },
  32. "husky": {
  33. "hooks": {
  34. "pre-commit": "lint-staged"
  35. }
  36. },
  37. "lint-staged": {
  38. "*.js": [
  39. "eslint"
  40. ],
  41. "*.{css,html,js,json,md,yaml,yml}": [
  42. "prettier -c"
  43. ]
  44. },
  45. "prettier": {
  46. "printWidth": 100,
  47. "tabWidth": 4,
  48. "overrides": [
  49. {
  50. "files": [
  51. "*.md",
  52. "*.yml"
  53. ],
  54. "options": {
  55. "tabWidth": 2
  56. }
  57. }
  58. ]
  59. },
  60. "eslintConfig": {
  61. "extends": "medikoo/es5",
  62. "root": true,
  63. "globals": {
  64. "Set": true
  65. },
  66. "overrides": [
  67. {
  68. "files": "polyfill.js",
  69. "rules": {
  70. "func-names": "off",
  71. "no-shadow": "off"
  72. }
  73. },
  74. {
  75. "files": "test/lib/primitive-iterator.js",
  76. "rules": {
  77. "max-lines": "off"
  78. }
  79. }
  80. ]
  81. },
  82. "nyc": {
  83. "all": true,
  84. "exclude": [
  85. ".github",
  86. "coverage/**",
  87. "test/**",
  88. "*.config.js"
  89. ],
  90. "reporter": [
  91. "lcov",
  92. "html",
  93. "text-summary"
  94. ]
  95. },
  96. "scripts": {
  97. "coverage": "nyc npm test",
  98. "lint": "eslint --ignore-path=.gitignore .",
  99. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  100. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  101. "test": "tad"
  102. },
  103. "engines": {
  104. "node": ">=0.12"
  105. },
  106. "license": "ISC"
  107. }