Publish to NPM
josh opened this issue · comments
Hey @jonkemp.
Dig your package, its a nice and quick way to get phantomjs qunit tests running without Grunt.
Are you planning on publishing it to npm?
Thanks!
Glad you like it! I wasn't planning on publishing it, but I can. I just threw it up here in case someone found it useful.
I'll look into it and post any updates here. Thanks for your interest!
Done. Version 0.1.0 can be found here.
https://www.npmjs.org/package/node-qunit-phantomjs
Thanks @josh!
What happened to the CLI tool? Before you could do node ./index.js ./path/to/test.html
.
Well, in publishing it to npm, I thought it would be more useful as a module. So I refactored it. This way you could write your own script to consume it however you want.
I'll look into bringing the CLI back. In the meantime, I bumped the new version to 0.2.0 and tagged both releases. You can find the original one here.
https://github.com/jonkemp/node-qunit-phantomjs/releases/tag/v0.1.0
I liked the standalone CLI tool since it worked nicely with Makefiles.
test:
./node_modules/.bin/node-qunit-phantomjs ./test/test.html
Get latest. You should be able to install globally and use it via command line now.
$ node-qunit-phantomjs ./test/test.html
Thanks!