0.0.5 • Published 9 years ago
eschecker v0.0.5
ESChecker
Development
The eschecker uses ES6 and needs to be transpiled to ES5 to be runnable on node. The ES6 source code is located in lib folder and can be transpiled using the npm run build script or npm start to run a watch task that transpiles the files whenever something has changed. The tests use babel/register to transpile the code during the execution. The tests can be executed usingnpm test. The code coverage can be calculated using the npm run coverage script, which uses babel-node and isparta to create the coverage over the ES6 source code and not against the ES5-code.
Usage
Install ESChecker globally using npm
npm install -g escheckerTo type check a file use the command line tool and pass the path to the file as argument
eschecker -f ./path/to/file.js