1.0.0 • Published 6 years ago
inpeco-layout-manager-new v1.0.0
NpmBuilder
this projects builds your Angular 6 module
Prerequisites:
node (eg v8.11.2)
npm (eg v5.6.0)
How to:
0) install dependencies
npm install
1) 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
2) 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)
3) 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/"
},
1.0.0
6 years ago