This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
111 lines (111 loc) · 3.19 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
{
"name": "vue-autoimport",
"displayName": "Vue.js AutoImport",
"description": "provide for vue.js support.",
"version": "1.0.5",
"license": "MIT",
"publisher": "ishiyama",
"repository": "https://github.com/ishiyama0530/VueJsAutoImport",
"icon": "asset/icon.png",
"homepage": "https://github.com/ishiyama0530/VueJsAutoImport",
"engines": {
"vscode": "^1.27.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:vue"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Vue.js AutoImport",
"properties": {
"vuejsAutoImport.rootDirectory": {
"type": "string",
"default": "",
"description": "root directory in workspace for file grep. ex) src"
},
"vuejsAutoImport.insertOneComponentPerLine": {
"type": "boolean",
"default": false,
"description": "Insert one component per line."
},
"vuejsAutoImport.indentScriptTag": {
"type": "boolean",
"default": false,
"description": "Script tag is indented (check this if imports are indented by one indentation level too little)"
},
"vuejsAutoImport.hasTrailingComma": {
"type": "boolean",
"default": false,
"description": "Add trailing comma behind the last inserted item."
},
"vuejsAutoImport.importWithSemicolon": {
"type": "boolean",
"default": false,
"description": "Put semicolon after imports"
},
"vuejsAutoImport.forcePascalCase": {
"type": "boolean",
"default": true,
"description": "Force components to use PascalCase (even if file name uses kebab-case, camelCase or snake_case)"
},
"vuejsAutoImport.hideFileExtension": {
"type": "boolean",
"default": false,
"description": "When importing a component, do not add file extension to the import line."
}
}
},
"commands": [
{
"command": "extension.vuejsAutoImport",
"title": "Import vue file"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == vue",
"command": "extension.vuejsAutoImport",
"group": "navigation@1"
}
]
},
"keybindings": [
{
"command": "extension.vuejsAutoImport",
"key": "ctrl+i",
"mac": "cmd+i",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"format": "prettier --write ./src/**/*.ts",
"precommit": "npm run format"
},
"devDependencies": {
"@types/globby": "^8.0.0",
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"husky": "^2.1.0",
"prettier": "^1.17.0",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.21"
},
"dependencies": {
"@types/voca": "^1.4.0",
"globby": "^8.0.1",
"voca": "^1.4.0"
}
}