Package.describe({
	name: 'aquator:tinytest-notify',
	version: '0.0.4',
	summary: 'Cross-platform notification support for tinytest',
	git: 'https://github.com/aquator/tinytest-notify',
	documentation: 'README.md'
});

Package.onUse(function(api) {
	Npm.depends({
		'node-notifier': '4.3.1'
	});
	api.versionsFrom('1.2.0.2');
	api.use('tinytest');
	api.addFiles([
		'src/hooks.js',
		'src/results.js'
	]);
	api.addFiles([
		'src/notifier-server.js',
		'src/results-server.js'
	], 'server');
	api.addAssets([
		'assets/icons/fail.png',
		'assets/icons/pass.png'
	], 'server');
	api.export([
		'getTestResults',
		'clearTestResults',
		'addTestResult'
	], [ 'client', 'server' ], { testOnly: true });
});

Package.onTest(function(api) {
	Npm.depends({
		'node-notifier': '4.3.1'
	});
	api.use('tinytest');
	api.use('aquator:tinytest-notify');
	api.addFiles([
		'test/__unwrap.js',
		'test/results-tests.js'
	]);
	api.addFiles('test/results-server-tests.js', 'server');
});
