command below does publish the package to online repo.
npm publish
npm version <patch|minor|major>
{
"files": ["dist", "src/common/*.js"]
}
implement .npmignore
file, same semantic as .gitignore
command below does publish the package to online repo.
npm publish
npm version <patch|minor|major>
{
"files": ["dist", "src/common/*.js"]
}
implement .npmignore
file, same semantic as .gitignore