|
|
|
'use strict'; |
|
|
|
var packageName = 'abpetkov:switchery'; |
|
var where = 'client'; |
|
|
|
Package.describe({ |
|
name: packageName, |
|
summary: 'Switchery (official) - turns your default HTML checkbox inputs into beautiful iOS 7 style switches.', |
|
version: "0.1.0", |
|
git: 'https://github.com/abpetkov/switchery' |
|
}); |
|
|
|
Package.onUse(function(api) { |
|
api.versionsFrom(['[email protected]', '[email protected]']); |
|
api.export('Switchery'); |
|
api.addFiles(['dist/switchery.js', 'dist/switchery.css', 'meteor/export.js'], where); |
|
}); |
|
|
|
Package.onTest(function(api) { |
|
api.use(packageName, where); |
|
api.use('tinytest', where); |
|
api.addFiles('meteor/tests.js', where); |
|
}); |
|
|