npm run build:auth-lib
or
ng build auth-lib --watch
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files, including library source files
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
ng build auth-lib
cd dist/auth-lib
npm adduser
npm publish
Modify your package name (in package.json), module name has to be unique in npm registry
Chihab Otmani