Grunt: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Created page with "* [http://gruntjs.com/getting-started Getting Started with Grunt], [http://stackoverflow.com/a/15712530/2510374 How to install grunt and how to built script with it] ** cd <yo...") |
|||
Zeile 14: | Zeile 14: | ||
** https://github.com/gruntjs/grunt-contrib-livereload | ** https://github.com/gruntjs/grunt-contrib-livereload | ||
*** Dependency: npm install grunt-contrib-connect https://npmjs.org/package/grunt-contrib-connect | *** Dependency: npm install grunt-contrib-connect https://npmjs.org/package/grunt-contrib-connect | ||
+ | |||
+ | [[Category: Software]] |
Version vom 24. Juli 2013, 18:15 Uhr
- Getting Started with Grunt, How to install grunt and how to built script with it
- cd <your_project>
- npm install -g grunt-cli
- touch package.json Gruntfile.js
- npm install grunt --save-dev
- concatenate and minify your Javascript and CSS source files
- https://npmjs.org/package/grunt-frontend - minify CSS and JS
- grunt-contrib-jade - compiles Jade html language
- Jade Readme Contents
- npm install grunt-contrib-jade --save-dev
- simplemon - Simple file monitor that executes commands whenever a file change occurs
- simplemon -O jade html_templates jade_templates
- http://livereload.com/
- https://github.com/gruntjs/grunt-contrib-livereload
- Dependency: npm install grunt-contrib-connect https://npmjs.org/package/grunt-contrib-connect
- https://github.com/gruntjs/grunt-contrib-livereload