mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
More work done…
This commit is contained in:
parent
b0b8cc00d7
commit
707e2c454b
70 changed files with 19666 additions and 70 deletions
24
js/libraries/switchery/package.js
Executable file
24
js/libraries/switchery/package.js
Executable file
|
@ -0,0 +1,24 @@
|
|||
// package metadata file for Meteor.js
|
||||
'use strict';
|
||||
|
||||
var packageName = 'abpetkov:switchery'; // https://atmospherejs.com/mediatainment/switchery
|
||||
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
|
||||
|
||||
Package.describe({
|
||||
name: packageName,
|
||||
summary: 'Switchery (official) - turns your default HTML checkbox inputs into beautiful iOS 7 style switches.',
|
||||
version: "0.1.0", //packageJson.version,
|
||||
git: 'https://github.com/abpetkov/switchery'
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']);
|
||||
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); // testing specific files
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue