was.wm.js – Diff between revs 4 and 6
?pathlinks?
Rev 4 | Rev 6 | |||
---|---|---|---|---|
Line 63... | Line 63... | |||
63 | } |
63 | } |
|
64 | }, |
64 | }, |
|
65 | nodeunit: { |
65 | nodeunit: { |
|
66 | files: ['test/**/*_test.js'] |
66 | files: ['test/**/*_test.js'] |
|
67 | }, |
67 | }, |
|
- | 68 | sass: { |
||
- | 69 | dist: { |
||
- | 70 | options: { |
||
- | 71 | style: 'expanded' |
||
- | 72 | }, |
||
- | 73 | files: { |
||
- | 74 | 'css/wm.css': 'css/wm.scss' |
||
- | 75 | } |
||
- | 76 | } |
||
- | 77 | }, |
||
68 | watch: { |
78 | watch: { |
|
69 | gruntfile: { |
79 | gruntfile: { |
|
70 | files: '<%= jshint.gruntfile.src %>', |
80 | files: '<%= jshint.gruntfile.src %>', |
|
71 | tasks: ['jshint:gruntfile'] |
81 | tasks: ['jshint:gruntfile'] |
|
72 | }, |
82 | }, |
|
Line 76... | Line 86... | |||
76 | } |
86 | } |
|
77 | } |
87 | } |
|
78 | }); |
88 | }); |
|
Line 79... | Line 89... | |||
79 | |
89 | |
|
- | 90 | // These plugins provide necessary tasks. |
||
80 | // These plugins provide necessary tasks. |
91 | grunt.loadNpmTasks('grunt-contrib-sass'); |
|
81 | grunt.loadNpmTasks('grunt-contrib-concat'); |
92 | grunt.loadNpmTasks('grunt-contrib-concat'); |
|
82 | grunt.loadNpmTasks('grunt-contrib-uglify-es'); |
93 | grunt.loadNpmTasks('grunt-contrib-uglify-es'); |
|
83 | //grunt.loadNpmTasks('grunt-contrib-nodeunit'); |
94 | //grunt.loadNpmTasks('grunt-contrib-nodeunit'); |
|
84 | grunt.loadNpmTasks('grunt-contrib-jshint'); |
95 | grunt.loadNpmTasks('grunt-contrib-jshint'); |
|
Line 85... | Line 96... | |||
85 | grunt.loadNpmTasks('grunt-contrib-watch'); |
96 | grunt.loadNpmTasks('grunt-contrib-watch'); |
|
86 | |
97 | |
|
87 | // Default task. |
98 | // Default task. |
|
88 | grunt.registerTask( |
99 | grunt.registerTask( |
|
- | 100 | 'default', |
||
89 | 'default', |
101 | [ |
|
90 | [ |
102 | 'sass', |
|
91 | 'jshint', |
103 | 'jshint', |
|
92 | //'nodeunit', |
104 | //'nodeunit', |
|
93 | 'concat', |
105 | 'concat', |