mirror of
https://github.com/vale981/Vulcan
synced 2025-03-12 13:36:37 -04:00
28 lines
574 B
JavaScript
28 lines
574 B
JavaScript
// packages.js #tutorial-step-2 - Decribes the contents of the package as well as the dependencies.
|
|
|
|
Package.describe({
|
|
name: 'example-simple',
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
api.use([
|
|
|
|
// Here are our dependencies:
|
|
|
|
// vulcan core
|
|
'vulcan:core@1.8.4',
|
|
|
|
// vulcan packages
|
|
'vulcan:forms@1.8.4',
|
|
'vulcan:accounts@1.8.4',
|
|
|
|
]);
|
|
|
|
api.addFiles('lib/stylesheets/style.css');
|
|
|
|
// Here is the entry point for client & server:
|
|
api.mainModule('lib/server/main.js', 'server');
|
|
api.mainModule('lib/client/main.js', 'client');
|
|
|
|
});
|