-
Notifications
You must be signed in to change notification settings - Fork 2
/
stealconfig.js
47 lines (42 loc) · 957 Bytes
/
stealconfig.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
47
steal.config({
map: {
"jquery/jquery": "jquery"
},
paths: {
"steal/*" : "../*.js",
"@traceur": "traceur/traceur.js",
"can/*": "site/components/CanJS/*.js",
"jquery": "site/components/jquery/dist/jquery.js"
},
meta: {
jquery: {
exports: "jQuery",
format: "global"
}
},
ext: {
"mustache": "can/view/mustache/system"
},
fixtures: false,
///////////////////////
// APP Configuration //
///////////////////////
apiLocation: "http://localhost:8009",
resultsPerPage: 10,
exampleSearches: [
'crypto.randomBytes',
'lodash OR underscore',
'package:request crypto'
],
taglines: [
'Dissecting code on npm, one search at the time',
'Code search for npm'
]
});
if(steal.config('fixtures')) {
console.log("FIXTURES USED");
System.meta['site/site'] = {
deps: ['site/fixtures']
};
}
System.buildConfig = {map: {"can/util/util" : "can/util/domless/domless"}};