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