**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:
David Snelling 2025-07-02 10:26:15 -07:00
parent c73562bbaa
commit aac9bec0e1

View file

@ -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",