-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.js
35 lines (29 loc) · 1007 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
// package metadata file for Meteor.js
'use strict';
var packageName = 'cerealkiller:materialnote'; // http://atmospherejs.com/cerealkiller:materialnote
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: 'materialnote (official): jQuery+Materialize WYSIWYG editor with embedded images support',
version: '2.0.5',
git: 'https://github.com/Cerealkillerway/materialNote',
documentation: 'README.md'
});
Package.onUse(function (api) {
api.versionsFrom(['[email protected]']);
api.use([
'jquery',
], where);
// no exports - materialnote adds itself to jQuery
api.addFiles([
'dist/materialnote.js',
'dist/materialnote.css',
'dist/lang/materialnote-it-IT.js'
], where);
});
Package.onTest(function (api) {
api.use(packageName, where);
api.use('tinytest', where);
api.addFiles('meteor/test.js', where);
});