mirror of
https://github.com/axios/axios.git
synced 2026-04-11 02:11:50 +08:00
1.3 KiB
1.3 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 docs accordingly so that there are no discrepancies between the API and the documentation.
Developing
npm run testrun the jasmine and mocha testsnpm run buildrun webpack and bundle the sourcenpm run versionprepare the code for release
Please don't include changes to dist/ in your pull request. This should only be updated when releasing a new version.
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