forked from dynamicweb/swiffy-slider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dynamicweb#86 Add Linux .vscode settings.json to support emeraldwalk.…
…runonsave
- Loading branch information
1 parent
dd7324f
commit bb58449
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |