forked from akatov/angular-contenteditable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.coffee
More file actions
29 lines (25 loc) · 776 Bytes
/
Gruntfile.coffee
File metadata and controls
29 lines (25 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# global module:false
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
test: 'test'
karma:
unit: configFile: 'test/unit.karma.coffee'
e2e: configFile: 'test/e2e.karma.coffee'
unit_ci:
configFile: 'test/unit.karma.coffee'
singleRun: true
browsers: ['PhantomJS']
e2e_ci:
configFile: 'test/e2e.karma.coffee'
singleRun: true
browsers: ['PhantomJS']
jshint:
src: ['angular-contenteditable.js']
options:
asi: true
require('matchdep').filterDev('grunt-*').forEach grunt.loadNpmTasks
grunt.registerTask 'test', ['karma:e2e_ci']
grunt.registerTask 'lint', ['jshint']
grunt.registerTask 'default', ['lint' , 'test']