Skip to content

SajanGhuman/React-Component_Library

Repository files navigation

Instructions to run on local machine with Docker

Pull the repo from github with: "git clone https://github.com/SajanGhuman/react-component-library.git"

Do: "cd react-component-library"

Do: "docker build -t singh_sajanpreet_coding_assignment13 ."

Finally do: "docker run -dp 8083:8083 --name singh_sajanpreet_coding_assignment13 singh_sajanpreet_coding_assignment13"

Open the link in browser: "http://localhost:8083"

For running Husky do: "npm install husky --save-dev" to install Husky

Then do :  "npx husky install" to initialize Husky

Navigate to ".husky/_/pre-commit" and add the following to the file:

#!/bin/sh

# Run lint
npm run lint

# Run format
npm run format

# Run tests
npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published