Package.describe({
  summary: 'CSS minifier',
  version: '2.0.1',
});

Npm.depends({
  postcss: '8.5.1',
  cssnano: '5.1.15'
});

Package.onUse(function (api) {
  api.use('ecmascript');
  api.mainModule('minifier.js', 'server');
  api.export('CssTools');
});

Package.onTest(function (api) {
  api.use('ecmascript');
  api.use('tinytest');
  api.addFiles([
    'minifier-tests.js',
    'minifier-async-tests.js',
    'urlrewriting-tests.js'
  ], 'server');
});
