UNPKG

number-converter

Version:
40 lines (27 loc) 1.07 kB
## Contributing Code To contribute to number-converter, fork this repository, clone it and install dependencies: ``` git clone https://github.com/YOUR_USERNAME/number-converter.git cd number-converter npm install ``` All code changes should be made against the develop branch: `git checkout develop` ### Verifying Code Before pushing any commits, ensure your code meets standards by running: ``` npm run check --silent ``` The output should look similar to: ``` Started ............................................................ 60 specs, 0 failures Finished in 0.050 seconds ``` If any problems are shown in the output, they should be fixed before code changes are committed. This command performs the following three steps. #### Testing Code Use `npm test` to run all unit tests in the `spec` directory. #### Linting Code Use `npm run lint` to check all code (including unit tests) for constructs which have been known to lead to bugs. #### Checking Code Style Use `npm run style` to check that code meets established style standards for this project.