chore: added and renamed scripts from serve to start

This commit is contained in:
Roberto Tonino 2021-08-09 17:53:38 +02:00
parent 88d8d42a3e
commit 84655ab11a

View file

@ -4,11 +4,12 @@
"scripts": {
"clean": "rimraf public/js/bundle.js public/js/bundle.temp.js public/js/bundle.js.map",
"clean-temp": "rimraf public/js/bundle.temp.js",
"serve": "yarn --cwd ../server start",
"start": "yarn --cwd ../server start",
"start:gui": "yarn --cwd ../ start",
"build:js": "rollup -c",
"watch:js": "rollup -c -w",
"minify": "esbuild public/js/bundle.temp.js --outfile=public/js/bundle.js --minify",
"dev": "npm-run-all --parallel serve watch:js",
"dev": "npm-run-all --parallel start watch:js",
"build": "npm-run-all --sequential clean build:js minify clean-temp",
"lint": "eslint src/**/*.{js,vue} --fix",
"lint-tests": "eslint src/**/*.js --fix",