From 04fdb3d04901f493ab4cb0cb8480e88d2f0fcd8e Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Wed, 11 Jun 2014 14:36:26 +0200 Subject: [PATCH] chore(project): add index.js entry point --- index.js | 1 + lib/main.js | 6 ------ package.json | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) create mode 100644 index.js delete mode 100644 lib/main.js diff --git a/index.js b/index.js new file mode 100644 index 00000000..d9dda1ad --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +module.exports = require('./lib/Viewer'); \ No newline at end of file diff --git a/lib/main.js b/lib/main.js deleted file mode 100644 index d7d0b7c0..00000000 --- a/lib/main.js +++ /dev/null @@ -1,6 +0,0 @@ -var Viewer = require('./Viewer'), - Model = require('bpmn-moddle'); - - -module.exports.Viewer = Viewer; -module.exports.BpmnModel = Model; \ No newline at end of file diff --git a/package.json b/package.json index 3f5908eb..7bede3eb 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "scripts": { "test": "grunt test" }, - "main": "lib/main.js", "repository": { "type": "git", "url": "https://github.com/bpmn-io/bpmn-js"