Build: streamlined npm publish

This commit is contained in:
Aria Minaei 2021-06-28 13:35:06 +02:00
parent dfcd2814ae
commit 1724e2f030
4 changed files with 14 additions and 5 deletions

View file

@ -0,0 +1,5 @@
if (process.env.THEATRE_IS_PUBLISHING !== 'true') {
throw Error(
`This script may run only when the "prepare" command in root/theatre is running.`,
)
}