mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Some cosmetic changes to the package skeleton: - Move version to the top - Move git up and write a comment explaining it. Now the comment for documentation no longer dominates the stanza! These are arranges from most to least optional (in some sense). The documentation is considered the most optional because removing that line doesn't remove the documentation: the line is mostly there for an override. I think this makes sense.
23 lines
592 B
JavaScript
23 lines
592 B
JavaScript
Package.describe({
|
|
name: '~name~',
|
|
version: '0.0.1',
|
|
// Brief, one-line summary of the package.
|
|
summary: '',
|
|
// URL to the Git repository containing the source code for this package.
|
|
git: '',
|
|
// By default, Meteor will default to using README.md for documentation.
|
|
// To avoid submitting documentation, set this field to null.
|
|
documentation: 'README.md'
|
|
});
|
|
|
|
Package.onUse(function(api) {
|
|
~cc~ api.versionsFrom('~release~');
|
|
api.addFiles('~name~.js');
|
|
});
|
|
|
|
Package.onTest(function(api) {
|
|
api.use('tinytest');
|
|
api.use('~name~');
|
|
api.addFiles('~name~-tests.js');
|
|
});
|