-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
37 lines (24 loc) · 1023 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({
summary: "Copy a spreadsheet into a textarea and store the data in mongodb.",
name: "krstffr:spreadsheet-to-mongodb",
version: "1.0.5",
git: "https://github.com/krstffr/meteor-spreadsheet-to-mongodb.git"
});
Package.onUse(function (api) {
// Set versions from.
api.versionsFrom("[email protected]");
api.use('templating', 'client');
api.add_files('lib/external/jquery.csv-0.71.min.js', 'client');
api.add_files('lib/spreadsheet-to-mongodb.js', ['client', 'server']);
api.add_files('lib/spreadsheet-to-mongodb-server-methods.js', 'server');
api.add_files('views/spreadsheet-to-mongodb__form.html', 'client');
api.add_files('views/spreadsheet-to-mongodb__form.js', 'client');
// The main object.
api.export('SpreadsheetToMongoDB', ['server', 'client']);
});
Package.on_test(function (api) {
api.use('krstffr:spreadsheet-to-mongodb');
api.use('tinytest');
api.use('test-helpers');
api.add_files('tests/spreadsheet-to-mongodb-tests.js', ['client', 'server']);
});