-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
43 lines (39 loc) · 1.32 KB
/
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
36
37
38
39
40
41
42
43
Package.describe({
name: 'jkuester:cmmntools',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'Wraps the cmmn tools from bpmn.io into a meteor package',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.4.1.1');
api.use('ecmascript');
api.use('jquery');
//add styles
api.addFiles( 'lib/stylesheets/app.css', [ 'client' ]);
api.use(['templating'], 'client');
//add templates
api.addFiles( 'lib/templates/modeler/modeler.js', [ 'client' ] );
//add resources
api.addFiles( 'lib/resources/newDiagram.cmmn', ['client'], {isAsset:true} );
api.mainModule('cmmntools.js');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('jkuester:cmmntools');
api.mainModule('cmmntools-tests.js');
});
Npm.depends({
"cmmn-js" : "0.5.3",
"cmmn-js-properties-panel" : "0.2.0",
"camunda-cmmn-moddle" : "0.1.2",
"matches-selector" : "1.0.0",
"diagram-js" : "0.16.0",
"jquery" : "2.1.1",
"lodash" : "3.0.0"
});