Command line tool for power-assert
espower-cli provides an espower
command which transforms test code for power-assert.
See CHANGELOG
espower test/some_test.js > build/test/some_test.js
espower-cli
appends SourceMap comment at the bottom of generated code. If you want to separate the comment off, use exorcist.
espower test/some_test.js | exorcist build/test/some_test.js.map > build/test/some_test.js
Specify JSON file containing options for espower
module (See espower.defaultOptions())
espower --config test/espower_config.json test/some_test.js > build/test/some_test.js
Specify SourceMap file
espower --incoming-sourcemap test/some_test.js.map test/some_test.js > build/test/some_test.js
Install locally,
$ npm install --save-dev espower-cli
and/or globally.
$ npm install -g espower-cli
We support Node under maintenance. In other words, we stop supporting old Node version when their maintenance ends.
This means that any other environment is not supported.
NOTE: If espower-cli works in any of the unsupported environments, it is purely coincidental and has no bearing on future compatibility. Use at your own risk.
Licensed under the MIT license.