Remove `sudo npm` from instructions (#952)

Running `npm` as root has a lot of disadvantages (ref: https://medium.com/@ExplosionPills/dont-use-sudo-with-npm-still-66e609f5f92). Modern versions of npm allow running tools from `node_modules/.bin` by calling `npx`.
This commit is contained in:
Alex Gyoshev 2019-07-03 17:24:33 +03:00 committed by Elton Mesquita
parent 59c59faa61
commit d8f2204d3a
1 changed files with 2 additions and 2 deletions

View File

@ -178,10 +178,10 @@ Animate.css is powered by [gulp.js](http://gulpjs.com/), which means you can cre
```sh
$ cd path/to/animate.css/
$ sudo npm install
$ npm install
```
Next, run `gulp` to compile your custom builds. For example, if you want only some of the “attention seekers”, simply edit the `animate-config.json` file to select only the animations you want to use.
Next, run `npx gulp` to compile your custom builds. For example, if you want only some of the “attention seekers”, simply edit the `animate-config.json` file to select only the animations you want to use.
```javascript
"attention_seekers": {