Skip to content
forked from dsimard/ready.js

continuous javascript integration using JSLint, Google Compiler, Node.js and Git

Notifications You must be signed in to change notification settings

arunoda/ready.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready.js : continuous integration using jslint, nodejs and git

What does it do?

  1. Check if your javascript are valid with jslint.
  2. Minify your javascript with Closure Compiler (optimize and minify your code).
  3. Watch your javascript files for jslint while you're coding.
  4. Create an aggregated file of all your javascripts.

Prerequesites

Install git and node.js.

How to install in your project (for git)

  1. run npm install ready

  2. Create config file in your_project/ready.conf.js :

     { src : "./javascripts", dest : "./minified" }
    
  3. run echo 'readyjs ready.conf.js' >> .git/hooks/pre-commit

Then, every time you commit, ready.js will be run.

How to watch your javascript files for errors with jslint

run watchjs ready.conf.js

How to use ready.js

By installing with npm, you can call readyjs and watchjs like this : readyjs ready.conf.js

Want to know more?

About

continuous javascript integration using JSLint, Google Compiler, Node.js and Git

Resources

Stars

Watchers

Forks

Packages