it:adjasmine howto initialize your project directory
# IT:AD:Jasmine:HowTo:Initialize your Project Directory #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
Jasmine can be using [[IT/AD/Node.JS/]].
## Process ##
Use [[IT/AD/NPM/]] to install it:
npm install -g jasmine
Now that it's installed, you can initialize your project's folder:
* [[IT/AD/Jasmine/HowTo/Initialize your Project Directory]]
CD to your projects directory and `init` it:
cd c:\Spikes\Jasmine
jasmine init
It will create a directory, putting a `jasmine.json` file in it:
/specs/
/specs/support/
/specs/support/jasmine.json
which defines which folder contain the specs and the file name format:
{
"spec_dir": "spec",
"spec_files": [
"**/*[sS]pec.js"
],
"helpers": [
"helpers/**/*.js"
]
}
## Resources ##
* http://jasmine.github.io/2.0/node.html