2018-01-10 18:31:58 +09:00
|
|
|
// packages.js #tutorial-step-2 - Decribes the contents of the package as well as the dependencies.
|
|
|
|
|
2017-07-26 07:35:38 +09:00
|
|
|
Package.describe({
|
|
|
|
name: 'example-simple',
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.use([
|
2018-01-10 18:31:58 +09:00
|
|
|
|
|
|
|
// Here are our dependencies:
|
2017-07-26 07:35:38 +09:00
|
|
|
|
|
|
|
// vulcan core
|
2018-01-20 11:07:27 +09:00
|
|
|
'vulcan:core@1.8.4',
|
2017-07-26 07:35:38 +09:00
|
|
|
|
|
|
|
// vulcan packages
|
2018-01-20 11:07:27 +09:00
|
|
|
'vulcan:forms@1.8.4',
|
|
|
|
'vulcan:accounts@1.8.4',
|
2017-07-26 07:35:38 +09:00
|
|
|
|
|
|
|
]);
|
|
|
|
|
2017-08-31 12:54:09 +09:00
|
|
|
api.addFiles('lib/stylesheets/style.css');
|
|
|
|
|
2018-01-10 18:31:58 +09:00
|
|
|
// Here is the entry point for client & server:
|
2017-07-26 07:35:38 +09:00
|
|
|
api.mainModule('lib/server/main.js', 'server');
|
|
|
|
api.mainModule('lib/client/main.js', 'client');
|
|
|
|
|
|
|
|
});
|