mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
apollo-server: add prepublish command
This commit is contained in:
parent
e20755142a
commit
0992208e69
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
"deploy": "cd npm && npm publish --tag=beta",
|
||||
"postcompile": "rimraf npm && mkdir npm && cp -r dist/* npm/. && ./scripts/prepare-package.sh",
|
||||
"predeploy": "npm run compile",
|
||||
"prepublish": "npm run compile #for lerna bootstrap only",
|
||||
"publish": "echo '\n\nPlease use npm run deploy to publish apollo-server\n\n' && exit 1",
|
||||
"watch": "tsc -w"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue