mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-01-07 10:20:22 -06:00
Add prepack lifecycle script to TypeScript guest aswell to ease publishing.
This commit is contained in:
3
guests/typescript/.gitignore
vendored
3
guests/typescript/.gitignore
vendored
@@ -1,2 +1,5 @@
|
||||
dist/
|
||||
node_modules/
|
||||
|
||||
# pnpm pack
|
||||
*.tgz
|
||||
|
||||
@@ -71,10 +71,11 @@
|
||||
"directory": "guests/typescript"
|
||||
},
|
||||
"scripts": {
|
||||
"generate:types": "jco types wit/ -o generated/types",
|
||||
"build": "vite build",
|
||||
"check": "tsc --noEmit --skipLibCheck && vite build && eslint",
|
||||
"format": "prettier -w src tests",
|
||||
"generate:types": "jco types wit/ -o generated/types",
|
||||
"prepack": "rm -rf ./dist && pnpm build && test -e ./dist/index.js",
|
||||
"test": "vitest run"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user