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([
'[email protected]_1',
'reactrouter:[email protected]',
'meteorhacks:[email protected]'
]);
api.use('[email protected]', 'server');
api.use('[email protected]', 'server');
api.use('[email protected]', 'server', {weak: true});
api.imply(['reactrouter:[email protected]']);
api.use(['[email protected]'], ['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');
});