How to set up a Grunt JS project
This tutorial will show you how to setup a basic gruntjs project. I will presume you have already got Grunt JS installed on your machine. If you don’t, follow a previous tutorial on here explaining how...
View ArticleHow to set up tasks in Grunt JS
Grunt JS is a task runner, which means it is designed to run tasks for you. It’s your little slave bot, and you can tell it what to do, and when to do it! To follow along with this tutorial on how to...
View ArticleAutomatically add devDependencies on npm install
If you’re installing a new node module for your project, you’ll want to also add it to your devDependencies inside the package.json file. To save you having to perform this manually, you can...
View ArticleSet your node js project to private
You can easily publish a node js project by typing: npm publish But if you want to ensure that a project doesn’t get published to the npm then you need to add the private property with a value of true...
View ArticleAutomatically add npm modules to package.json on install
For an easy productivity win; you can automatically add an npm Node.js module dependency into the package.json file during the initial installation: npm install module_name --save If you now check out...
View ArticleNode.js npm cheatsheet
List all global npm packages and any dependencies npm list -g Filter npm list results npm list -g | grep grunt Don’t show dependancies in list npm list -g --depth=0 Show the latest version of a package...
View Article