reusable-charts
v1.0.0
Published
## Pre requisites
Downloads
0
Readme
PUBLISHING REUSABLE CHARTS
Pre requisites
- Create NPM account [https://www.npmjs.com/]
Flow
Terminal – (Clone - Git Bash)
- Fork Repo (on code.gramener.com) -> Clone your personal Repository – [https://code.gramener.com/reuse/reusable-charts]
- Open Terminal -> git bash
- Run git clone your repo
STEPS TO DO
- Create a NPM Directory
- Inside project repo open terminal
- type "NPM init" and fill in all the details
- install required d3 package "npm i d3"
- Inside project repo open terminal
- Open index.html in browser to see bar chart
- In command prompt
- type "npm login"
- Provide your npm account credentials
- It might ask for OTP received in your email id
- "npm publish"
- type "npm login"
Submit you code
- Commit and push the fixes to your fork. Check on Gitlab that CI/CD > Pipelines passes without errors
- Create an issue titled Exercise submission. Add a link to your repo, link to your NPM Package and submit the issue.