mirror of
https://github.com/axios/axios.git
synced 2026-04-11 02:11:50 +08:00
1.2 KiB
1.2 KiB
Contributing
We are open to, and grateful for, any contributions made by the community. By contributing to axios, you agree to abide by the code of conduct.
Code Style
Please follow the node style guide.
Commit Messages
Please follow conventional commits
Testing
Please update the tests to reflect your code changes. Pull requests will not be accepted if they are failing on GitHub actions.
Documentation
Please update the documentation accordingly so that there are no discrepancies between the API and the documentation.
Developing
npm run testruns the jasmine and mocha testsnpm run buildruns rollup and bundles the sourcenpm run versionprepares the code for release
Running Examples
Examples are included in part to allow manual testing.
Running example
> npm run examples
# Open 127.0.0.1:3000
Running sandbox in browser
> npm start
# Open 127.0.0.1:3000
Running sandbox in terminal
> npm start
> node ./sandbox/client