forked from SpoonX/aurelia-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spoonx.js
67 lines (55 loc) · 1.68 KB
/
spoonx.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/************************************************/
/* spoonx-tools configuration */
/* @see https://github.com/SpoonX/spoonx-tools */
/************************************************/
var appRoot = 'src/';
module.exports = {
path: {
root: appRoot,
/* options and their defaults */
/* js files to ignore
*
* ignore: [],
*/
/* future use: use TypeScript or Babel for transpiling
*
* useTypeScriptForDTS: false,
*/
/* Imports to append to the import block of the main file.
* Add here eg. non-concated local imports in the main file as they will
* get removed during the build process (ValueConverters, CustomElements).
*
* importsToAdd: ["import {AssociationSelect} from './association-select';"],
*/
importsToAdd: [],
/* js to be transpiled, but not be concated
* (ValueConverters, CustomElements)
*
* jsResources: [appRoot + 'association-select.js'],
*/
jsResources: [
appRoot + 'component/association-select.js',
appRoot + 'component/paged.js'
],
/* other resources that need to get copied keeping their path
* resources: appRoot + '{** / *.css,** / *.html}',
*/
resources: appRoot + '{**/*.css,**/*.html}',
/* imports that are only used internally, eg 'extend'. no need to d.ts export them
*
* importsToIgnoreForDts: ['extend'],
*/
importsToIgnoreForDts: ['typer', 'get-prop'],
/* sort when concating
* sort: true,
*/
sort: true,
/* concat js files
* concat: true,
*/
concat: true,
/* default options overwrites for karma
* karma: {browsers: ['Chrome']}
*/
}
};