feat: Add postinstall script

This commit is contained in:
Edwin
2023-06-14 10:50:36 +08:00
parent 5701cf68df
commit 7fdeb18423

View File

@@ -5,14 +5,15 @@
"private": true,
"packageManager": "pnpm@8.4.0",
"scripts": {
"taze": "taze minor -wIr && pnpm -r --parallel run update-post",
"build": "rimraf packages/*/dist && esno scripts/copy-files.ts && pnpm -r --filter=./packages/* run build && pnpm -r run build-post",
"dev": "pnpm stub",
"play": "npm -C playground run dev",
"lint": "eslint --cache .",
"lint:fix": "pnpm lint --fix",
"postinstall": "pnpm build",
"release": "bumpp -r",
"stub": "pnpm -r --filter=./packages/* --parallel run stub",
"taze": "taze minor -wIr && pnpm -r --parallel run update-post",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:update": "vitest -u",
@@ -70,4 +71,4 @@
"eslint --cache --fix"
]
}
}
}