Sha256: a57dd87d5ca8fb7826c0c5717855f94c9d68ecc4f6112e07c4393667e3b9d261
Contents?: true
Size: 1.42 KB
Versions: 14
Compression:
Stored size: 1.42 KB
Contents
module.exports = (grunt) -> grunt.loadNpmTasks 'joosy' grunt.loadNpmTasks 'grunt-contrib-uglify' grunt.loadNpmTasks 'grunt-contrib-cssmin' grunt.loadNpmTasks 'grunt-contrib-testem' # # Config # grunt.initConfig joosy: assets: root: 'application.*' greedy: '/' # Pass static data to Stylus and HAML templates # config: require('./config.json') # Setup built-in development proxy to workaround Cross-Origin # proxy: '/joosy': 'http://joosy.ws' uglify: application: files: 'public/application.js': 'public/application.js' cssmin: application: files: 'public/application.css': 'public/application.css' testem: application: src: [ 'app/javascripts/application.coffee', 'spec/helpers/*.coffee', 'spec/**/*_spec.coffee' ] assets: setup: -> grunt.joosy.assetter('development').environment options: launch_in_dev: ['PhantomJS'], launch_in_ci: ['PhantomJS'] # # Tasks # grunt.registerTask 'default', ['testem'] grunt.registerTask 'spec', ['testem'] grunt.registerTask 'compile', ['joosy:compile', 'uglify', 'cssmin'] grunt.registerTask 'server', ['joosy:server'] grunt.registerTask 'deploy', -> if process.env['NODE_ENV'] == 'production' grunt.task.run ['joosy:bower', 'joosy:compile']
Version data entries
14 entries across 14 versions & 1 rubygems