File tree 4 files changed +24
-4
lines changed
4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
+ * .js
Original file line number Diff line number Diff line change
1
+ * .coffee
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ module.exports = (grunt) ->
2
2
grunt .loadNpmTasks ' grunt-release'
3
3
grunt .loadNpmTasks ' grunt-contrib-watch'
4
4
grunt .loadNpmTasks ' grunt-shell'
5
+ grunt .loadNpmTasks ' grunt-contrib-coffee'
5
6
6
7
grunt .initConfig
7
8
watch :
@@ -17,4 +18,19 @@ module.exports = (grunt) ->
17
18
command : ' npm test'
18
19
options :
19
20
stdout : true
20
- stderr : true
21
+ stderr : true
22
+
23
+ coffee :
24
+ options :
25
+ bare : true
26
+ index :
27
+ files :
28
+ ' index.js' : ' index.coffee'
29
+ classes :
30
+ expand : true
31
+ cwd : ' src'
32
+ src : [' *.coffee' ]
33
+ dest : ' src'
34
+ ext : ' .js'
35
+
36
+ grunt .registerTask ' prepublish' , [' coffee' ]
Original file line number Diff line number Diff line change 4
4
"description" : " A library for creating a full Slack client" ,
5
5
"main" : " ./index" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1"
7
+ "test" : " echo \" Error: no test specified\" && exit 1" ,
8
+ "prepublish" : " grunt prepublish"
8
9
},
9
10
"keywords" : [
10
11
" slack"
29
30
"log" : " 1.4.0"
30
31
},
31
32
"devDependencies" : {
32
- "grunt" : " ~ 0.4.1 " ,
33
- "grunt-release " : " ~0.6 .0" ,
33
+ "grunt" : " ^ 0.4.5 " ,
34
+ "grunt-contrib-coffee " : " ^0.12 .0" ,
34
35
"grunt-contrib-watch" : " ~0.5.3" ,
36
+ "grunt-release" : " ~0.6.0" ,
35
37
"grunt-shell" : " ~0.5.0"
36
38
},
37
39
"engines" : {
You can’t perform that action at this time.
0 commit comments