jh-common-global
TypeScript icon, indicating that this package has built-in type declarations

1.3.104 • Public • Published

NPM Package Demo

This is a companion project for [Build & publish your own private npm package].

Example

If you want validation on form and use this common function for validate all form's fields. 🎉

Usage only if we want to use bitbucket

  1. $ npm install in both /jh-common
  2. $ npm install -g parcel-bundler to install parcel globally
  3. In your current repo, import jh-common either:
    1. Locally
    $ npm link /YOUR-PATH/jh-common
    1. From your repo
    $ npm i git+https://DheerajVarshney8800@bitbucket.org/jh-frontend/jh-global-frontend.git
    1. Or from npm
    $ npm i jh-common
  4. Run parcel $ parcel index.html
  5. View in browser at the parcel gives you, probably localhost:1234

Publish packages steps and use npm install jh-common-global

  1. Changes file if any you want
  2. do $ npm run build
  3. You will see - changes on dist folder's file
  4. add +1 version in package.json file
  5. $ npm publish - you will see a sucess message
  6. now update this package in used project - $ npm install jh-common-global - you will see updated version number

Readme

Keywords

none

Package Sidebar

Install

npm i jh-common-global

Weekly Downloads

154

Version

1.3.104

License

none

Unpacked Size

60.6 kB

Total Files

20

Last publish

Collaborators

  • dheerajvarshney8800