mirror of https://github.com/RubaXa/Sortable.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
833 B
30 lines
833 B
// package metadata file for Meteor.js |
|
'use strict'; |
|
|
|
var packageName = 'rubaxa:sortable'; // http://atmospherejs.com/sortable/sortable |
|
var where = 'client'; // where to install: 'client', 'server', or ['client', 'server'] |
|
|
|
var packageJson = JSON.parse(Npm.require("fs").readFileSync('package.json')); |
|
|
|
Package.describe({ |
|
name: packageName, |
|
summary: 'Sortable (official): minimalist reorderable drag-and-drop lists on modern browsers and touch devices', |
|
version: packageJson.version, |
|
git: 'https://github.com/RubaXa/Sortable.git' |
|
}); |
|
|
|
Package.onUse(function (api) { |
|
api.versionsFrom('METEOR@0.9.0'); |
|
api.export('Sortable'); |
|
api.addFiles([ |
|
'Sortable.js' |
|
], where |
|
); |
|
}); |
|
|
|
Package.onTest(function (api) { |
|
api.use(packageName, where); |
|
api.use('tinytest', where); |
|
|
|
api.addFiles('meteor/test.js', where); |
|
});
|
|
|