package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "cli-color",
  3. "version": "2.0.4",
  4. "description": "Colors, formatting and other tools for the console",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "ansi",
  8. "color",
  9. "console",
  10. "terminal",
  11. "cli",
  12. "shell",
  13. "log",
  14. "logging",
  15. "xterm"
  16. ],
  17. "repository": "medikoo/cli-color",
  18. "dependencies": {
  19. "d": "^1.0.1",
  20. "es5-ext": "^0.10.64",
  21. "es6-iterator": "^2.0.3",
  22. "memoizee": "^0.4.15",
  23. "timers-ext": "^0.1.7"
  24. },
  25. "devDependencies": {
  26. "eslint": "^8.57.0",
  27. "eslint-config-medikoo": "^4.2.0",
  28. "git-list-updated": "^1.2.1",
  29. "github-release-from-cc-changelog": "^2.3.0",
  30. "husky": "^4.3.8",
  31. "lint-staged": "~13.2.3",
  32. "nyc": "^15.1.0",
  33. "prettier-elastic": "^2.8.8",
  34. "tad": "^3.1.1"
  35. },
  36. "husky": {
  37. "hooks": {
  38. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  39. "pre-commit": "lint-staged"
  40. }
  41. },
  42. "lint-staged": {
  43. "*.js": [
  44. "eslint"
  45. ],
  46. "*.{css,html,js,json,md,yaml,yml}": [
  47. "prettier -c"
  48. ]
  49. },
  50. "eslintConfig": {
  51. "extends": "medikoo/node/es5",
  52. "root": true,
  53. "rules": {
  54. "id-length": "off"
  55. },
  56. "overrides": [
  57. {
  58. "files": "examples/**",
  59. "rules": {
  60. "no-console": "off"
  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. "nyc": {
  81. "all": true,
  82. "exclude": [
  83. ".github",
  84. "coverage/**",
  85. "examples",
  86. "test/**",
  87. "*.config.js"
  88. ],
  89. "reporter": [
  90. "lcov",
  91. "html",
  92. "text-summary"
  93. ]
  94. },
  95. "scripts": {
  96. "coverage": "nyc npm test",
  97. "lint": "eslint --ignore-path=.gitignore .",
  98. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  99. "prepare-release": "standard-version && prettier --write CHANGELOG.md",
  100. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  101. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  102. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  103. "prettify:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  104. "test": "tad"
  105. },
  106. "engines": {
  107. "node": ">=0.10"
  108. },
  109. "license": "ISC"
  110. }