forked from yourcelf/meteor-react-router-ssr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
37 lines (29 loc) · 976 Bytes
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Package.describe({
name: 'reactrouter:react-router-ssr',
version: '0.3.5',
summary: 'Server-side rendering for react-router and react-meteor-data rehydratating Meteor subscriptions',
git: 'https://github.com/thereactivestack/meteor-react-router-ssr.git',
documentation: 'README.md'
});
Npm.depends({
'cookie-parser': '1.3.5',
'cheerio': '0.19.0'
});
Package.onUse(function(api) {
api.use([
'jsx@0.1.0',
'react-meteor-data@0.1.5',
'react-runtime@0.14.1_1',
'reactrouter:react-router@0.1.6',
'meteorhacks:fast-render@2.9.0'
]);
api.use('underscore@1.0.3', 'server');
api.use('mongo@1.0.0', 'server');
api.use('autopublish@1.0.0', 'server', {weak: true});
api.imply(['reactrouter:react-router@0.1.6']);
api.use(['routepolicy@1.0.5'], ['server']);
api.add_files(['lib/react-router-ssr.js']);
api.add_files(['lib/client.jsx'], 'client');
api.add_files(['lib/server.jsx'], 'server');
api.export('ReactRouterSSR');
});