Skip to content

A javascript base project structure, with grunt as task runner, jasmine for the test, istanbule for coverage

Notifications You must be signed in to change notification settings

devoralive/js-base-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Status

##How to start

###Project installation :

Install nodejs and npm

http://nodejs.org/

Install grunt-cli and bower

npm install -g grunt-cli bower

Rename package.json as package.json.old.

Manage development dependenies

npm init

Copy devDependencies section from package.json.old into package.json.

Delete package.json.old.

Install development dependencies

npm install

Manage front end dependenies

bower init

Install front end dependenies

bower install --save packageName

##Test your project

###Grunt commands : Checking the code

grunt test

Run only the test with coverage

grunt jasmine:coverage

Check code syntax

grunt jshint

or

grunt jslint

About

A javascript base project structure, with grunt as task runner, jasmine for the test, istanbule for coverage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published