Tidy up npm scripts * build no longer runs tests or cleans broken builds * add clean:browser and clean:node * add minify runs uglifyjs to generate validator.min.js * add pretest (alias to build) which is run automatically before tests * build-browser => build:browser * build-node => build:node * build:browser now eliminates dead code for unminified build
Tidy up npm scripts
* build no longer runs tests or cleans broken builds
* add clean:browser and clean:node
* add minify runs uglifyjs to generate validator.min.js
* add pretest (alias to build) which is run automatically before tests
* build-browser => build:browser
* build-node => build:node
* build:browser now eliminates dead code for unminified build

chriso/validator.js