-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.js
27 lines (25 loc) · 916 Bytes
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* global Package */
Package.describe({
name: 'template-package',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'Template Meteor package for FOSS',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/Meteor-Community-Packages/template-package',
// 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) {
api.versionsFrom('1.9')
api.use('ecmascript')
api.mainModule('./client/index.js', 'client')
api.mainModule('./server/index.js', 'server')
})
Package.onTest(function (api) {
api.use('ecmascript')
api.use('tinytest')
api.use('template-package')
api.mainModule('./tests/package-tests-client.js', 'client')
api.mainModule('./tests/package-tests-server.js', 'server')
})