-
Notifications
You must be signed in to change notification settings - Fork 119
/
Modfile.js
46 lines (45 loc) · 1.31 KB
/
Modfile.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// More info about Modfile at https://github.com/modulejs/modjs/
module.exports = {
version: ">=0.4.3",
plugins: {
amdify: './task/amdify'
},
tasks: {
server: {
port: 3000
},
download: {
options: {
dest: "js/"
},
zepto: {
src: "http://rawgithub.com/madrobby/zepto/master/src/zepto.js"
},
event: {
src: "http://rawgithub.com/madrobby/zepto/master/src/event.js"
},
ajax: {
src: "http://rawgithub.com/madrobby/zepto/master/src/ajax.js"
},
data: {
src: "http://rawgithub.com/madrobby/zepto/master/src/data.js"
},
touch: {
src: "http://rawgithub.com/madrobby/zepto/master/src/touch.js"
},
requirejs: {
src: "http://requirejs.org/docs/release/2.1.10/comments/require.js",
dest: 'vendor/requirejs/'
},
'requirejs-tmpl': {
src: "http://rawgithub.com/modulejs/requirejs-tmpl/master/tmpl.js"
}
},
amdify: {
src: "js/{zepto,event,ajax,data,touch}.js"
}
},
targets: {
vendor: ["download", "amdify"]
}
};