4 ms·
If you're doing front-end development Use JSPM for module management, transpiling (Babel, Traceur, Typescript), and bundling live-server for LiveReload. With
by EvanPlaice 11y ago
If you're doing front-end development
Use JSPM for module management, transpiling (Babel, Traceur, Typescript), and bundling
live-server for LiveReload. With zero config it injects the LR stub and sets up a file watcher on the directory it's run in.
BrowserSync can be loaded via a npm command:
https://gist.github.com/addyosmani/9f10c555e32a8d06ddb0 https://gist.github.com/addyosmani/9f10c555e32a8d06ddb0
SASS can be setup with:
https://medium.com/@brianhan/watch-compile-your-sass-with-npm-9ba2b878415b#.5vvem7fzs https://medium.com/@brianhan/watch-compile-your-sass-with-np...
Here's what I use to build my Angular2+ES6 app:
https://github.com/evanplaice/evanplaice.com/blob/master/package.json https://github.com/evanplaice/evanplaice.com/blob/master/pac...
Using npm as the default task runner is becoming more common so it's not to difficult to find good examples thru Google.