LiveScript Exoservice Generator 
Generates an Exosphere service written in LiveScript
Installation
(assuming you already have Node.js
and LiveScript installed)
npm install -g yo generator-exoservice-livescript
- add
./bin to your $PATH.
Usage
To generate a new micro-service:
yo
The generator will ask you for all information.
Choose Exoservice Livescript from the menu that appears.
You can also provide all the information on the command line:
yo exoservice-livescript [<service-name>] [<application-name>]
Development
- this is a Yeoman generator
- the business logic is in src/app/index.ls,
which gets compiled into generators/app/index.js
- the tests are in features and are run with
spec
- run
build after you make changes to the source code for them to reflect
in the tests and the NPM package
- run
watch during development for automatic building
- to update dependencies, run
update
Running the generator locally
- in the folder of your generator sourc code (i.e. this folder), run
npm link
- this installs a copy of the current source code as a global NPM module
- run
yo to run the generator
- each time you make changes to the source you have to run
npm link
Deployment
- update the dependencies:
update
- bump the version:
npm version (patch|minor|major)
- release the module:
npm publish