mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make package dependencies slightly more accurate
This commit is contained in:
1
packages/html-tools/.gitignore
vendored
1
packages/html-tools/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
.build*
|
||||
@@ -1,10 +0,0 @@
|
||||
Package.describe({
|
||||
summary: "Standards-compliant HTML tools"
|
||||
});
|
||||
|
||||
Package.on_use(function (api) {
|
||||
api.use('htmljs');
|
||||
api.imply('htmljs');
|
||||
|
||||
// api.add_files(['scanner.js']);
|
||||
});
|
||||
@@ -4,6 +4,8 @@ Package.describe({
|
||||
});
|
||||
|
||||
Package.on_use(function (api) {
|
||||
// we attach stuff to the global symbol `HTML`, exported
|
||||
// by `htmljs`, so we both use and effectively imply it.
|
||||
api.use('htmljs');
|
||||
api.imply('htmljs');
|
||||
|
||||
@@ -18,7 +20,7 @@ Package.on_test(function (api) {
|
||||
api.use('tinytest');
|
||||
api.use('html');
|
||||
api.use('underscore');
|
||||
api.use('ui'); // for `toCode`
|
||||
api.use('spacebars'); // for `toJS`
|
||||
api.add_files(['charref_tests.js',
|
||||
'tokenize_tests.js',
|
||||
'parse_tests.js']);
|
||||
|
||||
@@ -5,6 +5,15 @@ Package.describe({
|
||||
Package.on_use(function (api) {
|
||||
api.export('Spacebars');
|
||||
|
||||
// we attach stuff to the global symbol `HTML`, exported
|
||||
// by `htmljs` via `html`, so we both use and effectively
|
||||
// imply it.
|
||||
// XXX Should separate out the Spacebars runtime support
|
||||
// from the Spacebars compiler so we don't need html
|
||||
// at runtime.
|
||||
api.use('html');
|
||||
api.imply('html');
|
||||
|
||||
api.use('underscore');
|
||||
api.use('jsparse');
|
||||
api.use('html');
|
||||
|
||||
Reference in New Issue
Block a user