refactor: add watch command

This commit is contained in:
Liam DeBeasi
2023-11-01 17:23:30 -04:00
parent d1507fbfdb
commit 6e3fd70bf0
4 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,7 @@
},
"scripts": {
"build": "npm run clean && npm run compile",
"build.watch": "npm run build && npm run compile -- --watch",
"clean": "rimraf dist",
"compile": "rollup -c",
"eslint": "eslint src",

View File

@ -21,6 +21,7 @@
},
"scripts": {
"build": "npm run clean && npm run copy && npm run compile",
"build.watch": "npm run build && npm run compile -- --watch",
"clean": "rimraf dist && rimraf routing",
"compile": "rollup -c",
"eslint": "eslint src",

View File

@ -10,6 +10,7 @@
"lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache",
"bundle": "rollup --config rollup.config.js",
"build": "npm run clean && npm run bundle",
"build.watch": "npm run build && npm run bundle -- --watch",
"clean": "rimraf dist",
"sync": "sh ./scripts/sync.sh"
},

View File

@ -9,6 +9,7 @@
"lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache",
"test": "jest",
"build": "npm run clean && npm run copy && npm run copy.overlays && npm run bundle && npm run build.vetur && npm run build.web-types",
"build.watch": "npm run build && npm run bundle -- --watch",
"bundle": "rollup --config rollup.config.js",
"clean": "rimraf dist",
"build.web-types": "node ./scripts/build-web-types.js",