66 lines
1.9 KiB
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"
|
|
}
|
|
}
|
JavaScript
98.5%
SCSS
1.5%