Thank you for being interested in contributing to this project!
- Create new issue with a short description about what you are going to implement in the
Issues
tab - Fork the repository after I confirmed the issue and assigned it to you
- Install
my-ssg
to your machine - Create new branch and start working on the issue.
- Format, test and check your code before submitting a PR.
- Clone the forked repository
- Install NodeJs
- Redirect to the project directory
- Run
npm install
to generatenode_modules
folder - Run
npm install -g .
to install my-ssg globally
Run npm run prettier
to format all files with Prettier
Run npm run prettier-check
to check whether all files are formatted with Prettier
Run npm run eslint
to find errors in all files with Eslint
Run npm run eslint-fix
to fix fixable errors
Run npm test
to run all test cases
Run npm test filename.test.js
to run test for a specific file
Run npm test -- --watch
to start the test in watch mode