Created
August 8, 2017 08:13
-
-
Save T1mL3arn/6e7b35ba59bfb16fbe599e1817cc40f4 to your computer and use it in GitHub Desktop.
VSCode tasks.json tasks to work with web-ext util.
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
/* | |
NOTE: | |
it is only part of actual syntax and contains | |
task configurations for web-ext console command, | |
not a whole tasks.json! | |
MORE: | |
web-ext repo: | |
https://github.com/mozilla/web-ext | |
web-ext documentation | |
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Getting_started_with_web-ext | |
VSCode tasks.json documentation: | |
https://code.visualstudio.com/docs/editor/tasks | |
tasks.json Schema: | |
https://code.visualstudio.com/docs/editor/tasks-appendix | |
*/ | |
{ | |
"taskName": "run web-ext", | |
"type": "shell", | |
"command": "web-ext", | |
"args": [ | |
"run" | |
], | |
"suppressTaskName": true, | |
"group": "build" | |
}, | |
{ | |
"taskName": "lint web-ext", | |
"type": "shell", | |
"command": "web-ext", | |
"args": [ | |
"lint", | |
"--output=text" | |
], | |
"suppressTaskName": true, | |
"group": "build" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment