Add npm start script alias for npm run serve

This commit is contained in:
Keavon Chambers
2022-01-12 06:14:32 -08:00
parent 97db01ebac
commit df9977194b
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
"description": "Graphite's web app frontend. Planned to be replaced by a native GUI written in Rust in the future.",
"private": true,
"scripts": {
"start": "vue-cli-service serve || (npm install && vue-cli-service serve)",
"serve": "vue-cli-service serve || (npm install && vue-cli-service serve)",
"build": "vue-cli-service build || (npm install && vue-cli-service build)",
"lint": "vue-cli-service lint || echo There were lint errors. If the linter execution fails, try running `npm install` first.",