https://github.com/rdmurphy/node-automation
https://github.com/rdmurphy/node-automation
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rdmurphy/node-automation
- Owner: rdmurphy
- Created: 2016-03-12T15:40:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-12T17:29:04.000Z (over 10 years ago)
- Last Synced: 2024-12-28T16:43:11.660Z (over 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automating Your Work with Node.js
Hello! This is the repo for the NICAR 2016 course "[Building tools and automation for Node.js](http://www.ire.org/events-and-training/event/2198/2452/)". We will be walking through setting up your own static site build tool with [gulp.js](http://gulpjs.com/).
There will be a snapshot of its beginning state in the `beginning` branch — the `master` branch reflects the end result.
## What you need
- [Node.js](https://nodejs.org/en/) — version 4 or greater
- npm — typically comes installed with Node.js
## What your tool will be able to do
- Automatically reload when you make changes to your code
- Concatinate your CSS, alters it to include common [browser vendor prefixes](https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix), and minify
- Concatinate your JavaScript, check it for errors, and minify
- Make your image files smaller
- Prepare your files for deployment
## On the agenda
* Install all the things!
* What is gulp?
* Writing your first gulp task
* Setting up auto-reloading with BrowserSync
* Concatinating your CSS
* Minifying your CSS
* Autoprefixing your CSS
* Concatinating your JavaScript
* Linting your JavaScript
* Minifying your JavaScript
* Minifying your images
* Putting it all together