To start @pkx/frontend and @pkx/backend together:
npm run dev
It executes dev:backend
and dev:frontend
through concurrently
To start backend or frontend separately use:
npm run dev:backend
# or
npm run dev:frontend
It run dev
script in @pkx/backend
and @pkx/frontend
To show map of available routes on backend use:
npm run routes
It run routes
script in @pkx/backend
To run storybook:
npm run storybook
It run storybook
script in @pkx/ui
through lerna storybook-cli on http://localhost:9001/
To run build:
npm run build
It run build
script in each package trought lerna.
Publishing through
npm publish
disabled!
Use:
npm run publish
It executes build
script in each package next run lerna publish
.
Please, test before publishing.
To remove dist
directories use:
npm run clean
To remove node_modules
use:
npx lerna clean