Skip to content

Commit

Permalink
docs: fix outdated grunt to npm scripts
Browse files Browse the repository at this point in the history
As grunt devDependencies were already remove in axios#4787, change the
grunt related CLI run, including `grunt build` and `grunt test` to
`npm run test` and `npm run build`.

Refs: axios#4787
  • Loading branch information
ckng0221 committed Nov 11, 2023
1 parent 7009715 commit d5324e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Expand Up @@ -20,9 +20,9 @@ Please update the [docs](README.md) accordingly so that there are no discrepanci

## Developing

- `grunt test` run the jasmine and mocha tests
- `grunt build` run webpack and bundle the source
- `grunt version` prepare the code for release
- `npm run test` run the jasmine and mocha tests
- `npm run build` run webpack and bundle the source
- `npm run version` prepare 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.

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Expand Up @@ -5,6 +5,6 @@ To run the examples:
1. `git clone https://github.com/axios/axios.git`
2. `cd axios`
3. `npm install`
4. `grunt build`
4. `npm run build`
5. `npm run examples`
6. [http://localhost:3000](http://localhost:3000)

0 comments on commit d5324e6

Please sign in to comment.