mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Conflicts: docs/client/api.html docs/client/concepts.html docs/client/introduction.html meteor packages/html-tools/package.js packages/spacebars-common/package.js packages/webapp/webapp_server.js tools/bundler.js
30 lines
819 B
JavaScript
30 lines
819 B
JavaScript
Package.describe({
|
|
summary: "Handlebars-like template language for Meteor",
|
|
version: '1.0.0'
|
|
});
|
|
|
|
// For more, see package `spacebars-compiler`, which is used by
|
|
// the build plugin and not shipped to the client unless you
|
|
// ask for it by name.
|
|
//
|
|
// The Spacebars build plugin is in package `templating`.
|
|
//
|
|
// Additional tests are in `spacebars-tests`.
|
|
|
|
Package.on_use(function (api) {
|
|
api.export('Spacebars');
|
|
|
|
api.use('htmljs');
|
|
api.use('ui');
|
|
api.use('observe-sequence');
|
|
api.use('templating');
|
|
api.add_files(['spacebars-runtime.js']);
|
|
api.add_files(['dynamic.html', 'dynamic.js'], 'client');
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use(["spacebars", "tinytest", "test-helpers"]);
|
|
api.use("templating", "client");
|
|
api.add_files(["dynamic_tests.html", "dynamic_tests.js"], "client");
|
|
});
|