1 | // Because idBuilder is itself written in ES6, use the babel register require
|
2 | // call here to be able to run the ES6 code directly from here.
|
3 | require('babel/register');
|
4 |
|
5 | var idBuilder = require('./src');
|
6 |
|
7 | idBuilder({
|
8 | tasks: {
|
9 | clean: {
|
10 | enabled: true
|
11 | },
|
12 |
|
13 | compileBabel: {
|
14 | enabled: true
|
15 | },
|
16 |
|
17 | compileBrowserify: {
|
18 | enabled: false
|
19 | },
|
20 |
|
21 | compileCoffeescript: {
|
22 | enabled: false
|
23 | },
|
24 |
|
25 | compileCopy: {
|
26 | enabled: true
|
27 | },
|
28 |
|
29 | compileJade: {
|
30 | enabled: false
|
31 | },
|
32 |
|
33 | compileLess: {
|
34 | enabled: false
|
35 | },
|
36 |
|
37 | compileLivescript: {
|
38 | enabled: false
|
39 | },
|
40 |
|
41 | compileStylus: {
|
42 | enabled: false
|
43 | },
|
44 |
|
45 | runBrowsersyncServer: {
|
46 | enabled: false
|
47 | },
|
48 |
|
49 | runServers: {
|
50 | enabled: false
|
51 | },
|
52 |
|
53 | runTests: {
|
54 | enabled: true
|
55 | },
|
56 |
|
57 | watchBabel: {
|
58 | enabled: true
|
59 | },
|
60 |
|
61 | watchBrowserify: {
|
62 | enabled: false
|
63 | },
|
64 |
|
65 | watchBrowsersync: {
|
66 | enabled: false
|
67 | },
|
68 |
|
69 | watchCoffeescript: {
|
70 | enabled: false
|
71 | },
|
72 |
|
73 | watchCopy: {
|
74 | enabled: true
|
75 | },
|
76 |
|
77 | watchJade: {
|
78 | enabled: false
|
79 | },
|
80 |
|
81 | watchLess: {
|
82 | enabled: false
|
83 | },
|
84 |
|
85 | watchLivescript: {
|
86 | enabled: false
|
87 | },
|
88 |
|
89 | watchStylus: {
|
90 | enabled: false
|
91 | },
|
92 |
|
93 | watchServers: {
|
94 | enabled: false
|
95 | },
|
96 |
|
97 | watchTests: {
|
98 | enabled: true
|
99 | },
|
100 |
|
101 | watch: {
|
102 | enabled: true
|
103 | }
|
104 | }
|
105 | }, function afterIdBuilder(e) {
|
106 | if (e) {
|
107 | console.error(e.stack || e.message || e);
|
108 | }
|
109 |
|
110 | process.exit();
|
111 | });
|