mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
# Conflicts: # docs/history.md # meteor # npm-packages/eslint-plugin-meteor/scripts/dev-bundle-tool-package.js # npm-packages/meteor-babel/package-lock.json # npm-packages/meteor-babel/package.json # packages/babel-compiler/.npm/package/npm-shrinkwrap.json # packages/babel-compiler/package.js # packages/mongo/collection.js # packages/webapp/.npm/package/npm-shrinkwrap.json # tools/cli/commands.js # tools/static-assets/skel-apollo/server/apollo.js # tools/tests/mongo.js
33 lines
902 B
JavaScript
33 lines
902 B
JavaScript
Package.describe({
|
|
summary: 'Logging facility.',
|
|
version: '1.3.2',
|
|
});
|
|
|
|
Npm.depends({
|
|
'chalk': '4.1.1',
|
|
'@babel/runtime': '7.20.7'
|
|
});
|
|
|
|
Npm.strip({
|
|
'es5-ext': ['test/']
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.export('Log');
|
|
// The `ecmascript-runtime-client` package is explicitly depended upon
|
|
// here due to this package's dependency on
|
|
// `String.prototype.padRight` which is polyfilled only in
|
|
// `ecmascript-runtime-client@0.6.2` or newer.
|
|
api.use(['ejson', 'ecmascript', 'ecmascript-runtime-client']);
|
|
api.mainModule('logging.js');
|
|
api.addFiles('logging_server.js', 'server')
|
|
api.addFiles('logging_browser.js', 'client')
|
|
api.mainModule('logging_cordova.js', 'web.cordova');
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use(['tinytest', 'ejson', 'ecmascript']);
|
|
api.use('logging', ['client', 'server']);
|
|
api.mainModule('logging_test.js', ['server', 'client']);
|
|
});
|