apollo-server: add prepublish command

This commit is contained in:
Evans Hauser 2018-04-24 10:54:41 -07:00
parent e20755142a
commit 0992208e69
No known key found for this signature in database
GPG key ID: 88AF586817F52EEC

View file

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