Grunt: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 +
==Install==
 
* [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]
 
* [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 <your_project>
 
** cd <your_project>
Zeile 4: Zeile 5:
 
** touch package.json Gruntfile.js
 
** touch package.json Gruntfile.js
 
** npm install grunt --save-dev
 
** npm install grunt --save-dev
 +
 +
==Use in a new Grunt project==
 +
* npm install --save-dev
 +
* grunt
 +
 +
==Others==
 
* [http://www.anujgakhar.com/2013/02/28/writing-a-simple-grunt-task-using-gruntjs/ concatenate and minify your Javascript and CSS source files]
 
* [http://www.anujgakhar.com/2013/02/28/writing-a-simple-grunt-task-using-gruntjs/ concatenate and minify your Javascript and CSS source files]
 
* https://npmjs.org/package/grunt-frontend - minify CSS and JS
 
* https://npmjs.org/package/grunt-frontend - minify CSS and JS

Version vom 24. Juli 2013, 18:47 Uhr

Install

Use in a new Grunt project

  • npm install --save-dev
  • grunt

Others