1.0.5 • Published 5 years ago
npm-hello-world-from-yuki v1.0.5
npm tutorial
mkdir npm-helloworldcd npm-helloworld/npm init
{
"name": "npm-helloworld",
"version": "1.0.0",
"description": "This is hello world!",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Yuki Agatsuma",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/yukiaga/npm-hello-world.git"
},
"keywords": [
"npm",
"npm-hello-world"
],
"bugs": {
"url": "https://github.com/yukiaga/npm-hello-world/issues"
},
"homepage": "https://github.com/yukiaga/npm-hello-world#readme"
}git inittouch README.mdgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin git@github.com:yukiaga/npm-hello-world.gitgit push -u origin mainnpm addusernpm loginnpm whoaminpm versionnpm publish