This repository has the following libraries:
@softeq/types
@softeq/data-mappers
@softeq/mls
@softeq/data-types
@softeq/angular-mls-ri
@softeq/angular-http-data
@softeq/angular-route-data
@softeq/angular-data-types
@softeq/angular-masked-data-types
@softeq/angular-lazy
This library defines set of commands to make development easier.
npm run build -- [library name]
npm run build -- data-types-lib
npm run build -- angular-masked-data-types-lib
Builds library and its dependencies.
npm run test -- [library name]
npm run test -- data-types-lib
npm run test -- angular-masked-data-types-lib
Builds library dependencies and runs its tests
npm run prepare -- [library name]
npm run prepare -- data-types-lib
npm run prepare -- angular-masked-data-types-lib
Prepares library for publishing, built library can be found in dist
directory
- Login into npm with
@softeq
scopenpm login --scope=@softeq
- Prepare package to publish
npm run prepare -- <package name> # for example # npm run prepare -- angular-masked-data-types-lib
- Go to
dist/<package name>
directory (for example,dist/angular-masked-data-types-lib
) - Publish target package
npm publish --access=public