3.1.0 • Published 11 years ago

ready.js v3.1.0

Weekly downloads
60
License
-
Repository
github
Last release
11 years ago

Ready.js : continuous javascript integration

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.

Installation

npm install ready.js --global

Usage

usage: 
  readyjs path/to/src path/to/dest [options] 

options:
  -w | --watch            SRC       watch the files with JSLint in SRC
  -o | --order            FILES     specify an order (ex : --order "jquery.js, jquery.ui.js")
  -e | --exclude          FILES     exclude the FILES from JSLint and compilation (ex : -e "jquery.js")
  -i | --installcompiler  PATH      install the google compiler specified by PATH
  -compiledext            EXT       the compiled javascripts will have EXT as an extension
  -aggregateto            FILENAME  the compiled javascripts will be aggregated to this FILENAME
  
  --keep                  will keep the individual minified files
  --nojslint              will not run JSLint
  --nocompiler            will not run the compiler
  --norecursive           will not look for files recursively
  
JsLintOptions:
  You can use any jsLint options (http://bit.ly/jslintoptions) as an argument.
  Example : readyjs /source /dest --evil --maxlen=80

[Use a config file]
readyjs path/to/config.file.js [options] (see http://j.mp/readyjsconfig)

Continuous integration

  1. run npm install ready.js
  2. run echo 'readyjs path/to/src path/to/dest' >> .git/hooks/pre-commit

Want to know more?

3.1.0

11 years ago

3.0.1

11 years ago

3.0.0

11 years ago

2.0.3

12 years ago

2.0.2

12 years ago

2.0.1

12 years ago

2.0.0

12 years ago

1.3.6

12 years ago

1.3.5

12 years ago

1.3.4

12 years ago

1.3.3

13 years ago

1.3.2

13 years ago

1.3.1

13 years ago

1.3.0

13 years ago

1.2.2

13 years ago

1.2.1

13 years ago

1.2.0

13 years ago

1.1.0

13 years ago