scss-to-css/package.json

105 lines
2.9 KiB
JSON

{
"name": "scss-to-css",
"displayName": "scss-to-css",
"description": "🔥 The easiest way to compile scss file to css. And autoprefixer at the same time.",
"version": "3.2.2",
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
"engines": {
"vscode": "^1.28.0"
},
"categories": ["Formatters"],
"activationEvents": ["*"],
"main": "out.js",
"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 configuration",
"properties": {
"Scss2css.compileOnSave": {
"type": "boolean",
"default": true,
"description": "Auto compile on document saved"
},
"Scss2css.autoPrefixer": {
"type": "boolean",
"default": true,
"description": "Will autoprefixer ?(You can add .browserslistrc file to the workspace root path)"
},
"Scss2css.output": {
"type": "string",
"default": "compressed",
"description": "Css file output style. Dart Sass supports two output styles (expanded, compressed) .\n You can set one or two styles (split with '|'), eg. expanded | compressed \n Notice: It will auto rename the result css file"
},
"Scss2css.exclude": {
"type": "string",
"default": "",
"description": "The RegExp of path what you can to ignore(the `var.scss file` will never be compiled)。"
},
"Scss2css.indentType": {
"type": "string",
"default": "space",
"description": "Whether the generated CSS should use spaces or tabs for indentation. \n The default value is space."
},
"Scss2css.indentWidth": {
"type": "number",
"default": "2",
"description": "How many spaces or tabs (depending on indentType) should be used per indentation level in the generated CSS. It must be between 0 and 10 (inclusive)."
}
}
}
},
"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": {
"start": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --platform=node",
"pack": "npm start -- --minify"
},
"license": "MIT",
"dependencies": {
"autoprefixer": "^9.3.1",
"iofs": "^1.1.0",
"postcss": "^7.0.6",
"sass": "^1.35.1"
},
"devDependencies": {
"esbuild": "^0.12.14"
}
}
Scss编译插件, 简单易用。无需配置复杂的环境, 保存自动编译,并根据你的需求补全浏览器前缀。1.0.0版是给Sublime Text 用的。 之后的版本是vscode专用。
JavaScript 98.5%
SCSS 1.5%