Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 682 Bytes

READOWNER.md

File metadata and controls

23 lines (19 loc) · 682 Bytes

How to contribute to smooth-validator

Clone git repo in new directory called node_modules/

$ git clone git@github.com:uzrnem/smooth-validator.git

do your changes in index.js add validator function then, go to test directory and add proper test cases, and rise PR to github.

and Login to npm

$ cd ./node_modules/smooth-validator/
node_modules/smooth-validator$ npm login // Login to NPM, if not already
node_modules/smooth-validator$ npm adduser
node_modules/smooth-validator$ npm whoami // check if username is correct

Change Version and Publish Changes

node_modules/smooth-validator$ npm version 1.0.5
node_modules/smooth-validator$ npm publish