mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
36 lines
1021 B
JavaScript
36 lines
1021 B
JavaScript
|
// 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/summernote/summernote.git'
|
||
|
});
|
||
|
|
||
|
Package.onUse(function (api) {
|
||
|
api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']);
|
||
|
api.use([
|
||
|
'jquery',
|
||
|
'twbs:bootstrap@3.3.1',
|
||
|
'fortawesome:fontawesome@4.2.0'
|
||
|
], 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);
|
||
|
});
|