Lines Matching refs:grunt
2 module.exports = (grunt)->
3 grunt.loadNpmTasks \grunt-contrib-clean
4 grunt.loadNpmTasks \grunt-contrib-copy
5 grunt.loadNpmTasks \grunt-contrib-uglify
6 grunt.loadNpmTasks \grunt-contrib-watch
7 grunt.loadNpmTasks \grunt-livescript
8 grunt.loadNpmTasks \grunt-karma
9 grunt.initConfig do
10 pkg: grunt.file.readJSON './package.json'
12 files: '<%=grunt.option("path")%>.min.js': '<%=grunt.option("path")%>.js'
56 grunt.registerTask \build (options)->
60 blacklist: (grunt.option(\blacklist) || '')split \,
61 library: grunt.option(\library) in <[yes on true]>
62 umd: grunt.option(\umd) not in <[no off false]>
65 grunt.option(\path) || grunt.option(\path, './custom')
66 fs.writeFile grunt.option(\path) + '.js', it, done
70 grunt.registerTask \client ->
71 grunt.option \library ''
72 grunt.option \path './client/core'
73 grunt.task.run <[build:es5,es6,es7,js,web,core uglify]>
74 grunt.registerTask \library ->
75 grunt.option \library 'true'
76 grunt.option \path './client/library'
77 grunt.task.run <[build:es5,es6,es7,js,web,core uglify]>
78 grunt.registerTask \shim ->
79 grunt.option \library ''
80 grunt.option \path './client/shim'
81 grunt.task.run <[build:es5,es6,es7,js,web uglify]>
82 grunt.registerTask \e ->
83 grunt.option \library ''>
84 grunt.option \path './client/core'
85 grunt.task.run <[build:es5,es6,es7,js,web,core,exp uglify]>
86 grunt.registerTask \default <[clean copy client library shim]>