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
- Host: GitHub
- URL: https://github.com/roppa/npm-script
- Owner: roppa
- Created: 2015-11-01T16:42:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T14:43:49.000Z (over 10 years ago)
- Last Synced: 2025-04-08T23:44:33.991Z (about 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)