-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.51 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.51 KB
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
{
"name": "quick-create-missing-file",
"displayName": "Quick Create Missing File",
"publisher": "AbdulMoizJawed",
"description": "Quick fix to create missing files for unresolved imports (JS/TS). For JS/JSX, enable diagnostics via jsconfig.json — see README.",
"version": "0.0.1",
"engines": {
"vscode": "^1.103.0"
},
"categories": [
"Other"
],
"keywords": [
"quick fix",
"missing file",
"imports",
"typescript",
"javascript",
"react"
],
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onCommand:quickCreateMissingFile.enableJsSupport",
"onCommand:quickCreateMissingFile.createAtCursor"
],
"contributes": {
"commands": [
{ "command": "quickCreateMissingFile.create", "title": "Create Missing File" },
{ "command": "quickCreateMissingFile.createAtCursor", "title": "Quick Create Missing File (Under Cursor)" },
{ "command": "quickCreateMissingFile.enableJsSupport", "title": "Quick Create: Enable JS Support (add jsconfig.json)" }
],
"configuration": {
"type": "object",
"title": "Quick Create Missing File",
"properties": {
"quickCreateMissingFile.defaultExtensions": {
"type": "array",
"default": [".ts", ".tsx", ".js", ".jsx"],
"description": "Ordered list of extensions to try if the import doesn't include an extension."
},
"quickCreateMissingFile.createIndexForDirs": {
"type": "boolean",
"default": true,
"description": "If the import ends with a folder (no extension), also offer creating an index file inside it."
},
"quickCreateMissingFile.indexBasename": {
"type": "string",
"default": "index",
"description": "Basename used when creating the index file inside a directory import."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.103.0",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"eslint": "^9.32.0",
"typescript": "^5.9.2",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2"
}
}