Skip to content

Instantly share code, notes, and snippets.

@degt
Last active February 5, 2016 14:20
Show Gist options
  • Save degt/8981673 to your computer and use it in GitHub Desktop.
Save degt/8981673 to your computer and use it in GitHub Desktop.
Gruntjs workflow
module.exports = function(grunt) {
// set up grunt
};
//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
{
"name" : "Example",
"version" : "0.0.1",
"private" : true,
"devDependencies" : {
"grunt" : "latest"
}
}
@kasiriveni
Copy link

why "private" : true you are setting the flag here ...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment