chore: add watch scripts for types and update dev scripts

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-15 12:12:52 +02:00
parent 630db6d5c3
commit 0944146842
8 changed files with 27 additions and 16 deletions
+3 -1
View File
@@ -30,9 +30,11 @@
],
"sideEffects": false,
"scripts": {
"dev": "vite build --watch",
"dev": "pnpm types:watch & pnpm build:watch",
"build": "vite build",
"build:watch": "vite build --watch",
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
"types:watch": "vue-tsc --declaration --emitDeclarationOnly --watch",
"lint": "eslint --ext .js,.ts,.vue ./",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"