forked from devonbarrett/meteor-dropzone
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
36 lines (30 loc) · 821 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
36
Package.describe( {
name: 'dbarrett:dropzonejs',
summary: 'Dropzone.js - an open source library that provides drag\'n\'drop file uploads with image previews',
version: '4.0.1',
git: 'https://github.com/devonbarrett/meteor-dropzone.git'
} );
Package.onUse( function ( api ) {
api.versionsFrom( '1.0' );
api.use( [
'templating',
'underscore'
], 'client' );
//add dropzone library
api.addFiles( [
'lib/4.0.1/dropzone.js',
'lib/4.0.1/css/basic.css',
'lib/4.0.1/css/dropzone.css',
], 'client' );
//add dropzone template
api.addFiles( [
'lib/dbarrett:dropzonejs.html',
'lib/dbarrett:dropzonejs.js'
], 'client' );
} );
Package.onTest( function ( api ) {
api.use( [ 'dbarrett:dropzonejs', 'tinytest' ] );
api.addFiles( [
'tests/spec.js'
], 'client' );
} );