WebViewElement
In the package root directory run the following commands:
$ git init
$ git remote add origin git://git-remote-url
In the package root directory, run the $ npm init
command and pass the scope to the scope flag:
- Create an organization-scoped package
$ npm init --scope=@DealersLinkDevTeam
-
Respond to the prompts to generate a package.json file.
-
Create a README file that explains what your package code is and how to use it.
-
In your preferred text editor, write the code for your package.
Publish your private package
- On the command line, navigate to the root directory of your package.
$ cd /path/to/package
- To publish your private package to the npm registry, run:
$ npm publish
- To see your private package page, visit https://npmjs.com/package/*package-name,