Contributions are welcome and appreciated!
First fork the repo to your own github org, then do the following steps to get started:
# clone your fork to your local machine
git clone https://github.com/YOUR_USER_OR_ORG/raygun-sourcemap-webpack-plugin.git
# change to local repo directory
cd raygun-sourcemap-webpack-plugin
# install dependencies
npm installnpm testThe codebase adheres to the Airbnb Styleguide with some tweaks per our personal preferences and is enforced using ESLint.
npm run lintSource code for the plugin is written with ES6
syntax and transpiled using babel. The build is output to ./dist.
npm run buildWe use the excellent module, nyc, for coverage and strive for 100%. The coverage report will be displayed in the terminal after tests run.
Before you submit a pull request from your forked repo, check that it meets these guidelines:
- If the pull request fixes a bug, it should include tests that fail without the changes, and pass with them.
- Please update README.md accordingly, if relevant, as part of the same PR.
- Please rebase and resolve all conflicts before submitting.