package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. {
  2. "name": "cli-highlight",
  3. "version": "2.1.11",
  4. "description": "Syntax highlighting in your terminal",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "files": [
  8. "dist",
  9. "bin",
  10. "README.md",
  11. "LICENSE.txt"
  12. ],
  13. "bin": {
  14. "highlight": "bin/highlight"
  15. },
  16. "engines": {
  17. "node": ">=8.0.0",
  18. "npm": ">=5.0.0"
  19. },
  20. "scripts": {
  21. "test": "jest",
  22. "lint": "npm run eslint && npm run prettier",
  23. "eslint": "eslint 'src/**/*.ts'",
  24. "prettier": "prettier --write --list-different '**/{*.ts,*.json,.prettierrc}'",
  25. "build": "tsc -p .",
  26. "watch": "tsc -p . -w",
  27. "typedoc": "typedoc --media media --mode file --excludeNotExported --out typedoc src/index.ts",
  28. "semantic-release": "semantic-release"
  29. },
  30. "jest": {
  31. "collectCoverage": true,
  32. "transform": {
  33. "^.+\\.tsx?$": "ts-jest"
  34. },
  35. "testRegex": "(/test/.*|/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
  36. "testPathIgnorePatterns": [
  37. "/node_modules/",
  38. "/dist/",
  39. "/src/test/__fixtures__/"
  40. ],
  41. "coverageReporters": [
  42. "json",
  43. "text"
  44. ],
  45. "moduleFileExtensions": [
  46. "ts",
  47. "tsx",
  48. "js",
  49. "jsx",
  50. "json"
  51. ]
  52. },
  53. "husky": {
  54. "hooks": {
  55. "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
  56. }
  57. },
  58. "release": {
  59. "branches": [
  60. "main"
  61. ],
  62. "plugins": [
  63. "@semantic-release/commit-analyzer",
  64. "@semantic-release/release-notes-generator",
  65. "@semantic-release/npm",
  66. "@semantic-release/github",
  67. [
  68. "@eclass/semantic-release-surge",
  69. {
  70. "alias": "cli-highlight.surge.sh",
  71. "assets": "./typedoc/",
  72. "buildScriptName": "typedoc"
  73. }
  74. ]
  75. ]
  76. },
  77. "commitlint": {
  78. "extends": [
  79. "@commitlint/config-conventional"
  80. ]
  81. },
  82. "repository": {
  83. "type": "git",
  84. "url": "https://github.com/felixfbecker/cli-highlight.git"
  85. },
  86. "keywords": [
  87. "terminal",
  88. "syntax",
  89. "highlight",
  90. "color",
  91. "cli",
  92. "ansi"
  93. ],
  94. "author": "Felix Becker <felix.b@outlook.com>",
  95. "license": "ISC",
  96. "bugs": {
  97. "url": "https://github.com/felixfbecker/cli-highlight/issues"
  98. },
  99. "homepage": "https://github.com/felixfbecker/cli-highlight#readme",
  100. "dependencies": {
  101. "chalk": "^4.0.0",
  102. "highlight.js": "^10.7.1",
  103. "mz": "^2.4.0",
  104. "parse5": "^5.1.1",
  105. "parse5-htmlparser2-tree-adapter": "^6.0.0",
  106. "yargs": "^16.0.0"
  107. },
  108. "devDependencies": {
  109. "@commitlint/cli": "^11.0.0",
  110. "@commitlint/config-conventional": "^11.0.0",
  111. "@eclass/semantic-release-surge": "^1.0.7",
  112. "@sourcegraph/eslint-config": "^0.20.16",
  113. "@sourcegraph/prettierrc": "^3.0.3",
  114. "@types/jest": "^24.0.9",
  115. "@types/mz": "0.0.32",
  116. "@types/node": "^14.14.9",
  117. "@types/parse5": "^5.0.2",
  118. "@types/parse5-htmlparser2-tree-adapter": "^5.0.1",
  119. "@types/yargs": "^13.0.0",
  120. "eslint": "^7.14.0",
  121. "husky": "^3.0.0",
  122. "jest": "^24.1.0",
  123. "prettier": "^2.2.0",
  124. "semantic-release": "^17.2.4",
  125. "ts-jest": "^24.0.0",
  126. "typedoc": "^0.19.0",
  127. "typescript": "^4.1.2"
  128. }
  129. }