From 60f6cfa74cc70e103b9634e827c76a022a7a908e Mon Sep 17 00:00:00 2001 From: Maira Bello Date: Tue, 17 May 2016 15:11:19 -0300 Subject: [PATCH] Creates new entry file that exports most important senna modules --- package.json | 4 ++-- src/senna.js | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 src/senna.js diff --git a/package.json b/package.json index d227314..8a23295 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "node": ">=0.12.0", "npm": ">=3.0.0" }, - "jsnext:main": "src/app/App.js", - "main": "lib/app/App.js", + "jsnext:main": "src/senna.js", + "main": "lib/senna.js", "files": [ "build", "lib", diff --git a/src/senna.js b/src/senna.js new file mode 100644 index 0000000..17e0b08 --- /dev/null +++ b/src/senna.js @@ -0,0 +1,10 @@ +'use strict'; + +import App from './app/App'; +import HtmlScreen from './screen/HtmlScreen'; +import RequestScreen from './screen/RequestScreen'; +import Route from './route/Route'; +import Screen from './screen/Screen'; + +export default App; +export { App, HtmlScreen, Route, RequestScreen, Screen };