1.0.0 • Published 3 years ago
sf_8.5.1_npm_pkg v1.0.0
8.5 NPM servie for creating and using PKG with github
This is an exercise for DevOps training from SkillFactory.ru - DEVOPS
How To
to install Nodejs & npm
yum install nodejs
yum install npm
to make git repo
mkdir sf_8.2_npm_pkg && cd sf_8.2_npm_pkg
git init
git status
git remote add origin https://github.com/dkspace/sf_8.5.1_npm_pkg.git
git remote -v
git pull origin master
git add .
git status
git commit -m "repo initiated"
git push origin master
git commit -m "repo sinchronized"
to add some javascript code app
# i ised part of my existing code for interactive geo map
to configre package.json
gitHub repo should be added into package.json
"name": "sf_8.5.1_npm_pkg",
"author": "Dmik",
"dependencies": {
"sf_8.5.1_npm_pkg": "https://github.com/dkspace/sf_8.5.1_npm_pkg.git"
}
to publish pkg into NMP resorce
npm publish
How to use
npm install sf_8.5.1_npm_pkg
links
1.0.0
3 years ago