Skip to content

Commit

Permalink
dynamicweb#86 Add Linux .vscode settings.json to support emeraldwalk.…
Browse files Browse the repository at this point in the history
…runonsave
  • Loading branch information
heyyo-droid committed Mar 1, 2024
1 parent dd7324f commit bb58449
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .vscode/settings-linux.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"workbench.colorTheme": "Tomorrow Night Blue",
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"files.associations": {
"*.cshtml": "razor"
},
"html.format.wrapLineLength": 0,
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.root": "/docs",
"liveServer.settings.CustomBrowser": "chrome",
"es6-css-minify.cssMinPath": "/dist/css",
"es6-css-minify.genCSSmap": true,
"es6-css-minify.genJSmap": true,
"es6-css-minify.jsMinPath": "/dist/js",
"es6-css-minify.minifyOnSave": "yes",
"es6-css-minify.enableAutoprefixer": true,
"es6-css-minify.enableAutoprefixerSelection": true,
"es6-css-minify.js": {
"mangle": true,
"compress": {
"unused": true
},
"output": {
"quote_style": 0
},
"warnings": true
},
"es6-css-minify.css": {
"rebase": false
},
"emeraldwalk.runonsave": {
"commands": [
{
"match": ".*",
"isAsync": true,
"cmd": "echo 'File saved: ${file} '"
},
{
"match": "src/.*js$",
"isAsync": true,
"cmd": "sleep .1 && cp src/*.js dist/js/"
},
{
"match": "src/.*css$",
"isAsync": true,
"cmd": "sleep .1 && cp src/*.css dist/css/"
},
{
"match": ".css$",
"isAsync": true,
"cmd": "sleep .6 && cp dist/css/*.min.* docs/assets/css/"
},
{
"match": ".js$",
"isAsync": true,
"cmd": "sleep .3 && cp dist/js/*.min.* docs/assets/js/"
},
]
},
"liveServer.settings.port": 5501
}

0 comments on commit bb58449

Please sign in to comment.