1.0.1 • Published 2 years ago
asseco-moi-commons v1.0.1
Building and using library locally
- Build project with command
npm run build- Use "pack" to create library archive in project root
npm pack- Copy the archive to the project where the library is needed and install it. (You can put it in a "lib" folder to keep things organized)
npm install ./lib/asseco-commons-x.x.x.tgz- Repeat procedure for every new version
Building and using library with npm repository
- Log into npm.
npm login- Build project with command
npm run build- Publish to npm
npm publish- Install
npm install asseco-commons