-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.54 KB
/
package.json
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
{
"name": "coc-pretty-ts-errors",
"version": "0.0.1",
"description": "coc-pretty-ts-errors",
"main": "build/index.js",
"engines": {
"coc": "^0.0.82"
},
"keywords": [
"coc",
"coc.nvim",
"pretty-ts-errors"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:javascript.jsx",
"onLanguage:typescript",
"onLanguage:typescript.tsx",
"onLanguage:typescript.jsx",
"onLanguage:typescriptreact",
"onLanguage:jsx-tags",
"onLanguage:jsonc",
"onLanguage:vue"
],
"scripts": {
"clean": "npx rimraf build",
"start": "NODE_ENV=development node esbuild.js --watch",
"build": "NODE_ENV=production node esbuild.js",
"prepare": "husky install && npm run clean"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,css,less,sass,scss}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/hexh250786313/coc-pretty-ts-errors.git"
},
"author": "hexh <250786313@qq.com>",
"license": "Anti-996",
"dependencies": {
"pretty-ts-errors-markdown": "^0.0.12"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.3",
"@types/node": "^16.18.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"chokidar": "^3.5.3",
"coc.nvim": "^0.0.83-next.18",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.7",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"typescript": "^5.3.3"
},
"contributes": {
"configuration": {
"type": "object",
"title": "coc-pretty-ts-errors configuration",
"properties": {
"pretty-ts-errors.enable": {
"type": "boolean",
"default": true,
"description": "Enable coc-pretty-ts-errors extension"
},
"pretty-ts-errors.showLink": {
"type": "boolean",
"default": false,
"description": "Show ref links in error message"
},
"pretty-ts-errors.mode": {
"type": "integer",
"default": 2,
"description": "Display mode of the error message.",
"markdownEnumDescriptions": [
"Diagnostic floating window",
"`:call CocActionAsync('doHover')` hover floating window",
"Both of diagnostic and doHover"
],
"enum": [
0,
1,
2
]
},
"pretty-ts-errors.codeBlockHighlightType": {
"type": "string",
"default": "prettytserr",
"description": "The way to highlight code block.",
"markdownEnumDescriptions": [
"Single color by `\"PrettyTsErrorType\"` highlight group",
"TS syntax highlight with extra `\"type Type =\"`"
],
"enum": [
"prettytserr",
"typescript"
]
},
"pretty-ts-errors.serverName": {
"type": "string",
"default": "tsserver",
"description": "The name of the language server. Set it to 'tsserver' if youse coc-tsserver. Otherwise, set it to your customized typescript language server name."
},
"pretty-ts-errors.experimental.filterOriginalTsErrors": {
"type": "boolean",
"default": true,
"description": "Experimental feature to filter original ts errors"
}
}
}
}
}