mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
This included removing some internal version constraints. It would be nice if package A could say "use B@2.0.0" (when both have changed), but when they're both in the release, we need to make a release that has a B@2.0.0-rc in it, which doesn't match that constraint. Fortunately, constraints aren't necessary within a release anyway.
22 lines
622 B
JavaScript
22 lines
622 B
JavaScript
Package.describe({
|
|
summary: "Full-featured JavaScript parser",
|
|
version: "1.0.4-plugins.0"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export(['JSLexer', 'JSParser', 'ParseNode']);
|
|
api.addFiles(['lexer.js', 'parserlib.js', 'stringify.js', 'parser.js'],
|
|
['client', 'server']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use(['tinytest', 'underscore']);
|
|
api.use('jsparse', 'client');
|
|
|
|
api.addFiles('parser_tests.js',
|
|
// Test just on client for faster running; should run
|
|
// identically on server.
|
|
'client');
|
|
//['client', 'server']);
|
|
});
|