web.bower_components.summernote.meteor.package.js Maven / Gradle / Ivy
// package metadata file for Meteor.js
'use strict';
var packageName = 'summernote:summernote'; // http://atmospherejs.com/summernote:summernote
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
var packageJson = JSON.parse(Npm.require("fs").readFileSync('package.json'));
Package.describe({
name: packageName,
summary: 'summernote (official): jQuery+Bootstrap+FontAwesome WYSIWYG editor with embedded images support',
version: packageJson.version,
git: 'https://github.com/HackerWins/summernote.git'
});
Package.onUse(function (api) {
api.versionsFrom(['[email protected]', '[email protected]']);
api.use([
'jquery',
'twbs:[email protected]',
'fortawesome:[email protected]'
], where);
// no exports - summernote adds itself to jQuery
api.addFiles([
'dist/summernote.js',
'dist/summernote.css'
], where);
});
Package.onTest(function (api) {
api.use(packageName, where);
api.use('tinytest', where);
api.addFiles('meteor/test.js', where);
});