A simple static site generator that converts text files or markdown files into HTML files
- Fork the project
- Clone your forked project
- Install NodeJs
- Redirect to project directory
- Install the tool with
npm i -g .
- Create a new branch for feature/fix
- Start developing and test your code on your branch
- Format and lint your code (more details below)
- Create a pull request and wait for approval
- Use
npm run prettier
to format all the files in the project. - Use
npm run prettier-check
to verify whether files are already formatted, rather than overwriting them.
- Use
npm run eslint
to find issues in all the files in the project. - Use
npm run eslint-fix
to automatically fix issues.
- Use
npm run test
to run all test suites - Use
npm run test-watchAll
to run all test suites, and automatically rerun the tests on changes - Use
npm run test file
to run all test files withfile
in their names - Use
npm run test-watch file
to run all test files withfile
in their names, and automatically rerun the tests on changes