smg-commons
v0.0.16
Published
smg-commons
Downloads
8
Readme
Documentation smg-commons library
How to build NPM package:
- On root path, run
npm run package
. That will create a packageable bundle under lib folder. - On root path, run
npm run publish
. That will publich a new version of the library on npm index.
How to use library:
- From root project that will use smg-commons, run
npm install --save smg-commons
- From any existing component in your project, import an existing component. In example, Page:
import Page from 'smg-commons'
Available components:
-Test: Component used for library integration testing
Notes:
- You should be logged in on npm thorugh command line. Ask for credentials.
- Increase version of published version on lib/package.json's version field. Follow semver conventions.