Development
INFO
Want to contribute? Please read the CONTRIBUTING.md and CODE_OF_CONDUCT.md.
To develop SPECCER, fork it, and then in the project root:
shell
npm i
npm run devThis will open up the local development server. In a new bash window:
shell
npm run rollup:devTo build the code.
The relevant html files exists under /dev from the project root.
To test the code:
shell
npm testCommit
To commit, we use semantic git commits with Commitizen. So please run this when you are ready to commit your staged files:
shell
npm run commitWhen you are done with your development, create a PR with the original repository 😃
Clean code
ESLint, Prettier and Putout is used:
shell
// to check for code issues
npm run style:code
// to format code with ESLint and Prettier
npm run style:format
// to lint code with ESLint and Prettier
npm run style:lint