mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
29 lines
864 B
JavaScript
29 lines
864 B
JavaScript
Package.describe({
|
|
summary: "Javascript dialect with fewer braces and semicolons",
|
|
version: "1.0.4"
|
|
});
|
|
|
|
Package._transitional_registerBuildPlugin({
|
|
name: "compileCoffeescript",
|
|
use: [],
|
|
sources: [
|
|
'plugin/compile-coffeescript.js'
|
|
],
|
|
npmDependencies: {"coffee-script": "1.7.1", "source-map": "0.1.32"}
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use(['coffeescript', 'tinytest']);
|
|
api.use(['coffeescript-test-helper'], ['client', 'server']);
|
|
api.add_files('bare_test_setup.coffee', ['client'], {bare: true});
|
|
api.add_files('bare_tests.js', ['client']);
|
|
api.add_files([
|
|
'coffeescript_test_setup.js',
|
|
'tests/coffeescript_tests.coffee',
|
|
'tests/coffeescript_strict_tests.coffee',
|
|
'tests/litcoffeescript_tests.litcoffee',
|
|
'tests/litcoffeescript_tests.coffee.md',
|
|
'coffeescript_tests.js'
|
|
], ['client', 'server']);
|
|
});
|