-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
package.js
24 lines (23 loc) · 937 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
// Package metadata for Meteor.js full stack web framework
// This file is defined in Meteor documentation at http://docs.meteor.com/#/full/packagejs
// and used by Meteor https://www.meteor.com/ and its package repository Atmosphere https://atmospherejs.com
Package.describe({
"name": 'nvd3:nvd3',
summary: 'Nvd3.org charts.',
version: '1.8.6-dev',
git: "https://github.com/novus/nvd3.git"
});
Package.on_use(function (api) {
api.versionsFrom("[email protected]");
api.use('d3js:[email protected]', 'client');
api.add_files('build/nv.d3.js', 'client');
api.add_files('build/nv.d3.css', 'client');
api.add_files('meteor/export.js', 'client');
api.export("nv");
});
Package.onTest(function(api) {
api.use(['tinytest', 'test-helpers']);
api.use('d3js:d3', 'client');
api.addFiles(['build/nv.d3.js', 'meteor/export.js'], "client");
api.addFiles('test/tinytest/nv-is-defined-test.js', "client");
});