Gruntfile.js 545 B

123456789101112131415161718192021222324
  1. module.exports = function(grunt) {
  2. grunt.loadNpmTasks('../../node_modules/amber-dev');
  3. grunt.registerTask('default', ['amberc:presentation']);
  4. grunt.initConfig({
  5. pkg: grunt.file.readJSON('../package.json'),
  6. amberc: {
  7. options: {
  8. amber_dir: '../bower_components/amber',
  9. closure_jar: ''
  10. },
  11. presentation: {
  12. src: ['st/Presentation.st'],
  13. libraries: ['Web'],
  14. output_dir: 'js',
  15. deploy: true,
  16. amd_namespace: 'amber_examples_presentation'
  17. }
  18. }
  19. });
  20. }