Grunt: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
 
* npm install
 
* npm install
 
* grunt
 
* grunt
 +
 +
==Structure==
 +
* '''package.json''' - file containing various metadata about an Node Packaged Modules. Project identification and description, project's dependencies, ...
 +
** dependencies field is used to list all the dependencies of your project that are available on npm
 +
** devDependencies are dependencies not required for normal operation, but required/recommended if you want to patch or modify the project. E.g. testing framework
 +
  
 
==Others==
 
==Others==

Version vom 19. August 2013, 10:57 Uhr

Install

Use in a new Grunt project

  • npm install
  • grunt

Structure

  • package.json - file containing various metadata about an Node Packaged Modules. Project identification and description, project's dependencies, ...
    • dependencies field is used to list all the dependencies of your project that are available on npm
    • devDependencies are dependencies not required for normal operation, but required/recommended if you want to patch or modify the project. E.g. testing framework


Others