An open API service indexing awesome lists of open source software.

https://github.com/roppa/npm-script

Sample application using npm scripts as an alternative to Gulp, Grunt, et al
https://github.com/roppa/npm-script

Last synced: 9 months ago
JSON representation

Sample application using npm scripts as an alternative to Gulp, Grunt, et al

Awesome Lists containing this project

README

          

#NPM Script example

This is a very simple example of the scripts attribute of package.json allowing you to run custom scripts with npm.

Grunt and Gulp are great, but I wan a much simpler and easier to use alternative, which npm gives me.

Read [my article](http://digioli.co.uk/using-npm-build-tool/) based on lots of cool resources. Many thanks to:

- [Substack](http://substack.net/task_automation_with_npm_run)
- [npm scripts documentation](https://docs.npmjs.com/cli/run-script)
- [npm blog](http://blog.npmjs.org/post/118810260230/building-a-simple-command-line-tool-with-npm)
- [modulus.io](http://blog.modulus.io/using-npm-scripts-to-build-asset-pipeline)
- [jayway](http://www.jayway.com/2014/03/28/running-scripts-with-npm/)
- [Keith Cirkel](http://blog.keithcirkel.co.uk/why-we-should-stop-using-grunt/)