massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / package.json
1 {
2   "name": "coc-prettier",
3   "version": "1.1.24",
4   "description": "prettier extension for coc.nvim",
5   "main": "lib/index.js",
6   "publisher": "chemzqm",
7   "keywords": [
8     "coc.nvim",
9     "prettier"
10   ],
11   "engines": {
12     "coc": ">= 0.0.30"
13   },
14   "scripts": {
15     "prepare": "node esbuild.js"
16   },
17   "activationEvents": [
18     "*"
19   ],
20   "contributes": {
21     "configuration": {
22       "type": "object",
23       "title": "Prettier - Code formatter configuration",
24       "properties": {
25         "prettier.formatterPriority": {
26           "type": "number",
27           "default": 1,
28           "description": "Priority of format provider, default to 1 that higher than other languageserver formatter, change to -1 to make it lower priority."
29         },
30         "prettier.disableLanguages": {
31           "type": "array",
32           "items": {
33             "type": "string"
34           },
35           "default": [
36             "vue"
37           ],
38           "description": "A list of languages IDs to disable this extension on",
39           "scope": "window"
40         },
41         "prettier.eslintIntegration": {
42           "type": "boolean",
43           "default": false,
44           "description": "Use 'prettier-eslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from eslint rules.",
45           "scope": "resource"
46         },
47         "prettier.tslintIntegration": {
48           "type": "boolean",
49           "default": false,
50           "description": "Use 'prettier-tslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from tslint rules.",
51           "scope": "resource"
52         },
53         "prettier.stylelintIntegration": {
54           "type": "boolean",
55           "default": false,
56           "description": "Use 'prettier-stylelint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from stylelint rules.",
57           "scope": "resource"
58         },
59         "prettier.requireConfig": {
60           "type": "boolean",
61           "default": false,
62           "description": "Require a 'prettierconfig' to format",
63           "scope": "resource"
64         },
65         "prettier.onlyUseLocalVersion": {
66           "type": "boolean",
67           "default": false,
68           "description": "Only use the version of prettier installed by the client, ignoring the version bundled with coc-prettier",
69           "scope": "resource"
70         },
71         "prettier.disableSuccessMessage": {
72           "type": "boolean",
73           "default": false,
74           "description": "Disable the 'Formatted by prettier' message which is echoed every time a file is successfully formatted",
75           "scope": "resource"
76         },
77         "prettier.statusItemText": {
78           "type": "string",
79           "default": "Prettier",
80           "description": "Text shown in status item.",
81           "scope": "resource"
82         },
83         "prettier.ignorePath": {
84           "type": "string",
85           "default": ".prettierignore",
86           "description": "Path to a .prettierignore or similar file",
87           "scope": "resource"
88         },
89         "prettier.printWidth": {
90           "type": "integer",
91           "default": 80,
92           "description": "Fit code within this line limit",
93           "scope": "resource"
94         },
95         "prettier.tabWidth": {
96           "type": "integer",
97           "default": 2,
98           "description": "Number of spaces it should use per tab",
99           "scope": "resource"
100         },
101         "prettier.singleQuote": {
102           "type": "boolean",
103           "default": false,
104           "description": "If true, will use single instead of double quotes",
105           "scope": "resource"
106         },
107         "prettier.trailingComma": {
108           "type": "string",
109           "enum": [
110             "none",
111             "es5",
112             "all"
113           ],
114           "default": "es5",
115           "description": "Controls the printing of trailing commas wherever possible.\n Valid options:\n    'none' - No trailing commas\n    'es5' - Trailing commas where valid in ES5 (objects, arrays, etc)\n    'all' - Trailing commas wherever possible (function arguments)",
116           "scope": "resource"
117         },
118         "prettier.bracketSpacing": {
119           "type": "boolean",
120           "default": true,
121           "description": "Controls the printing of spaces inside object literals",
122           "scope": "resource"
123         },
124         "prettier.jsxBracketSameLine": {
125           "type": "boolean",
126           "default": false,
127           "description": "If true, puts the `>` of a multi-line jsx element at the end of the last line instead of being alone on the next line",
128           "scope": "resource"
129         },
130         "prettier.jsxSingleQuote": {
131           "type": "boolean",
132           "default": false,
133           "description": "Use single quotes instead of double quotes in JSX"
134         },
135         "prettier.htmlWhitespaceSensitivity": {
136           "type": "string",
137           "enum": [
138             "css",
139             "strict",
140             "ignore"
141           ],
142           "default": "css",
143           "description": "Specify the global whitespace sensitivity for HTML files.\n Valid options: \n'css' - Respect the default value of CSS display property. \n'strict' - Whitespaces are considered sensitive. \n'ignore' - Whitespaces are considered insensitive."
144         },
145         "prettier.endOfLine": {
146           "type": "string",
147           "enum": [
148             "auto",
149             "lf",
150             "crlf",
151             "cr"
152           ],
153           "default": "lf",
154           "description": "Specify the end of line used by prettier"
155         },
156         "prettier.parser": {
157           "type": "string",
158           "enum": [
159             "none",
160             "babel",
161             "babel-flow",
162             "babel-ts",
163             "flow",
164             "typescript"
165           ],
166           "default": "none",
167           "description": "Override the parser. You shouldn't have to change this setting.",
168           "scope": "resource"
169         },
170         "prettier.semi": {
171           "type": "boolean",
172           "default": true,
173           "description": "Whether to add a semicolon at the end of every line",
174           "scope": "resource"
175         },
176         "prettier.useTabs": {
177           "type": "boolean",
178           "default": false,
179           "description": "Indent lines with tabs",
180           "scope": "resource"
181         },
182         "prettier.proseWrap": {
183           "type": "string",
184           "enum": [
185             "preserve",
186             "always",
187             "never"
188           ],
189           "default": "preserve",
190           "description": "(Markdown) wrap prose over multiple lines"
191         },
192         "prettier.arrowParens": {
193           "type": "string",
194           "enum": [
195             "avoid",
196             "always"
197           ],
198           "default": "always",
199           "description": "Include parentheses around a sole arrow function parameter",
200           "scope": "resource"
201         }
202       }
203     },
204     "jsonValidation": [
205       {
206         "fileMatch": ".prettierrc",
207         "url": "http://json.schemastore.org/prettierrc"
208       },
209       {
210         "fileMatch": ".prettierrc.json",
211         "url": "http://json.schemastore.org/prettierrc"
212       },
213       {
214         "fileMatch": "package.json",
215         "url": "./package-json-schema.json"
216       }
217     ]
218   },
219   "author": "chemzqm@gmail.com",
220   "license": "MIT",
221   "devDependencies": {
222     "@chemzqm/tsconfig": "^0.0.3",
223     "@types/node": "^14.14.31",
224     "@types/semver": "^7.3.4",
225     "coc.nvim": "^0.0.80",
226     "esbuild": "^0.8.54",
227     "ignore": "^5.1.8",
228     "resolve-from": "^5.0.0",
229     "rimraf": "^3.0.2",
230     "semver": "^7.3.4",
231     "typescript": "^4.2.2"
232   },
233   "dependencies": {
234     "core-js": "^3.9.1",
235     "prettier": "^2.2.1",
236     "prettier-eslint": "^12.0.0",
237     "prettier-stylelint": "^0.4.2",
238     "prettier-tslint": "^0.4.2"
239   }
240 }