2018-12-03 10:00:21 +08:00
|
|
|
{
|
|
|
|
"name": "scss-to-css",
|
|
|
|
"displayName": "scss-to-css",
|
2018-12-17 11:50:49 +08:00
|
|
|
"description": "🔥 最简单易用的SCSS编译器, 可自动编译scss文件及补全前缀",
|
2018-12-27 18:44:32 +08:00
|
|
|
"version": "1.1.1",
|
2018-12-03 10:00:21 +08:00
|
|
|
"publisher": "yutent",
|
|
|
|
"author": "Yutent [@yutent]",
|
|
|
|
"icon": "logo.png",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.28.0"
|
|
|
|
},
|
2018-12-17 11:02:43 +08:00
|
|
|
"categories": ["Other"],
|
|
|
|
"activationEvents": ["*"],
|
2018-12-03 10:00:21 +08:00
|
|
|
"main": "./index",
|
|
|
|
"contributes": {
|
2018-12-21 15:57:39 +08:00
|
|
|
"commands": [
|
2018-12-03 10:00:21 +08:00
|
|
|
{
|
2018-12-03 10:57:30 +08:00
|
|
|
"command": "Scss2css.compile",
|
2018-12-21 15:57:39 +08:00
|
|
|
"title": "Compile this scss..."
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"editor/context": [
|
|
|
|
{
|
|
|
|
"when": "!inOutput",
|
|
|
|
"command": "Scss2css.compile",
|
|
|
|
"title": "Compile this scss..."
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"command": "Scss2css.compile",
|
|
|
|
"key": "cmd+shift+c"
|
2018-12-03 10:00:21 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
2018-12-03 10:57:30 +08:00
|
|
|
"title": "Scss-to-css 配置",
|
2018-12-03 10:00:21 +08:00
|
|
|
"properties": {
|
2018-12-03 10:57:30 +08:00
|
|
|
"Scss2css.compileOnSave": {
|
2018-12-03 10:00:21 +08:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "保存后自动编译"
|
|
|
|
},
|
2018-12-03 10:57:30 +08:00
|
|
|
"Scss2css.autoPrefixer": {
|
2018-12-03 10:00:21 +08:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2018-12-03 14:16:05 +08:00
|
|
|
"description": "是否自动补全浏览器前缀(可以手动在项目根目录添加 .browserslistrc)"
|
2018-12-03 10:00:21 +08:00
|
|
|
},
|
2018-12-03 10:57:30 +08:00
|
|
|
"Scss2css.output": {
|
2018-12-03 10:00:21 +08:00
|
|
|
"type": "string",
|
|
|
|
"default": "compressed",
|
|
|
|
"description": "css 文件输出方式. 使用 \"nested\", \"expanded\", \"compact\" or \"compressed\" .\n PS. 如果需要同时编译多种, 可用'|' 分隔, 如 compact | compressed \n 注: 如果编译多种,会自动微调文件名, 编译单个则不微调。"
|
|
|
|
},
|
2018-12-03 10:57:30 +08:00
|
|
|
"Scss2css.exclude": {
|
2018-12-03 10:00:21 +08:00
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "要忽略的文件的正则表达式(默认不编译var.scss文件)。"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-12-03 11:02:32 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/yutent/scss-to-css.git"
|
2018-12-03 10:00:21 +08:00
|
|
|
},
|
2018-12-03 11:02:32 +08:00
|
|
|
"keywords": [
|
2018-12-17 11:02:43 +08:00
|
|
|
"css",
|
2018-12-03 11:02:32 +08:00
|
|
|
"scss",
|
|
|
|
"sass",
|
|
|
|
"easy scss",
|
|
|
|
"easy sass",
|
|
|
|
"less",
|
|
|
|
"compile",
|
|
|
|
"postcss",
|
|
|
|
"autoprefixer",
|
|
|
|
"yutent"
|
|
|
|
],
|
2018-12-17 11:02:43 +08:00
|
|
|
"scripts": {
|
|
|
|
"test": "node ./node_modules/vscode/bin/test"
|
|
|
|
},
|
2018-12-03 10:00:21 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
|
|
|
"vscode": "^1.1.21"
|
2018-12-03 10:57:30 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-12-27 18:44:32 +08:00
|
|
|
"autoprefixer": "^9.3.1",
|
2018-12-03 10:57:30 +08:00
|
|
|
"iofs": "^1.1.0",
|
2018-12-27 18:44:32 +08:00
|
|
|
"postcss": "^7.0.6"
|
2018-12-03 10:00:21 +08:00
|
|
|
}
|
|
|
|
}
|