0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

build(core): add prepare script to the logto root postinstall life cycle (#292)

* build(core): add prepare script to the logto root postinstall life cycle

add prepare script to the logto root postinstall life cycle

* ci(core): update prepack script

add prepare:pack script to the logto root level

* fix(prepack): cr fix

rename to prepack
This commit is contained in:
simeng-li 2022-03-07 13:50:21 +08:00 committed by GitHub
parent 607a5344c2
commit 5368cb31f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
"lerna": "lerna",
"bootstrap": "lerna bootstrap",
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
"prepack": "lerna run --stream prepack",
"dev": "lerna run --stream prepack && lerna --scope=@logto/{core,ui,console} exec -- pnpm dev"
},
"devDependencies": {