derby-dev-helpers
Helpers for developing Derby plugins and components
Installation
Install as dev dependency:
$ npm i derby-dev-helpers --save-dev
Preprocess jade and coffee before publishing to npm:
-
Check out the usage of command line utility:
$ ./node_modules/.bin/derby-dev-helpers --help
-
Add compilation of your jade and coffee into
prepublish
section ofpackage.json
and revert compilation inpostpublish
:"scripts": { "prepublish": "derby-dev-helpers compile -cj", "postpublish": "derby-dev-helpers revert -cj" }
-
Publish your package to npm.
Licence
MIT