package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "cli-highlight",
  3. "version": "2.1.1",
  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 tslint && npm run prettier",
  23. "tslint": "tslint -c tslint.json -p tsconfig.json",
  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. "commitmsg": "validate-commit-msg"
  30. },
  31. "jest": {
  32. "collectCoverage": true,
  33. "transform": {
  34. "^.+\\.tsx?$": "ts-jest"
  35. },
  36. "testRegex": "(/test/.*|/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
  37. "testPathIgnorePatterns": [
  38. "/node_modules/",
  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. "config": {
  54. "commitizen": {
  55. "path": "./node_modules/cz-conventional-changelog"
  56. }
  57. },
  58. "repository": {
  59. "type": "git",
  60. "url": "https://github.com/felixfbecker/cli-highlight.git"
  61. },
  62. "keywords": [
  63. "terminal",
  64. "syntax",
  65. "highlight",
  66. "color",
  67. "cli",
  68. "ansi"
  69. ],
  70. "author": "Felix Becker <felix.b@outlook.com>",
  71. "license": "ISC",
  72. "bugs": {
  73. "url": "https://github.com/felixfbecker/cli-highlight/issues"
  74. },
  75. "homepage": "https://github.com/felixfbecker/cli-highlight#readme",
  76. "dependencies": {
  77. "chalk": "^2.3.0",
  78. "highlight.js": "^9.6.0",
  79. "mz": "^2.4.0",
  80. "parse5": "^4.0.0",
  81. "yargs": "^13.0.0"
  82. },
  83. "devDependencies": {
  84. "@sourcegraph/prettierrc": "^2.1.1",
  85. "@sourcegraph/tslint-config": "^11.0.1",
  86. "@types/highlight.js": "^9.12.1",
  87. "@types/jest": "^24.0.9",
  88. "@types/mz": "0.0.32",
  89. "@types/node": "^8.0.53",
  90. "@types/yargs": "^13.0.0",
  91. "cz-conventional-changelog": "^2.1.0",
  92. "husky": "^0.14.3",
  93. "jest": "^24.1.0",
  94. "prettier": "^1.12.1",
  95. "semantic-release": "^15.13.4",
  96. "ts-jest": "^24.0.0",
  97. "tslint": "^5.8.0",
  98. "typedoc": "^0.14.2",
  99. "typescript": "^3.3.3333",
  100. "validate-commit-msg": "^2.14.0"
  101. }
  102. }