biletiniz
## Publishing private packages like @biletiniz/eslint-config ### Creating @biletiniz/eslint-config package 1. Create `eslint` folder ``` mkdir `packages\configs\eslint` ``` 2. Navigate to the root directory of your package ``` cd packages\configs\eslint `
Last updated 2 months ago by dania91 .
Original npm · Tarball · package.json
$ cnpm install biletiniz 
SYNC missed versions from official npm registry.

biletiniz

Publishing private packages like @biletiniz/eslint-config

Creating @biletiniz/eslint-config package

  1. Create eslint folder
mkdir `packages\configs\eslint` 
  1. Navigate to the root directory of your package
cd packages\configs\eslint
  1. In the package root directory, run the npm init command
npm init --scope=@biletiniz
  1. Write the code for your package.

Publishing @biletiniz/eslint-config package

  • By default, scoped packages are published with private visibility. First of all you need to login to npm account using npm adduser adding your npm user name and password and email and then do these steps:
  1. On the command line, navigate to the root directory of your package.
cd packages\configs\eslint
  1. To publish the package to the npm registry, run:
npm publish

To see your private package page, visit https://www.npmjs.com/package/@biletiniz/eslint-config, Private packages will say private below the package name on the npm website.

References

  • Creating and publishing private packages https://docs.npmjs.com/creating-and-publishing-private-packages

  • Writing & Publishing your First NPM Package! https://www.youtube.com/watch?v=4zzbNac6f6Q

Current Tags

  • 0.0.0                                ...           latest (2 months ago)

1 Versions

  • 0.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |