Files
meteor/packages/minifiers/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

34 lines
687 B
JavaScript

Package.describe({
summary: "JavaScript and CSS minifiers",
version: "1.1.6-plugins.0"
});
Npm.depends({
"uglify-js": "2.4.20",
"css-parse": "2.0.0",
"css-stringify": "2.0.0"
});
Npm.strip({
"uglify-js": ["test/"],
"css-parse": ["test/"],
"css-stringify": ["test/"]
});
Package.onUse(function (api) {
api.use('underscore', 'server');
api.export(['CssTools', 'UglifyJSMinify', 'UglifyJS']);
api.addFiles(['minification.js', 'minifiers.js'], 'server');
});
Package.onTest(function (api) {
api.use('minifiers', 'server');
api.use('tinytest');
api.addFiles([
'beautify-tests.js',
'minifiers-tests.js',
'urlrewriting-tests.js'
], 'server');
});