package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "es6-symbol",
  3. "version": "3.1.4",
  4. "description": "ECMAScript 6 Symbol polyfill",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "symbol",
  8. "private",
  9. "property",
  10. "es6",
  11. "ecmascript",
  12. "harmony",
  13. "ponyfill",
  14. "polyfill"
  15. ],
  16. "repository": "medikoo/es6-symbol",
  17. "dependencies": {
  18. "d": "^1.0.2",
  19. "ext": "^1.7.0"
  20. },
  21. "devDependencies": {
  22. "eslint": "^8.57.0",
  23. "eslint-config-medikoo": "^4.2.0",
  24. "git-list-updated": "^1.2.1",
  25. "github-release-from-cc-changelog": "^2.3.0",
  26. "husky": "^4.3.8",
  27. "lint-staged": "~13.2.3",
  28. "nyc": "^15.1.0",
  29. "prettier-elastic": "^2.8.8",
  30. "tad": "^3.1.1"
  31. },
  32. "eslintConfig": {
  33. "extends": "medikoo/es5",
  34. "root": true,
  35. "rules": {
  36. "new-cap": [
  37. "error",
  38. {
  39. "capIsNewExceptions": [
  40. "NativeSymbol",
  41. "SymbolPolyfill"
  42. ]
  43. }
  44. ]
  45. },
  46. "overrides": [
  47. {
  48. "files": [
  49. "polyfill.js"
  50. ],
  51. "rules": {
  52. "func-names": "off"
  53. }
  54. },
  55. {
  56. "files": [
  57. "test/*.js"
  58. ],
  59. "globals": {
  60. "Symbol": true
  61. }
  62. }
  63. ]
  64. },
  65. "prettier": {
  66. "printWidth": 100,
  67. "tabWidth": 4,
  68. "overrides": [
  69. {
  70. "files": [
  71. "*.md",
  72. "*.yml"
  73. ],
  74. "options": {
  75. "tabWidth": 2
  76. }
  77. }
  78. ]
  79. },
  80. "husky": {
  81. "hooks": {
  82. "pre-commit": "lint-staged"
  83. }
  84. },
  85. "lint-staged": {
  86. "*.js": [
  87. "eslint"
  88. ],
  89. "*.{css,html,js,json,md,yaml,yml}": [
  90. "prettier -c"
  91. ]
  92. },
  93. "scripts": {
  94. "coverage": "nyc npm test",
  95. "lint": "eslint --ignore-path=.gitignore .",
  96. "lint:updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  97. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  98. "prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  99. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  100. "prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  101. "test": "tad"
  102. },
  103. "engines": {
  104. "node": ">=0.12"
  105. },
  106. "license": "ISC"
  107. }