espower-cli
v1.1.0
Published
Command line tool for power-assert
Downloads
2,038
Maintainers
Readme
espower-cli
Command line tool for power-assert
DESCRIPTION
espower-cli provides an espower
command which transforms test code for power-assert.
CHANGELOG
See CHANGELOG
USAGE
espower test/some_test.js > build/test/some_test.js
sourcemaps
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
OPTIONS
--config, -c
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
--incoming-sourcemap, -s
Specify SourceMap file
espower --incoming-sourcemap test/some_test.js.map test/some_test.js > build/test/some_test.js
INSTALL
via npm
Install locally,
$ npm install --save-dev espower-cli
and/or globally.
$ npm install -g espower-cli
OUR SUPPORT POLICY
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.
AUTHOR
LICENSE
Licensed under the MIT license.