Files
meteor/packages/jsparse/package.js
David Glasser 43b4b30205 Release PLUGINS-PREVIEW@1
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.
2015-07-22 23:19:11 -07:00

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']);
});