Files
meteor/packages/ejson/package.js
David Greenspan db8308672a Remove JSON package
JSON support is in all browsers we could conceivably care about; it's
ES5 and has perfect support in IE 8.  No need to ship a library as
a core package, and no need to specify dependencies on it.

We could conceivably publish a new version of the `json` package that
is empty, so that apps using packages that still say `use("json")`
also get the code size reduction, but we'll wait until someone requests
that.
2015-08-04 16:37:13 -07:00

21 lines
590 B
JavaScript

Package.describe({
summary: "Extended and Extensible JSON library",
version: '1.0.7-plugins.0'
});
Package.onUse(function (api) {
api.use(['underscore', 'base64']);
api.export('EJSON');
api.export('EJSONTest', {testOnly: true});
api.addFiles('ejson.js', ['client', 'server']);
api.addFiles('stringify.js', ['client', 'server']);
});
Package.onTest(function (api) {
api.use('ejson', ['client', 'server']);
api.use(['tinytest', 'underscore']);
api.addFiles('custom_models_for_tests.js', ['client', 'server']);
api.addFiles('ejson_test.js', ['client', 'server']);
});