mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
931cc8f010
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com> Co-authored-by: Jason Saayman <jasonsaayman@gmail.com>
1.0 KiB
1.0 KiB
Contributing
We accept community contributions. By contributing to axios, you agree to follow the code of conduct.
Code style
Follow the node style guide.
Commit messages
Follow conventional commits.
Testing
Update tests for your changes. Pull requests must pass GitHub Actions.
Documentation
Update the documentation when the API changes, so the API and docs stay in sync.
Developing
npm run testruns the Jasmine and Mocha testsnpm run buildruns Rollup and bundles the sourcenpm run versionprepares the code for release
Running examples
Use the examples for manual testing.
Run the examples:
> npm run examples
# Open 127.0.0.1:3000
Run the browser sandbox:
> npm start
# Open 127.0.0.1:3000
Run the terminal sandbox:
> npm start
> node ./sandbox/client