Last active
February 5, 2016 14:20
-
-
Save degt/8981673 to your computer and use it in GitHub Desktop.
Gruntjs workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
// set up grunt | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Install grunt globally | |
npm install grunt-cli -g | |
//Check grunt version | |
grunt --version | |
//Create a package.json | |
//Add grunt to your project | |
npm install grunt-cli --save-dev | |
//Also run this command if is needed | |
npm install | |
//Let's create a gruntfile.js | |
//Now you can run | |
grunt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Example", | |
"version" : "0.0.1", | |
"private" : true, | |
"devDependencies" : { | |
"grunt" : "latest" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why "private" : true you are setting the flag here ...?