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 };