scss-to-css/package.json

94 lines
2.4 KiB
JSON

{
"name": "scss-to-css",
"displayName": "scss-to-css",
"description": "🔥 最简单易用的SCSS编译器, 可自动编译scss文件及补全前缀",
"version": "1.1.0",
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
"engines": {
"vscode": "^1.28.0"
},
"categories": ["Other"],
"activationEvents": ["*"],
"main": "./index",
"contributes": {
"commands": [
{
"command": "Scss2css.compile",
"title": "Compile this scss..."
}
],
"menus": {
"editor/context": [
{
"when": "!inOutput",
"command": "Scss2css.compile",
"title": "Compile this scss..."
}
]
},
"keybindings": [
{
"command": "Scss2css.compile",
"key": "cmd+shift+c"
}
],
"configuration": {
"type": "object",
"title": "Scss-to-css 配置",
"properties": {
"Scss2css.compileOnSave": {
"type": "boolean",
"default": true,
"description": "保存后自动编译"
},
"Scss2css.autoPrefixer": {
"type": "boolean",
"default": true,
"description": "是否自动补全浏览器前缀(可以手动在项目根目录添加 .browserslistrc)"
},
"Scss2css.output": {
"type": "string",
"default": "compressed",
"description": "css 文件输出方式. 使用 \"nested\", \"expanded\", \"compact\" or \"compressed\" .\n PS. 如果需要同时编译多种, 可用'|' 分隔, 如 compact | compressed \n 注: 如果编译多种,会自动微调文件名, 编译单个则不微调。"
},
"Scss2css.exclude": {
"type": "string",
"default": "",
"description": "要忽略的文件的正则表达式(默认不编译var.scss文件)。"
}
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/yutent/scss-to-css.git"
},
"keywords": [
"css",
"scss",
"sass",
"easy scss",
"easy sass",
"less",
"compile",
"postcss",
"autoprefixer",
"yutent"
],
"scripts": {
"test": "node ./node_modules/vscode/bin/test"
},
"license": "MIT",
"devDependencies": {
"vscode": "^1.1.21"
},
"dependencies": {
"node-sass": "^4.10.0",
"iofs": "^1.1.0",
"postcss": "^7.0.6",
"autoprefixer": "^9.3.1"
}
}
Scss编译插件, 简单易用。无需配置复杂的环境, 保存自动编译,并根据你的需求补全浏览器前缀。1.0.0版是给Sublime Text 用的。 之后的版本是vscode专用。
JavaScript 98.5%
SCSS 1.5%