Info for local developers to get the package up and running locally and publish it live
-
In current package directory run
npm link
npm link
-
In the directory you want to consume the package, run the following:
npm link eleventy-plugin-embed-tweet
npm config set scope kylemit
npm config set access public
A) Login to npm
npm login
or
B) For multiple accounts
Add .npmrc
file in the current directory with the following info:
//registry.npmjs.org/:_authToken=***
Revision version number in package.json
npm publish --access public