scss-to-css/package.json

66 lines
1.9 KiB
JSON

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