2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: 'telescope:users',
|
|
|
|
summary: 'Telescope permissions.',
|
|
|
|
version: '0.1.0'
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom(['METEOR@1.0']);
|
|
|
|
|
|
|
|
api.use([
|
|
|
|
'telescope:lib@0.3.1',
|
2015-04-25 13:03:04 +09:00
|
|
|
'telescope:settings@0.1.0',
|
|
|
|
'telescope:i18n@0.1.0'
|
2015-04-22 07:50:11 +09:00
|
|
|
]);
|
|
|
|
|
|
|
|
api.addFiles([
|
2015-04-27 17:15:16 +09:00
|
|
|
'lib/namespace.js',
|
|
|
|
'lib/roles.js',
|
|
|
|
'lib/permissions.js',
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/users.js',
|
2015-04-22 12:34:23 +09:00
|
|
|
'lib/avatars.js',
|
2015-04-23 17:45:37 +09:00
|
|
|
'lib/callbacks.js',
|
|
|
|
'lib/modules.js',
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/helpers.js',
|
2015-04-22 08:31:11 +09:00
|
|
|
'lib/pubsub.js',
|
2015-04-22 08:13:43 +09:00
|
|
|
'lib/routes.js'
|
2015-04-22 07:50:11 +09:00
|
|
|
], ['client', 'server']);
|
|
|
|
|
2015-04-22 12:20:21 +09:00
|
|
|
api.addFiles([
|
|
|
|
'lib/client/templates/account/user_account.html',
|
|
|
|
'lib/client/templates/account/user_account.js',
|
|
|
|
'lib/client/templates/dashboard/users-dashboard.html',
|
|
|
|
'lib/client/templates/dashboard/users-dashboard.js',
|
|
|
|
'lib/client/templates/dashboard/users_list_actions.html',
|
|
|
|
'lib/client/templates/dashboard/users_list_actions.js',
|
|
|
|
'lib/client/templates/dashboard/users_list_avatar.html',
|
|
|
|
'lib/client/templates/dashboard/users_list_created_at.html',
|
|
|
|
'lib/client/templates/dashboard/users_list_email.html',
|
|
|
|
'lib/client/templates/dashboard/users_list_username.html',
|
|
|
|
'lib/client/templates/profile/user_comments.html',
|
|
|
|
'lib/client/templates/profile/user_comments.js',
|
|
|
|
'lib/client/templates/profile/user_downvoted_posts.html',
|
|
|
|
'lib/client/templates/profile/user_downvoted_posts.js',
|
|
|
|
'lib/client/templates/profile/user_info.html',
|
|
|
|
'lib/client/templates/profile/user_info.js',
|
|
|
|
'lib/client/templates/profile/user_posts.html',
|
|
|
|
'lib/client/templates/profile/user_posts.js',
|
|
|
|
'lib/client/templates/profile/user_upvoted_posts.html',
|
|
|
|
'lib/client/templates/profile/user_upvoted_posts.js',
|
|
|
|
'lib/client/templates/sign_out.html',
|
|
|
|
'lib/client/templates/user_edit.html',
|
|
|
|
'lib/client/templates/user_edit.js',
|
|
|
|
'lib/client/templates/user_email.html',
|
|
|
|
'lib/client/templates/user_email.js',
|
|
|
|
'lib/client/templates/user_item.html',
|
|
|
|
'lib/client/templates/user_item.js',
|
|
|
|
'lib/client/templates/user_profile.html',
|
|
|
|
'lib/client/templates/user_profile.js'
|
|
|
|
], ['client']);
|
|
|
|
|
2015-04-22 08:31:11 +09:00
|
|
|
api.addFiles([
|
|
|
|
'lib/server/publications.js',
|
|
|
|
'lib/server/stuff.js'
|
|
|
|
], ['server']);
|
|
|
|
|
2015-04-22 07:50:11 +09:00
|
|
|
api.export('Users');
|
|
|
|
|
|
|
|
});
|