mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
28 lines
751 B
JavaScript
28 lines
751 B
JavaScript
Package.describe({
|
|
summary: "JavaScript and CSS minifiers",
|
|
version: "1.1.1"
|
|
});
|
|
|
|
Npm.depends({
|
|
"uglify-js": "2.4.13",
|
|
"css-parse": "https://github.com/reworkcss/css-parse/tarball/aa7e23285375ca621dd20250bac0266c6d8683a5",
|
|
"css-stringify": "https://github.com/reworkcss/css-stringify/tarball/a7fe6de82e055d41d1c5923ec2ccef06f2a45efa"
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.use('underscore', 'server');
|
|
api.export(['CssTools', 'UglifyJSMinify', 'UglifyJS']);
|
|
api.add_files(['minification.js', 'minifiers.js'], 'server');
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use('minifiers', 'server');
|
|
api.use('tinytest');
|
|
|
|
api.add_files([
|
|
'beautify-tests.js',
|
|
'minifiers-tests.js',
|
|
'urlrewriting-tests.js'
|
|
], 'server');
|
|
});
|