MattSurabian / aes-gcm-stream

A NodeJS Module that implements AES256 GCM encryption and decryption using streams
MIT License
11 stars 1 forks source link

Grunt tasks #7

Closed MattSurabian closed 9 years ago

MattSurabian commented 9 years ago

Add grunt tasks so it's easy for anyone to run jscs, jshint, and tap checks.

calvinmetcalf commented 9 years ago

why both jscs and jshint ?

MattSurabian commented 9 years ago

jscs ensures consistent code style and jshint ensures js best practices. Both should now be added as dev dependencies and everything is just running through grunt

calvinmetcalf commented 9 years ago

this entire thing can be replaced by changing the test line to

"test": "npm run lint && node test.js | tspec"
"lint": "jscs index.js test.js examples/ && jshint index.js test.js examples/"

and using jscs and jshint directly instead of the grunt plugins able to remove the tasks and all that jazz

MattSurabian commented 9 years ago

Yeah I guess since we're not doing any more complicated build steps we don't need all dat business.

MattSurabian commented 9 years ago

closed in favor of #8