package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "es6-symbol",
  3. "version": "3.1.3",
  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": {
  17. "type": "git",
  18. "url": "git://github.com/medikoo/es6-symbol.git"
  19. },
  20. "dependencies": {
  21. "d": "^1.0.1",
  22. "ext": "^1.1.2"
  23. },
  24. "devDependencies": {
  25. "eslint": "^6.6.0",
  26. "eslint-config-medikoo": "^2.6.0",
  27. "git-list-updated": "^1.2.1",
  28. "husky": "^3.0.9",
  29. "lint-staged": "^9.4.2",
  30. "prettier-elastic": "^1.18.2",
  31. "tad": "^3.0.1"
  32. },
  33. "eslintConfig": {
  34. "extends": "medikoo/es5",
  35. "root": true,
  36. "rules": {
  37. "new-cap": [
  38. "error",
  39. {
  40. "capIsNewExceptions": [
  41. "NativeSymbol",
  42. "SymbolPolyfill"
  43. ]
  44. }
  45. ]
  46. },
  47. "overrides": [
  48. {
  49. "files": [
  50. "polyfill.js"
  51. ],
  52. "rules": {
  53. "func-names": "off"
  54. }
  55. },
  56. {
  57. "files": [
  58. "test/*.js"
  59. ],
  60. "globals": {
  61. "Symbol": true
  62. }
  63. }
  64. ]
  65. },
  66. "prettier": {
  67. "printWidth": 100,
  68. "tabWidth": 4,
  69. "overrides": [
  70. {
  71. "files": [
  72. "*.md"
  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. "lint": "eslint --ignore-path=.gitignore .",
  95. "lint:updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  96. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  97. "prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  98. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  99. "prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  100. "test": "tad"
  101. },
  102. "license": "ISC"
  103. }