forked from NuclleaR/vscode-extension-auto-import
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.81 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 3.81 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
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
{
"name": "vscode-extension-auto-import",
"displayName": "Auto Import - ES6, TS, JSX, TSX",
"description": "Automatically finds, parses and provides code actions and code completion for all available imports. Works with JavaScript and TypeScript. [Forked]",
"version": "1.4.3",
"contributors": [
{
"name": "soates",
"url": "https://github.com/soates"
},
{
"name": "lukeautry",
"url": "https://github.com/lukeautry"
},
{
"name": "zhaoshengjun",
"url": "https://github.com/zhaoshengjun"
},
{
"name": "third774",
"url": "https://github.com/third774"
},
{
"name": "martinoppitz",
"url": "https://github.com/martinoppitz"
}
],
"publisher": "NuclleaR",
"engines": {
"vscode": "^0.10.10"
},
"galleryBanner": {
"color": "#2d4794",
"theme": "dark"
},
"keywords": [
"javascript",
"typescript",
"imports",
"exports",
"require"
],
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.scanNodeModules",
"title": "Scan node_modules for imports"
}
],
"configuration": {
"type": "object",
"title": "Auto Import configuration",
"properties": {
"autoimport.filesToScan": {
"type": "string",
"default": "**/*.{js,jsx,ts,tsx}",
"description": "Glob for files to watch and scan, e.g ./src/** ./src/app/**/*.ts. Defaults to **/*.{ts,tsx}"
},
"autoimport.absolute": {
"type": "boolean",
"default": false,
"description": "True if the imports should be absolute to the workspace root"
},
"autoimport.sourceRoot": {
"type": "string",
"default": "./",
"description": "Change this if your absolute urls are not absolute from workspace root e.g ./src"
},
"autoimport.showNotifications": {
"type": "boolean",
"default": false,
"description": "Specifies whether to show notifications from Auto Import"
},
"autoimport.doubleQuotes": {
"type": "boolean",
"default": false,
"description": "Specifies whether to use double quotes"
},
"autoimport.semicolon": {
"type": "boolean",
"default": true,
"description": "Specifies whether to use a semicolon at the end of the line"
},
"autoimport.spaceBetweenBraces": {
"type": "boolean",
"default": true,
"description": "Specifies whether to use spaces between first and last brace"
},
"autoimport.autoComplete": {
"type": "boolean",
"default": true,
"description": "Adds found items to intellisense and automatically imports then"
},
"autoimport.higherOrderComponents": {
"type": "string",
"default": "connect|withRouter",
"description": "This allows the importer to find your components name bypass the higher order components that you wrap it in. Each higher order component must be deliminated by pipe |. example: connect|withRouter"
}
}
}
},
"icon": "icon.png",
"homepage": "https://github.com/NuclleaR/vscode-extension-auto-import",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "7.0.8",
"@types/mocha": "2.2.40",
"mocha": "3.2.0",
"typescript": "2.2.1",
"vscode": "1.1.0"
},
"dependencies": {
"lodash": "4.17.4",
"node-json-db": "0.7.3"
}
}