-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.yml
131 lines (129 loc) · 3.37 KB
/
package.yml
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
119
120
121
122
123
124
125
126
127
128
129
130
131
apps:
autoreload:
file: src/autoreload/ModuleReload.ts
outputMain: lib/plugin.reload.js
package:
moduleWrapperCustomPath: "./src/autoreload/wrapper.js"
converter:
file: projects/converter/src/Converter.ts
outputMain: lib/converter-js.js
package:
moduleWrapperCustomPath: "./src/umd-wrapper.js"
settings:
atma-io-middleware-condcomments:
defines:
BROWSER: false
NODE: true
browser-default:
outputMain: lib/mask.js
package:
moduleWrapperCustomPath: "./src/umd-wrapper.js"
settings:
atma-io-middleware-condcomments:
defines:
BROWSER: true
NODE: false
atma-loader-ts:
typescript: "#import ./tsconfig.json"
atma-io-middleware-uglify:
uglify:
warnings: true
compress:
dead_code: true
unused: true
arguments: false
booleans: false
collapse_vars: false
comparisons: false
conditionals: false
hoist_funs: false
hoist_props: false
hoist_vars: false
if_return: false
inline: false
join_vars: false
keep_fnames: true
loops: false
negate_iife: false
reduce_funcs: false
reduce_vars: false
switches: false
typeofs: false
properties: false
sequences: false
side_effects: false
drop_debugger: false
global_defs:
DEBUG: false
mangle: false
parse: {}
output:
beautify: true
braces: true
quote_style: 1
indent_level: 2
comments: "^!"
copyFiles:
ref-mask-node/lib/mask.bootstrap.js: lib/mask.bootstrap.js
ref-mask-node/lib/mask.node.js: lib/mask.node.js
src/parser/html/html_entities.js: lib/html_entities.js
common:
file: src/mask.ts
package:
module: import
moduleWrapper: custom
import:
removeUnusedExports: true
lazy:
"/custom/*":
- modules/exports
- expression/src/exports
"/expression/*":
- project/observer
"/builder/*":
- "/feature/"
"/renderer/*":
- compo/exports
"/mask-compo/*":
- util/reporters
- parser/exports
- builder/exports
- expression/src/exports
- renderer/exports
- parser/exports
- "/feature/"
"CompoStatics\b":
- Component
"/expression/*":
- mask-compo
dynamicDependencies:
- "^vm$"
- "^fs$"
- "^module$"
- "^path$"
extensions:
io:
type: js
defaultExtensions:
js: ts
middlewares:
js:
- atma-io-middleware-condcomments:read
- atma-io-middleware-importer:read
#- atma-io-middleware-uglify:write
ts:
- atma-io-middleware-condcomments:read
- atma-io-middleware-importer:read
- atma-loader-ts:read
settings:
atma-loader-ts:
typescript: "#import ./tsconfig.json"
options:
include:
routes:
"@core": src/{0}
"@utils": ref-utils/src/{0}
"@mask-j": projects/mask-j/src/jmask/{0}
"@compo": projects/mask-compo/src/{0}
"@binding": projects/mask-binding/src/{0}
"@project": projects/{0}