0.2.1 • Published 4 months ago
express-light-rail v0.2.1
express-light-rail (a.k.a. Express like Rails)
Some base models that will help your write an express app with some of the conceptual benefits of rails.
If you are asking yourself, "Should I be using Rails instead?", the answer is yes, you should be using Rails instead. This library is mearly a shim to reduce the pain of using a limited toolset in a limited environment.
Development
- Build the project with:
npm run build
Testing
- Run the tests with:
npm run test
Deployment
Generate a new version via:
npm version patch -m "some message" # "patch" -> 1.0.0 -> 1.0.1 npm version minor -m "some message" # "minor" -> 1.0.0 -> 1.1.0 npm version major -m "some message" # "major" -> 1.0.0 -> 2.0.0
Deploy to npm with:
npm publish
Note that
publish
runsnpm run build
viaprepublishOnly
script.