inpeco-layout-manager4
v1.0.0
Published
Downloads
4
Readme
NpmBuilder
this projects builds your Angular 6 module
Prerequisites:
node (eg v8.11.2)
npm (eg v5.6.0)
How to:
install dependencies
npm install
Copy and paste
A) csg.yaml file under project root.
B) all your module code (layout_manager\clients\typescript-angular\com\inpeco\automation\layoutmanager) under "src/library" folder
C) all your tests under "src/tests/ folder
Run builder
node app.js
this will read project name && version from yaml file and will update package json.
then it executes test with karma + jasmine
if tests are successfull it will create the package "@inpeco-module-package" under dist/ directory
(if you want a npm private package use @+packagename)
deploy on npm
cd dist/\@inpeco-module-package/
A) Deploy on official npm registry "https://registry.npmjs.org/"
npm login npm publish
how to remove? npm unpublish packagename -f
B) Deploy to local npm instance update the following code into package.json "publishConfig":{ "registry":"https://registry.npmjs.org/" },