This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
/
build.json
118 lines (112 loc) · 3.31 KB
/
build.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"modules": {
"jquery": {
"mixins": [
{"name": "thorax-dep-jquery", "ignoreWarnings": true}
]
},
"zepto": {
"mixins": [
{"name": "thorax-dep-zepto", "ignoreWarnings": true}
],
"scripts": [
{"src": "test/lib/handlebars-reset.js", "global": true},
{"src": "components/handlebars/handlebars.js", "ignoreWarnings": true, "global": true}
]
},
"fruit-loops": {
"scripts": [
{"src": "dist/lodash.underscore.js", "bower": "lodash", "global": true, "ignoreWarnings": true},
{"src": "backbone.js", "bower": "backbone", "global": true, "ignoreWarnings": true},
{"src": "handlebars.js", "bower": "handlebars", "global": true, "ignoreWarnings": true}
]
},
"jquery-backbone-1-0": {
"mixins": [
{"name": "thorax-dep-jquery", "ignoreWarnings": true, "overrides": {"backbone.js": "test/lib/backbone-1-0.js"}}
]
},
"zepto-backbone-1-0": {
"mixins": [
{"name": "thorax-dep-zepto", "ignoreWarnings": true, "overrides": {"backbone.js": "test/lib/backbone-1-0.js"}}
],
"scripts": [
{"src": "test/lib/handlebars-reset.js", "global": true},
{"src": "components/handlebars/handlebars.js", "ignoreWarnings": true, "global": true}
]
},
"thorax": {
"scripts": [
{"src": "LICENSE", "global": true}
],
"mixins": [
"thorax",
{"name": "thorax-form", "server": false},
"thorax-helper-tags",
"thorax-loading"
]
},
"thorax-mobile": {
"scripts": [
{"src": "LICENSE", "global": true}
],
"mixins": [
"thorax",
{"name": "thorax-form", "server": false},
"thorax-helper-tags",
"thorax-loading",
"thorax-mobile"
]
},
"test": {
"mixins": [
{
"name": "test",
"overrides": {
"test/lib/chai.js": "test/lib/expect.js",
"test/lib/sinon-chai.js": false
}
},
"loaded-test-runner"
],
"scripts": [
// IE I hate you
{"src": "test/lib/json2.js", "global": true},
"test/src/"
],
"static": [
{"src": "test/jquery.html", "dest": "jquery/test.html"},
{"src": "test/zepto.html", "dest": "zepto/test.html"},
{"src": "test/jquery-backbone-1-0.html", "dest": "jquery-backbone-1-0/test.html"},
{"src": "test/zepto-backbone-1-0.html", "dest": "zepto-backbone-1-0/test.html"}
]
},
"test-ie": {
"scripts": [
// Must be defined in distinct file from the test declaration that loads sinon itself
// otherwise hoisting will break the hack. Seemingly only applies to IE8 and below
{"src": "test/lib/sinon-ie.js", "global": true}
]
},
"test-fruit-loops": {
"mixins": [
// We will be injecting our own test runners that are able to safely exec in this environment
"loaded-test-runner"
],
"scripts": [
"test/src/"
],
"static": [
{"src": "test/fruit-loops.html", "dest": "fruit-loops/test.html"},
{"src": "benchmark/bench.html", "dest": "fruit-loops/bench.html"}
]
},
},
"mixins": [
"."
],
"scope": {
"template": "src/fragments/scope.handlebars"
},
"server": true
}