Files
meteor/packages/html-tools/package.js
Emily Stark 4b6d3b2681 Reshuffle packages to allow ui to depend on ui-dynamic-template.
Remove the spacebars-compiler -> spacebars and spacebars-compiler -> ui
dependencies. With those dependencies, ui cannot depend on
ui-dynamic-template, because ui-dynamic-template depends on templating,
whose build plugin depends on spacebars-compiler, who depends on
spacebars who depends on ui.

spacebars-compiler doesn't actually need to depend on ui or spacebars;
it only needs to depend on spacebars to add things to the `Spacebars`
namespace, which this commit does by factoring out the Spacebars export
into a separate `spacebars-common` package.
2014-05-28 14:37:12 -07:00

29 lines
625 B
JavaScript

Package.describe({
summary: "Standards-compliant HTML tools",
internal: true
});
Package.on_use(function (api) {
api.use('htmljs');
api.imply('htmljs');
api.export('HTMLTools');
api.add_files(['utils.js',
'scanner.js',
'charref.js',
'tokenize.js',
'parse.js']);
});
Package.on_test(function (api) {
api.use('tinytest');
api.use('html-tools');
api.use('underscore');
api.use('spacebars-compiler'); // for `HTML.toJS`
api.add_files(['charref_tests.js',
'tokenize_tests.js',
'parse_tests.js']);
});