Skip to content

Commit

Permalink
Re-export hyperswitch as the main package entry point; release v0.15.0
Browse files Browse the repository at this point in the history
We usually use RESTBase as a service, not a dependency for other
projects. However, when it is used as dependency it can't be loaded as
lib/server.js doesn't exist any more. Hence, re-export hyperswitch as
the module's main entry point.
  • Loading branch information
Marko Obrovac committed Aug 22, 2016
1 parent f4cb5e1 commit cb5de39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions index.js
@@ -0,0 +1,5 @@
'use strict';


module.exports = require('hyperswitch');

4 changes: 2 additions & 2 deletions package.json
@@ -1,8 +1,8 @@
{
"name": "restbase",
"version": "0.14.4",
"version": "0.15.0",
"description": "REST storage and service dispatcher",
"main": "lib/server.js",
"main": "index.js",
"scripts": {
"postpublish": "git tag -a \"v${npm_package_version}\" -m \"${npm_package_name}@${npm_package_version} release\" && git push upstream \"v${npm_package_version}\"",
"start": "service-runner",
Expand Down

0 comments on commit cb5de39

Please sign in to comment.