**chore(scripts): add prepare script for pre-publish build steps**
- Introduced a `prepare` script in `package.json` that runs `build` and `build:cli` before package deployment. - Ensures that necessary build artifacts are created automatically during the publish process. This change streamlines the deployment workflow by automating pre-publish preparation tasks.
This commit is contained in:
parent
71111efede
commit
af062242ee
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
|||
"format": "prettier --write \"src/**/*.{ts,js}\"",
|
||||
"check-format": "prettier --check \"src/**/*.{ts,js}\"",
|
||||
"check-style": "node scripts/check-code-style.js",
|
||||
"prepare": "npm run build && npm run build:cli",
|
||||
"deploy": "npm run build && npm publish",
|
||||
"deploy:cloud:aws": "cd cloud-wrapper && npm run build && npm run deploy:aws",
|
||||
"deploy:cloud:gcp": "cd cloud-wrapper && npm run build && npm run deploy:gcp",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue