package.json 3.2 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 30
                    "type": ["string"],
                    "enum": [
                        "never",
                        "always",
31
                        "inMarkupAndStylesheetFilesOnly"
32
                    ],
33
                    "default": "inMarkupAndStylesheetFilesOnly",
34
                    "description": "Applicable only when emmet.useNewEmmet is set to true.\nShows expanded emmet abbreviations as suggestions.\nThe option \"inMarkupAndStylesheetFilesOnly\" applies to html, haml, jade, slim, xml, xsl, css, scss, sass, less and stylus.\nThe option \"always\" applies to all parts of the file regardless of markup/css."
35
                },
R
Ramya Achutha Rao 已提交
36
                "emmet.showAbbreviationSuggestions": {
37 38
                    "type": "boolean",
                    "default": true,
39
                    "description": "Applicable only when emmet.useNewEmmet is set to true.\nShows possible emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is set to \"never\"."
40
                },
41 42
                "emmet.includeLanguages": {
                    "type": "object",
R
Ramya Achutha Rao 已提交
43
                    "default": {},
44
                    "description": "Applicable only when emmet.useNewEmmet is set to true.\nEnable emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language.\n Eg: {\"vue-html\": \"html\", \"javascript\": \"javascriptreact\"}"
45
                },
46 47 48 49 50 51 52 53 54 55 56 57
                "emmet.variables":{
                    "type": "object",
                    "properties": {
                        "lang": {
                            "type": "string",
                            "default": "en"
                        },
                        "charset": {
                            "type": "string",
                            "default": "UTF-8"
                        }
                    },
58
                    "default":{},
59
                    "description": "Applicable only when emmet.useNewEmmet is set to true.\nVariables to be used in emmet snippets"
60 61 62 63 64
                }
            }
        }
    },
    "scripts": {
65
        "compile": "gulp compile-extension:emmet"
66 67
    },
    "devDependencies": {
68 69
        "@types/node": "^7.0.4",
		"vscode": "1.0.1"
70 71
    },
    "dependencies": {
72
        "@emmetio/expand-abbreviation": "^0.5.8",
73 74
        "@emmetio/extract-abbreviation": "^0.1.1",
        "@emmetio/html-matcher": "^0.3.1",
75
        "@emmetio/css-parser": "^0.3.0",
76
        "@emmetio/math-expression": "^0.1.1",
77
        "vscode-emmet-helper":"0.0.28",
78
        "vscode-languageserver-types": "^3.0.3"
79 80
    }
}