Quick start
This project is intended to be used with the latest Active LTS release of [Node.js][nodejs]. To start, just clone the repository with following commands:
git clone https://github.com/akashshinde/git-service-libcd git-service-libnpm install
How to use
Get git service from factory method
const service = getGitService;
API available
Check if Repo exist
const resp =
Get list of branches
const branchList =
Detect build type
const buildTypes =
Get list of files exist in the repo
const buildTypes =
Available scripts
clean
- remove coverage data, Jest cache and transpiled files,build
- transpile TypeScript to ES6,build:watch
- interactive watch mode to automatically transpile source files,lint
- lint source files and tests,test
- run tests,test:watch
- interactive watch mode to automatically re-run tests