scss-to-css/package.json

95 lines
2.5 KiB
JSON
Raw Permalink 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.",
2021-06-30 14:34:24 +08:00
"version": "3.1.0",
2018-12-03 10:00:21 +08:00
"publisher": "yutent",
"author": "Yutent [@yutent]",
"icon": "logo.png",
"engines": {
"vscode": "^1.28.0"
},
2021-07-02 19:42:59 +08:00
"categories": ["Formatters"],
"activationEvents": ["*"],
2021-07-05 17:51:45 +08:00
"main": "out.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,
2019-01-05 04:24:17 +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",
2019-01-05 04:24:17 +08:00
"description": "css file output style. It can be one of these [nested, expanded, compact or compressed] .\n Also can be one more styles set (split with '|'), eg. compact | 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)。"
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",
2021-07-05 17:51:45 +08:00
"vscode:prepublish": "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",
2018-12-03 10:57:30 +08:00
"iofs": "^1.1.0",
2021-06-30 14:34:24 +08:00
"postcss": "^7.0.6",
"sass": "^1.35.1"
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
}
}