README
WeTravel NPM components
This repo contains all wetravel common components which are used designing wetravel UI e.g. button, input, textarea and etc.
Setup
clone this repo to your work place destop or somewhere
Usage
- open
YourName-MacBook-Pro:common-components sakit$
directory in any code editor - add your component to
components/
directory withless
file - import your component to root
index.js
file - go to root
YourName-MacBook-Pro:common-components sakit$
in bash and runnpm run build
- run
npm login
then enter Username:wtadmin
, Password:HAYrj5WK4JG@
, Email:admin@wetravel.com
- open
package.json
file and updateversion
field, e.g. from"1.1.3"
to"1.1.4"
- run
npm publish
- last, don't forget to commit your changes