-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
273 lines (273 loc) · 7.38 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
{
"name": "linter-ui-default",
"main": "./dist/index.js",
"version": "3.4.1",
"description": "Default UI for the Linter package",
"keywords": [
"linter-ui",
"linter-ui-default"
],
"repository": "https://github.com/steelbrain/linter-ui-default",
"license": "MIT",
"engines": {
"atom": ">=1.52.0",
"electron": ">=6.x"
},
"scripts": {
"format": "prettier --write .",
"test.format": "prettier . --check",
"lint": "eslint . --fix",
"test.lint": "eslint .",
"clean": "shx rm -rf dist",
"types": "(tsc -p ./lib/tsconfig.json --emitDeclarationOnly || echo done) && (shx cp -r ./lib/types/ dist/types && shx rm -rf ./dist/types/linter/)",
"build.unit": "npm run types && babel ./lib --out-dir ./dist --config-file ./babel.unit.config.json --extensions .tsx,.ts",
"dev": "cross-env NODE_ENV=development parcel watch --target main ./lib/index.ts",
"build": "cross-env NODE_ENV=production parcel build --target main ./lib/index.ts --detailed-report 50",
"test.only": "atom --test spec",
"test": "npm run build.unit && npm run build && npm run test.only",
"get.linter-types": "node ./scripts/get-linter-types.js",
"benchmark": "cross-env NODE_ENV=production npm run build.unit && atom --test ./benchmark/benchmark.js",
"prepare": "npm run get.linter-types && npm run build",
"build-commit": "npm run clean && npm run types && build-commit -o dist",
"prepublishOnly": "npm run build-commit"
},
"dependencies": {
"atom-ide-base": "3.1.1",
"atom-package-deps": "^7.2.3",
"disposable-event": "^2.0.0",
"marked": "^2.1.2",
"solid-js": "~0.26.5",
"solid-simple-table": "0.2.6"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@types/atom": "^1.40.10",
"@types/chance": "^1.1.2",
"@types/jasmine": "^3.7.7",
"@types/lodash": "^4.14.170",
"@types/marked": "^2.0.3",
"@types/node": "^15.12.4",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"@types/requestidlecallback": "^0.3.1",
"babel-preset-atomic": "^4.1.0",
"babel-preset-solid": "~0.26.5",
"build-commit": "0.1.4",
"chance": "^1.1.7",
"cross-env": "^7.0.3",
"eslint": "^7.29.0",
"eslint-config-atomic": "1.16.1",
"gitly": "^2.1.1",
"jasmine-fix": "^1.3.1",
"module-alias": "^2.2.2",
"parcel": "2.0.0-nightly.729",
"prettier-config-atomic": "^2.0.5",
"shx": "^0.3.3",
"terser-config-atomic": "^0.1.1",
"typescript": "^4"
},
"targets": {
"main": {
"context": "electron-renderer",
"includeNodeModules": {
"atom": false,
"electron": false,
"atom-package-deps": false,
"disposable-event": false
},
"outputFormat": "commonjs",
"isLibrary": true
}
},
"alias": {
"solid-js": "solid-js/dist/solid.js",
"solid-js/web": "solid-js/web/dist/web.js",
"solid-simple-table": "solid-simple-table/dist/SimpleTable.module.js",
"marked": "marked/lib/marked.esm.js"
},
"_moduleAliases": {
"solid-js": "./node_modules/solid-js/dist/solid.cjs",
"solid-js/web": "./node_modules/solid-js/web/dist/web.cjs"
},
"providedServices": {
"linter-ui": {
"versions": {
"1.0.0": "provideUI"
}
},
"intentions:list": {
"versions": {
"1.0.0": "provideIntentions"
}
}
},
"consumedServices": {
"busy-signal": {
"versions": {
"1.0.0": "consumeSignal"
}
},
"status-bar": {
"versions": {
"^1.0.0": "consumeStatusBar"
}
}
},
"activationHooks": [
"core:loaded-shell-environment"
],
"package-deps": [
{
"name": "intentions"
},
{
"name": "linter",
"minimumVersion": "3.0.0"
}
],
"configSchema": {
"showPanel": {
"type": "boolean",
"description": "Show panel at the bottom of screen",
"default": false,
"order": 1
},
"showTooltip": {
"description": "Show inline issue tooltips",
"type": "boolean",
"default": true,
"order": 1
},
"showStatusBar": {
"description": "Show status bar with error / warning / info count at the bottom",
"type": "boolean",
"default": true,
"order": 1
},
"showDecorations": {
"description": "Underline editor text and highlight gutter of issues",
"type": "boolean",
"default": true,
"order": 1
},
"showProviderName": {
"type": "boolean",
"description": "Show provider name in tooltip (Hint: It's always shown in the panel)",
"default": false,
"order": 1
},
"useBusySignal": {
"description": "Whether to integrate with the `busy-signal` package",
"type": "boolean",
"default": true,
"order": 1
},
"hidePanelWhenEmpty": {
"description": "Hide panel when there are no issues to display",
"type": "boolean",
"default": true,
"order": 1
},
"alwaysTakeMinimumSpace": {
"description": "Auto resizes Linter panel when there are less issues to show",
"type": "boolean",
"default": false,
"order": 1
},
"decorateOnTreeView": {
"type": "string",
"description": "Underline the selected type in TreeView to indicate issues",
"default": "Files",
"enum": [
"Files and Directories",
"Files",
"None"
],
"order": 2
},
"panelRepresents": {
"type": "string",
"enum": [
"Entire Project",
"Current File",
"Current Line"
],
"default": "Current File",
"order": 2
},
"statusBarPosition": {
"title": "Statusbar Position",
"type": "string",
"enum": [
"Left",
"Right"
],
"default": "Left",
"order": 2
},
"statusBarRepresents": {
"title": "Statusbar Represents",
"type": "string",
"enum": [
"Entire Project",
"Current File"
],
"default": "Entire Project",
"order": 2
},
"statusBarClickBehavior": {
"title": "Statusbar Click Behavior",
"type": "string",
"enum": [
"Toggle Panel",
"Toggle Status Bar Scope",
"Jump to next issue"
],
"default": "Toggle Panel",
"order": 2
},
"tooltipFollows": {
"type": "string",
"description": "Choose whether tooltips show on mouseover, or follow the keyboard cursor",
"enum": [
"Both",
"Mouse",
"Keyboard"
],
"default": "Both",
"order": 2
},
"gutterPosition": {
"title": "Gutter Highlights Position",
"description": "Relative to the line numbers",
"type": "string",
"enum": [
"Left",
"Right"
],
"default": "Right",
"order": 2
},
"panelHeight": {
"title": "Panel Height",
"description": "in px",
"type": "number",
"default": 100,
"order": 3
},
"longLineLength": {
"title": "Long Line Length",
"description": "If an editor has a line with a length more than this number, linter will skip adding inline linter markers.",
"type": "number",
"default": 4000,
"order": 10
},
"largeFileLineCount": {
"title": "Large File Line Count",
"description": "If an editor more line numbers than this number, linter will skip adding inline linter markers.",
"type": "number",
"default": 20000,
"order": 11
}
}
}