Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #135 from mairatma/entry
Browse files Browse the repository at this point in the history
Creates new entry file that exports most important senna modules
  • Loading branch information
eduardolundgren committed May 17, 2016
2 parents 700e26b + 60f6cfa commit 11ada9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 10 additions & 0 deletions src/senna.js
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit 11ada9f

Please sign in to comment.