-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.js
More file actions
31 lines (30 loc) · 814 Bytes
/
Package.js
File metadata and controls
31 lines (30 loc) · 814 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
30
31
exports.Package = class Package {
publish(language = 'imba') {
const path = language.toLowerCase() == 'imba'
? 'imba' : (
language.toLowerCase() == 'typescript' ? 'ts' : 'imba'
)
return {
'auth-emails': {
paths: {
'app/Mail': './formidable/auth-emails',
}
},
'web': {
paths: {
'config': `./formidable/web/config/${path}`,
'public': './formidable/web/public',
'app/Resolvers': `./formidable/web/resolvers/${path}`,
'routes': `./formidable/web/routes/${path}`,
'test': `./formidable/web/test/${path}`,
'resources/views': './formidable/web/views',
}
},
'auth': {
paths: {
'./': `./formidable/auth/${path}`,
}
}
}
}
}