0.0.4 • Published 2 years ago

@digi-edu/building-blocks v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Common components package

Available scripts for development

In the project directory, you can run:

npm start

Builds the package in development mode and starts a development server.

npm run lint

Lints the code using eslint.

npm run lint:fix

Lints the code using eslint and fixes all fixable issues.

npm test

Launches the test runner in the interactive watch mode.

npm run test:coverage

Launches the test runner and creates an coverage report.

npm run build

Builds the package for development to the dist folder.
It should not be necessary to build in development since npm start will also build with a development server.

npm run start-storybook

Builds and starts the Storybook on http://localhost:6006/ . The page should reload when a change is made.

npm run build-storybook

Builds the Storybook.

npm run start-storybook:docs

Builds and starts the Storybook's documentation on http://localhost:6006/ .

npm run build-storybook:docs

Builds the Storybook's documentation

Available scripts for production

npm run build:production

Builds the package for production to the dist folder.

Available scripts for publishing to NPM repository.

npm run publish:public

Builds the package for production and publishes it.

npm run publish:public-dev

Builds the package for development and publishes it.