notes/coc/extensions/node_modules/coc-emmet/package.json

204 lines
6 KiB
JSON

{
"name": "coc-emmet",
"version": "1.1.6",
"description": "emmet extension for coc",
"main": "lib/index.js",
"publisher": "chemzqm",
"keywords": [
"coc.nvim",
"emmet",
"html",
"css"
],
"engines": {
"coc": "^0.0.29"
},
"scripts": {
"clean": "rimraf lib",
"build": "webpack",
"prepare": "npx npm-run-all clean build"
},
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Emmet",
"properties": {
"emmet.showExpandedAbbreviation": {
"type": [
"string"
],
"enum": [
"never",
"always",
"inMarkupAndStylesheetFilesOnly"
],
"default": "always",
"markdownDescription": "Shows expanded Emmet abbreviations as suggestions."
},
"emmet.showAbbreviationSuggestions": {
"type": "boolean",
"default": true,
"markdownDescription": "Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is 'never'."
},
"emmet.includeLanguages": {
"type": "object",
"default": {},
"markdownDescription": "Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language. E.g.: `{\"vue-html\": \"html\", \"javascript\": \"javascriptreact\"}`"
},
"emmet.variables": {
"type": "object",
"properties": {
"lang": {
"type": "string",
"default": "en"
},
"charset": {
"type": "string",
"default": "UTF-8"
}
},
"default": {},
"description": "Variables to be used in Emmet snippets"
},
"emmet.syntaxProfiles": {
"type": "object",
"default": {},
"description": "Define profile for specified syntax or use your own profile with specific rules."
},
"emmet.excludeLanguages": {
"type": "array",
"default": [
"markdown"
],
"description": "An array of languages where Emmet abbreviations should not be expanded."
},
"emmet.extensionsPath": {
"type": "string",
"default": null,
"description": "Path to a folder containing Emmet profiles and snippets."
},
"emmet.showSuggestionsAsSnippets": {
"type": "boolean",
"default": true,
"markdownDescription": "Show emmet completion items as snippet kind."
},
"emmet.preferences": {
"type": "object",
"default": {},
"description": "Preferences used to modify behavior of some actions and resolvers of Emmet.",
"properties": {
"css.intUnit": {
"type": "string",
"default": "px"
},
"css.floatUnit": {
"type": "string",
"default": "em"
},
"css.propertyEnd": {
"type": "string",
"default": ";"
},
"sass.propertyEnd": {
"type": "string",
"default": ""
},
"stylus.propertyEnd": {
"type": "string",
"default": ""
},
"css.valueSeparator": {
"type": "string",
"default": ": "
},
"sass.valueSeparator": {
"type": "string",
"default": ": "
},
"stylus.valueSeparator": {
"type": "string",
"default": " "
},
"bem.elementSeparator": {
"type": "string",
"default": "__"
},
"bem.modifierSeparator": {
"type": "string",
"default": "_"
},
"filter.commentBefore": {
"type": "string",
"default": ""
},
"filter.commentAfter": {
"type": "string",
"default": "\n<!-- /[#ID][.CLASS] -->"
},
"filter.commentTrigger": {
"type": "array",
"default": [
"id",
"class"
]
},
"format.noIndentTags": {
"type": "array",
"default": [
"html"
]
},
"format.forceIndentationForTags": {
"type": "array",
"default": [
"body"
]
},
"profile.allowCompactBoolean": {
"type": "boolean",
"default": false
},
"css.fuzzySearchMinScore": {
"type": "number",
"default": 0.3
}
}
},
"emmet.optimizeStylesheetParsing": {
"type": "boolean",
"default": true,
"markdownDescription": "When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed."
},
"emmet.priority": {
"type": "integer",
"default": 3
}
}
}
},
"author": "chemzqm@gmail.com",
"license": "MIT",
"devDependencies": {
"@chemzqm/tsconfig": "^0.0.3",
"@chemzqm/tslint-config": "^1.0.18",
"@types/node": "^10.14.7",
"coc.nvim": "^0.0.67",
"rimraf": "^2.6.3",
"ts-loader": "^6.0.3",
"tslint": "^5.16.0",
"typescript": "^3.4.4",
"webpack": "^4.34.0",
"webpack-cli": "^3.3.4",
"@emmetio/css-parser": "ramya-rao-a/css-parser#vscode",
"@emmetio/html-matcher": "^0.3.3",
"@emmetio/math-expression": "^0.1.1",
"vscode-languageserver-protocol": "^3.15.0-next.5",
"vscode-uri": "^1.0.6"
},
"dependencies": {
"vscode-emmet-helper": "^1.2.15"
}
}