scss-to-css/package.json

109 lines
3.0 KiB
JSON
Raw Normal View History

2018-12-03 10:00:21 +08:00
{
"name": "scss-to-css",
"displayName": "scss-to-css",
2019-01-05 04:24:17 +08:00
"description": "🔥 The easiest way to compile scss file to css. And autoprefixer at the same time.",
2022-10-09 14:57:50 +08:00
"version": "3.2.3",
2018-12-03 10:00:21 +08:00
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
"engines": {
"vscode": "^1.28.0"
},
2022-10-09 14:57:50 +08:00
"categories": [
"Formatters"
],
"activationEvents": [
"*"
],
"main": "index.js",
2018-12-03 10:00:21 +08:00
"contributes": {
"commands": [
2018-12-03 10:00:21 +08:00
{
2018-12-03 10:57:30 +08:00
"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"
2018-12-03 10:00:21 +08:00
}
],
"configuration": {
"type": "object",
2019-01-05 04:24:17 +08:00
"title": "Scss-to-css configuration",
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,
2019-01-05 04:24:17 +08:00
"description": "Auto compile on document saved"
2018-12-03 10:00:21 +08:00
},
2018-12-03 10:57:30 +08:00
"Scss2css.autoPrefixer": {
2018-12-03 10:00:21 +08:00
"type": "boolean",
"default": true,
2021-10-14 09:36:37 +08:00
"description": "Will autoprefixer ?(You can add .browserslistrc file to the workspace root path)"
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",
2021-10-14 09:36:37 +08:00
"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"
2018-12-03 10:00:21 +08:00
},
2018-12-03 10:57:30 +08:00
"Scss2css.exclude": {
2018-12-03 10:00:21 +08:00
"type": "string",
"default": "",
2019-01-05 04:24:17 +08:00
"description": "The RegExp of path what you can to ignore(the `var.scss file` will never be compiled)。"
2021-10-14 09:36:37 +08:00
},
"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)."
2018-12-03 10:00:21 +08:00
}
}
}
},
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"
],
2021-07-02 19:42:59 +08:00
"scripts": {
2021-07-05 17:54:57 +08:00
"start": "esbuild index.js --bundle --outfile=out.js --external:vscode --format=cjs --platform=node",
2022-03-09 16:32:52 +08:00
"pack": "npm start -- --minify"
2021-07-02 19:42:59 +08:00
},
2018-12-03 10:00:21 +08:00
"license": "MIT",
2018-12-03 10:57:30 +08:00
"dependencies": {
2018-12-27 18:44:32 +08:00
"autoprefixer": "^9.3.1",
2022-10-09 14:57:50 +08:00
"iofs": "^1.5.2",
"@bytedo/sass": "^1.54.8",
"postcss": "^7.0.6"
2021-07-02 19:42:59 +08:00
},
"devDependencies": {
2021-07-05 17:51:45 +08:00
"esbuild": "^0.12.14"
2018-12-03 10:00:21 +08:00
}
}