Game Development Reference
In-Depth Information
Figure 9-12. We'll start by setting up a project.json file through npm init.
Don't forget that you will need to make sure you have Grunt installed. You can read more
about it here and, if you don't have it installed, simply type the following into the command
line:
> npm install -g grunt-cli
Now we just want to install a few Grunt tasks.
> npm install grunt-contrib-watch --save-dev
> npm install grunt-contrib-copy --save-dev
> npm install grunt-contrib-concat --save-dev
> npm install grunt-contrib-connect --save-dev
> npm install grunt-open --save-dev
You should end up with a package.json that looks like this:
{
"name": "HeroineDusk",
"version": "1.0.0",
"description": "ERROR: No README.md file found!",
"main": "index.html",
Search WWH ::




Custom Search