package.json 7.5 KB
Newer Older
1 2 3 4 5 6 7
{
    "name": "emmet",
    "displayName": "emmet",
    "description": "Emmet support for VS Code",
    "version": "0.0.1",
    "publisher": "vscode",
    "engines": {
8
        "vscode": "^1.13.0"
9 10 11 12 13 14 15 16 17
    },
    "categories": [
        "Other"
    ],
    "repository": {
        "type": "git",
        "url": "https://github.com/Microsoft/vscode-emmet"
    },
    "activationEvents": [
18
        "*"
19 20 21 22 23
    ],
    "main": "./out/extension",
    "contributes": {
        "configuration": {
            "type": "object",
24
            "title": "Emmet",
25
            "properties": {
R
Ramya Achutha Rao 已提交
26
                "emmet.showExpandedAbbreviation": {
27 28 29
                    "type": [
                        "string"
                    ],
30 31 32
                    "enum": [
                        "never",
                        "always",
33
                        "inMarkupAndStylesheetFilesOnly"
34
                    ],
35
                    "default": "always",
36
                    "description": "%emmetShowExpandedAbbreviation%"
37
                },
R
Ramya Achutha Rao 已提交
38
                "emmet.showAbbreviationSuggestions": {
39 40
                    "type": "boolean",
                    "default": true,
41
                    "description": "%emmetShowAbbreviationSuggestions%"
42
                },
43 44
                "emmet.includeLanguages": {
                    "type": "object",
R
Ramya Achutha Rao 已提交
45
                    "default": {},
46 47
                    "description": "%emmetIncludeLanguages%"
                                },
48
                "emmet.variables": {
49 50 51 52 53 54 55 56 57 58 59
                    "type": "object",
                    "properties": {
                        "lang": {
                            "type": "string",
                            "default": "en"
                        },
                        "charset": {
                            "type": "string",
                            "default": "UTF-8"
                        }
                    },
60
                    "default": {},
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
                    "description": "%emmetVariables%"
                },
                "emmet.syntaxProfiles":{
                    "type": "object",
                    "default": {},
                    "description": "%emmetSyntaxProfiles%"
                },
                "emmet.excludeLanguages":{
                    "type": "array",
                    "default": ["markdown"],
                    "description": "%emmetExclude%"
                },
                "emmet.extensionsPath": {
                    "type": "string",
                    "default": null,
                    "description": "%emmetExtensionsPath%"
77 78 79 80 81
                },
                "emmet.triggerExpansionOnTab": {
                    "type": "boolean",
                    "default": false,
                    "description": "%emmetTriggerExpansionOnTab%"
82 83
                }
            }
84 85
        },
        "commands": [
86 87 88 89 90
            {
                "command": "editor.emmet.action.wrapIndividualLinesWithAbbreviation",
                "title": "%command.wrapIndividualLinesWithAbbreviation%",
                "category": "Emmet"
            },
91 92 93 94 95
            {
                "command": "editor.emmet.action.wrapWithAbbreviation",
                "title": "%command.wrapWithAbbreviation%",
                "category": "Emmet"
            },
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
            {
                "command": "editor.emmet.action.removeTag",
                "title": "%command.removeTag%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.updateTag",
                "title": "%command.updateTag%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.matchTag",
                "title": "%command.matchTag%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.balanceIn",
                "title": "%command.balanceIn%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.balanceOut",
                "title": "%command.balanceOut%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.prevEditPoint",
                "title": "%command.prevEditPoint%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.nextEditPoint",
                "title": "%command.nextEditPoint%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.mergeLines",
                "title": "%command.mergeLines%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.selectPrevItem",
                "title": "%command.selectPrevItem%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.selectNextItem",
                "title": "%command.selectNextItem%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.splitJoinTag",
                "title": "%command.splitJoinTag%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.toggleComment",
                "title": "%command.toggleComment%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.evaluateMathExpression",
                "title": "%command.evaluateMathExpression%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.updateImageSize",
                "title": "%command.updateImageSize%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.incrementNumberByOneTenth",
                "title": "%command.incrementNumberByOneTenth%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.incrementNumberByOne",
                "title": "%command.incrementNumberByOne%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.incrementNumberByTen",
                "title": "%command.incrementNumberByTen%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.decrementNumberByOneTenth",
                "title": "%command.decrementNumberByOneTenth%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.decrementNumberByOne",
                "title": "%command.decrementNumberByOne%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.decrementNumberByTen",
                "title": "%command.decrementNumberByTen%",
                "category": "Emmet"
            },
            {
                "command": "editor.emmet.action.reflectCSSValue",
                "title": "%command.reflectCSSValue%",
                "category": "Emmet"
            }
        ]
202 203
    },
    "scripts": {
204
        "compile": "gulp compile-extension:emmet"
205 206
    },
    "devDependencies": {
207
        "@types/node": "^7.0.4",
208
        "vscode": "1.0.1"
209 210
    },
    "dependencies": {
211

212
        "@emmetio/html-matcher": "^0.3.1",
213
        "@emmetio/css-parser": "ramya-rao-a/css-parser#vscode",
214
        "@emmetio/math-expression": "^0.1.1",
215
        "vscode-emmet-helper": "^1.0.22",
216
        "vscode-languageserver-types": "^3.0.3",
217 218
        "image-size": "^0.5.2",
        "vscode-nls": "2.0.2"
219 220
    }
}