-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
31 lines (31 loc) · 978 Bytes
/
Gruntfile.js
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
30
31
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
browserify: {
"./bundle.js": [ "./sequence-viz.js" ],
"./test/bundle.js": [ "./test/sequence-viz-spec.js" ]
, options: {
//transform: ["debowerify", "decomponentify", "deamdify", "deglobalify"],
}
},
watch: {
files: [ "./*.js", "./test/*spec.js","./README.md"],
tasks: [ "browserify" ]
},
/*
groc: {
javascript: [ "./supergroup.js", "./test/supergroup.spec.js","./README.md"],
options: { "out": "doc/" }
},
jshint: {
all: ["Gruntfile.js", "./supergroup.js", "test/** /*.js"]
, options: { laxcomma: true }
}
*/
});
grunt.loadNpmTasks("grunt-browserify");
grunt.loadNpmTasks("grunt-contrib-watch");
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadNpmTasks("grunt-groc");
grunt.registerTask("default", ["browserify" /*, "jshint", "groc" */]);
};