The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rocket.Chat/packages/rocketchat-slashcommands-join/package.js

38 lines
865 B

Package.describe({
name: 'rocketchat:slashcommands-join',
version: '0.0.1',
summary: 'Command handler for the /join command',
git: ''
});
Package.onUse(function(api) {
var client = 'client';
var both = ['client', 'server'];
api.versionsFrom('1.0');
api.use([
'coffeescript',
'check',
'rocketchat:lib@0.0.1'
], both);
api.addFiles('join.coffee', both);
// TAPi18n
api.use('templating', client);
var _ = Npm.require('underscore');
var fs = Npm.require('fs');
tapi18nFiles = _.compact(_.map(fs.readdirSync('packages/rocketchat-slashcommands-join/i18n'), function(filename) {
if (fs.statSync('packages/rocketchat-slashcommands-join/i18n/' + filename).size > 16) {
return 'i18n/' + filename;
}
}));
api.use('tap:i18n@1.6.1', both);
api.imply('tap:i18n');
api.addFiles(tapi18nFiles, both);
});
Package.onTest(function(api) {
});