Ionic-Material
Ionic-Material copied to clipboard
Work as meteor package
trafficstars
Add package.js to describe how to use Ionic-Material for meteor and publish it to https://atmospherejs.com, so that people can use meteor add to add Ionic-Material easily.
The current Ionic-Material package is not official version and can not work well.
+1 Here's Meteor's instructions for publishing packages to Atmosphere: https://atmospherejs.com/i/publishing
package.js file Template:
// package.js metadata file on the root directory of the project for Meteor.js
var packageName = 'PACKAGE_NAME';
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
var version = 'PACKAGE_VERSION';
var summary = 'PACKAGE_SUMMARY';
var gitLink = 'GIT_LINK';
var documentationFile = 'README.md';
// Meta-data
Package.describe({
name: packageName,
version: version,
summary: summary,
git: gitLink,
documentation: documentationFile
});
Package.onUse(function(api) {
api.versionsFrom(['[email protected]', '[email protected]']); // Meteor versions
api.use('DEPENDENCY_NAME', where); // Dependencies
api.addFiles('FILE_NAME', where); // Files in use
});