**chore(scripts): add dry-run script to package.json**
- Introduced a `dry-run` script to simulate `npm pack` actions without creating a package archive. - Updated the `postinstall` script to adhere to consistent formatting. These changes improve developer workflows by enabling validation of package contents before publishing and ensuring consistency.
This commit is contained in:
parent
9ae3281e97
commit
5b577f48f6
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@
|
|||
"deploy:cloud:gcp": "cd cloud-wrapper && npm run build && npm run deploy:gcp",
|
||||
"deploy:cloud:cloudflare": "cd cloud-wrapper && npm run build && npm run deploy:cloudflare",
|
||||
"deploy:cloud": "echo 'Please use one of the following commands to deploy to a specific cloud provider:' && echo ' npm run deploy:cloud:aws' && echo ' npm run deploy:cloud:gcp' && echo ' npm run deploy:cloud:cloudflare'",
|
||||
"postinstall": "echo 'Note: If you encounter dependency conflicts with TensorFlow.js packages, please use: npm install --legacy-peer-deps'"
|
||||
"postinstall": "echo 'Note: If you encounter dependency conflicts with TensorFlow.js packages, please use: npm install --legacy-peer-deps'",
|
||||
"dry-run": "npm pack --dry-run"
|
||||
},
|
||||
"bin": {
|
||||
"brainy": "cli-wrapper.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue