From e20f99b74b55fdb3edbcfe5bfdb700fc1a5e9574 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 22 May 2020 04:07:34 +0200 Subject: viewer: npm build:report command, to generate ./dist/report.html --- viewer/.vscode/tasks.json | 86 ++++++++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 38 deletions(-) (limited to 'viewer/.vscode/tasks.json') diff --git a/viewer/.vscode/tasks.json b/viewer/.vscode/tasks.json index 102002d..cb1cdb2 100644 --- a/viewer/.vscode/tasks.json +++ b/viewer/.vscode/tasks.json @@ -1,39 +1,49 @@ { - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "type": "npm", - "script": "build", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [ - "$tsc" - ] - }, - { - "type": "npm", - "script": "serve", - "problemMatcher": [ - "$tsc" - ] - }, - { - "type": "npm", - "script": "lint-autoformat", - "problemMatcher": [ - "$tsc" - ] - }, - { - "type": "npm", - "script": "lint", - "problemMatcher": [ - "$tsc" - ] - } - ] -} \ No newline at end of file + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "build", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$tsc" + ] + }, + { + "type": "npm", + "script": "serve", + "problemMatcher": [ + "$tsc" + ] + }, + { + "type": "npm", + "script": "lint-autoformat", + "problemMatcher": [ + "$tsc" + ] + }, + { + "type": "npm", + "script": "lint", + "problemMatcher": [ + "$tsc" + ] + }, + { + "type": "npm", + "script": "build:report", + "problemMatcher": [ + "$tsc" + ], + "group": "build", + "label": "npm: build:report", + "detail": "vue-cli-service build --report", + } + ] +} -- cgit v1.2.3