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:
@@ -51,9 +51,11 @@
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "ts-patch install -s",
|
||||
"dev": "vite build --watch",
|
||||
"dev": "pnpm types:watch & pnpm build:watch",
|
||||
"build": "vite build && vite build -c vite.config.iife.ts",
|
||||
"build:watch": "vite build --watch & vite build -c vite.config.iife.ts --watch",
|
||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p ./tsconfig.build.json && shx rm -rf tmp && pnpm lint:dist && pnpm run patch",
|
||||
"types:watch": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly --watch & tsc -p ./tsconfig.build.json --watch",
|
||||
"patch": "node patch/slots.js",
|
||||
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
||||
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||
|
||||
Reference in New Issue
Block a user