Platform for car subscription, rental and car sharing.
- NVM (use the .nvmrc file version of npm)
- Start storybook
npm start
- Build project
npm run build
- Build Storybook
npm run build-storybook
- Generate the icons sprite
npm run generate:icons
Scripts:
- Run all unit tests
npm run tests
- Run unit tests for a library or project
npm run test:{lib name}
- Run unit tests on watch mode for a library or project
npm run test:{lib name}:watch
Automatic
-
Go the
npm publish - ui presentational
pipeline page. -
Click on
Run pipeline
-
set the variable
VERSION_BUMP_TYPE
tomajor
|minor
|patch
-
run the pipeline
Manual
-
make sure that the version is increased in the
projects/kms-ngx-ui-presentational/package.json
-
In the console:
-
npm run build
-
npm login
-
cd dist/@kms-ngx-ui/presentational
-
npm publish --access=public
-
From your project folder run:
npm link ../kms-ngx-ui-presentational/dist/@kms-ngx-ui/presentational
Url to the public storybook: https://oneosstorybook.im-abo.com
Url to the NPM package: https://www.npmjs.com/package/@kms-ngx-ui/presentational