@farris/jit-engine 1.3.268 → 1.3.270
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +41 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +6 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +4 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +28 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +47 -0
- package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +12 -0
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +41 -0
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +7 -0
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +3 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js +3 -0
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js +1 -0
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/template/ui/mobilevue/area-picker.pug +0 -2
- package/lib/template/ui/mobilevue/avatar.pug +19 -0
- package/lib/template/ui/mobilevue/common/text-common.pug +80 -0
- package/lib/template/ui/mobilevue/fm-staff-info.pug +10 -0
- package/lib/template/ui/mobilevue/icon.pug +11 -0
- package/lib/template/ui/mobilevue/label.pug +9 -12
- package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
- package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
- package/lib/template/ui/mobilevue/layout-container.pug +11 -0
- package/lib/template/ui/mobilevue/page-content-container.pug +10 -0
- package/lib/template/ui/mobilevue/page-footer-container.pug +10 -0
- package/lib/template/ui/mobilevue/page-header-container.pug +10 -0
- package/lib/template/ui/mobilevue/picker-area.pug +55 -0
- package/lib/template/ui/mobilevue/picker-city.pug +61 -0
- package/lib/template/ui/mobilevue/show-image.pug +22 -0
- package/lib/template/ui/mobilevue/tag.pug +33 -0
- package/lib/template/ui/mobilevue/text.pug +118 -0
- package/package.json +55 -55
- package/lib/mobileapp/vue/static/.gitignore +0 -13
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//- -variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
+
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
+
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
+
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
11
|
+
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
12
|
+
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
13
|
+
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
14
|
+
-var request = variable.request ? String(variable.request) : undefined;
|
|
15
|
+
-var data = variable.data.value ? String(variable.data.value) : undefined;
|
|
16
|
+
-var hotCity = variable.hotCity.value ? String(variable.hotCity.value) : undefined;
|
|
17
|
+
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
18
|
+
-var bindingvalue = variable.bindingvalue ? String(variable.bindingvalue) : undefined
|
|
19
|
+
|
|
20
|
+
div(
|
|
21
|
+
v-if=visible
|
|
22
|
+
class="fm-input-wrapper"
|
|
23
|
+
)
|
|
24
|
+
fm-city-picker(
|
|
25
|
+
v-model=binding
|
|
26
|
+
v-model:value=bindingvalue
|
|
27
|
+
:required=require
|
|
28
|
+
:readonly=readonly
|
|
29
|
+
:disabled=disable
|
|
30
|
+
:data=data
|
|
31
|
+
:request=request
|
|
32
|
+
:hotCity=hotCity
|
|
33
|
+
input-align="right"
|
|
34
|
+
title=variable.title?""+variable.title:undefined
|
|
35
|
+
direction=variable.direction?variable.direction+"":undefined
|
|
36
|
+
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
37
|
+
:error-message!=variable.errorMessage
|
|
38
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
39
|
+
@change=variable.change ? String(variable.change) : undefined
|
|
40
|
+
)&attributes(attrs)
|
|
41
|
+
if(variable.leftTemplate)
|
|
42
|
+
template(#left-icon)
|
|
43
|
+
| !{variable.leftTemplate}
|
|
44
|
+
if(variable.rightTemplate)
|
|
45
|
+
template(#right-icon)
|
|
46
|
+
| !{variable.rightTemplate}
|
|
47
|
+
if(variable.extraTemplate)
|
|
48
|
+
template(#extra)
|
|
49
|
+
| !{variable.extraTemplate}
|
|
50
|
+
if(variable.valueTemplate)
|
|
51
|
+
template(v-slot:value="slotProps")
|
|
52
|
+
| !{variable.valueTemplate}
|
|
53
|
+
if(variable.labelTips)
|
|
54
|
+
template(#title)
|
|
55
|
+
<span>!{variable.title}</span>
|
|
56
|
+
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
57
|
+
<fm-icon name="s-illustrate-o"/>
|
|
58
|
+
<template #content>
|
|
59
|
+
<div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
|
|
60
|
+
</template>
|
|
61
|
+
</fm-popover>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
-var previewPath =`$formatUtils.imageThumbnailPath(${variable.attachId}, '${variable.rootId}')`
|
|
6
|
+
-var srcMode = variable.srcMode
|
|
7
|
+
if(srcMode == "dynamicUrl")
|
|
8
|
+
-attrs[`:src`] = variable.dynamicSrc;
|
|
9
|
+
else if(srcMode == "staticUrl")
|
|
10
|
+
-attrs.src = variable.staticSrc;
|
|
11
|
+
else
|
|
12
|
+
-attrs[`:src`] = previewPath;
|
|
13
|
+
|
|
14
|
+
fm-image(
|
|
15
|
+
v-if!=""+visible
|
|
16
|
+
id!=variable.id?"" + variable.id:undefined
|
|
17
|
+
width!=variable.width?"" + variable.width:undefined
|
|
18
|
+
height!=variable.height?"" + variable.height:undefined
|
|
19
|
+
radius!=variable.radius?"" + variable.radius:undefined
|
|
20
|
+
:fit=variable.fit?"" + variable.fit:undefined
|
|
21
|
+
:round=variable.round?"" + variable.round:undefined
|
|
22
|
+
)&attributes(attrs)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
+
- var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
6
|
+
-var binding = variable.binding? variable.binding : undefined
|
|
7
|
+
-var formatter = variable.formatter? variable.formatter : undefined
|
|
8
|
+
-var formBindingPrefix = variable.formBindingPrefix? String(variable.formBindingPrefix):undefined
|
|
9
|
+
-var formatterType = 'string'
|
|
10
|
+
|
|
11
|
+
-var valueStr = ''
|
|
12
|
+
|
|
13
|
+
if(binding && binding.type)
|
|
14
|
+
if(binding.type === 'Const')
|
|
15
|
+
-valueStr = `'${binding.value}'`;
|
|
16
|
+
if(binding.type === 'Form')
|
|
17
|
+
-valueStr = `${formBindingPrefix}${binding.bindingPath}`;
|
|
18
|
+
if(binding.type === 'LocaleVariable' || binding.type === 'RemoteVariable')
|
|
19
|
+
-valueStr = `uiState.${binding.code}`;
|
|
20
|
+
|
|
21
|
+
if(formatter && formatter.type)
|
|
22
|
+
-formatterType = formatter.type
|
|
23
|
+
-delete formatter.type
|
|
24
|
+
|
|
25
|
+
-var content = `{{$formatUtils.${formatterType}(${valueStr},${JSON.stringify(formatter)})}}`
|
|
26
|
+
|
|
27
|
+
fm-tag(
|
|
28
|
+
v-if=visible
|
|
29
|
+
type=variable.displayType ? String(variable.displayType) : undefined
|
|
30
|
+
size=variable.tagSize ? String(variable.tagSize) : undefined
|
|
31
|
+
color=variable.tagColor ? String(variable.tagColor) : undefined
|
|
32
|
+
)&attributes(attrs)
|
|
33
|
+
| !{content}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
-var enableLabel = variable.enableLabel
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class ?variable.appearance.class:'';
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style?variable.appearance.style:'';
|
|
5
|
+
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
7
|
+
-var binding = variable.binding? variable.binding : undefined
|
|
8
|
+
-var fontSize = variable.fontSize? String(variable.fontSize) : undefined
|
|
9
|
+
-var lineHeight = variable.lineHeight? String(variable.lineHeight) : undefined
|
|
10
|
+
-var textColor = variable.textColor? String(variable.textColor) : undefined
|
|
11
|
+
-var formatter = variable.formatter ? variable.formatter:{}
|
|
12
|
+
-var displayType = variable.displayType? String(variable.displayType) : undefined
|
|
13
|
+
-var formatterType = 'string'
|
|
14
|
+
-var valueStr = ''
|
|
15
|
+
-var formBindingPrefix = variable.formBindingPrefix? String(variable.formBindingPrefix):undefined
|
|
16
|
+
-var wrapPosition = variable.wrapPosition? variable.wrapPosition : undefined
|
|
17
|
+
|
|
18
|
+
-var label = variable.label
|
|
19
|
+
-var labelAppearance = variable.labelAppearance;
|
|
20
|
+
-var labelSize = variable.labelSize
|
|
21
|
+
-var labelFontSize = variable.labelFontSize
|
|
22
|
+
-var labelLineHeight = variable.labelLineHeight
|
|
23
|
+
-var labelColor = variable.labelColor
|
|
24
|
+
-var labelattrs = {};
|
|
25
|
+
-labelattrs.class = 'fm-common-label ';
|
|
26
|
+
-labelattrs.class += variable.labelAppearance && variable.labelAppearance.class ?variable.labelAppearance.class:'';
|
|
27
|
+
-labelattrs.style = variable.labelAppearance && variable.labelAppearance.style?variable.labelAppearance.style:'';
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
//--启用标签时,文本的样式
|
|
31
|
+
-var textCls = 'fm-common-text '
|
|
32
|
+
|
|
33
|
+
//--样式class
|
|
34
|
+
-attrs.class = `fm-common-field ${attrs.class} `
|
|
35
|
+
-attrs.class += displayType && displayType.startsWith('title-') ? 'fm-common-title':''
|
|
36
|
+
if(displayType)
|
|
37
|
+
-attrs.class += ` fm-${displayType}`
|
|
38
|
+
|
|
39
|
+
if(enableLabel && wrapPosition === 'afterLabel')
|
|
40
|
+
-attrs.class += ' d-flex ';
|
|
41
|
+
|
|
42
|
+
if(binding && binding.type)
|
|
43
|
+
if(binding.type === 'Const')
|
|
44
|
+
-valueStr = `'${binding.value}'`;
|
|
45
|
+
if(binding.type === 'Form')
|
|
46
|
+
-valueStr = `${formBindingPrefix}${binding.bindingPath}`;
|
|
47
|
+
if(binding.type === 'LocaleVariable' || binding.type === 'RemoteVariable')
|
|
48
|
+
-valueStr = `uiState.${binding.code}`;
|
|
49
|
+
|
|
50
|
+
-var labelContent = ''
|
|
51
|
+
if(enableLabel)
|
|
52
|
+
if(typeof label==='string')
|
|
53
|
+
-labelContent = `${label}`;
|
|
54
|
+
else if(label && typeof label==='object' && label.fullPath)
|
|
55
|
+
-labelContent = `{{ uiState.${label.fullPath} }}`;
|
|
56
|
+
else
|
|
57
|
+
-labelContent = '';
|
|
58
|
+
|
|
59
|
+
if(formatter && formatter.type)
|
|
60
|
+
-formatterType = formatter.type
|
|
61
|
+
-delete formatter.type
|
|
62
|
+
|
|
63
|
+
-var content = `{{$formatUtils.${formatterType}(${valueStr},${JSON.stringify(formatter)})}}`
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
//--样式
|
|
67
|
+
if(attrs.style)
|
|
68
|
+
-attrs.style += `;`
|
|
69
|
+
|
|
70
|
+
if(textColor)
|
|
71
|
+
-attrs.style += ` color:${textColor};`
|
|
72
|
+
|
|
73
|
+
//--内容
|
|
74
|
+
if(variable.size && variable.size.width)
|
|
75
|
+
-attrs.style += `width:${variable.size.width}px;`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
if(variable.size && variable.size.height)
|
|
79
|
+
-attrs.style += `height:${variable.size.height}px;`
|
|
80
|
+
|
|
81
|
+
if(fontSize)
|
|
82
|
+
-attrs.style += `font-size:${fontSize}px;`
|
|
83
|
+
|
|
84
|
+
if(lineHeight)
|
|
85
|
+
-attrs.style += `line-height:${lineHeight}px;`
|
|
86
|
+
|
|
87
|
+
//--标签样式
|
|
88
|
+
if(enableLabel)
|
|
89
|
+
if(labelattrs.style)
|
|
90
|
+
-labelattrs.style += `;`
|
|
91
|
+
|
|
92
|
+
if(labelColor)
|
|
93
|
+
-labelattrs.style += ` color:${labelColor};`
|
|
94
|
+
|
|
95
|
+
if(variable.labelSize && variable.labelSize.width)
|
|
96
|
+
-labelattrs.style += `width:${variable.labelSize.width}px;`
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
if(variable.labelSize && variable.labelSize.height)
|
|
100
|
+
-labelattrs.style += `height:${variable.labelSize.height}px;`
|
|
101
|
+
|
|
102
|
+
if(labelFontSize)
|
|
103
|
+
-labelattrs.style += `font-size:${labelFontSize}px;`
|
|
104
|
+
|
|
105
|
+
if(labelLineHeight)
|
|
106
|
+
-labelattrs.style += `line-height:${labelLineHeight}px;`
|
|
107
|
+
|
|
108
|
+
div(
|
|
109
|
+
v-if=visible
|
|
110
|
+
)&attributes(attrs)
|
|
111
|
+
if(enableLabel)
|
|
112
|
+
label()&attributes(labelattrs)
|
|
113
|
+
| !{labelContent}
|
|
114
|
+
|
|
115
|
+
span(
|
|
116
|
+
class=textCls
|
|
117
|
+
)
|
|
118
|
+
| !{content}
|
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@farris/jit-engine",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "./lib/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"jit": "./bin/index.js"
|
|
8
|
-
},
|
|
9
|
-
"engines": {
|
|
10
|
-
"node": ">= 6.9.0",
|
|
11
|
-
"npm": ">= 3.0.0"
|
|
12
|
-
},
|
|
13
|
-
"files": [
|
|
14
|
-
"lib/",
|
|
15
|
-
"bin/",
|
|
16
|
-
"ioc.config"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "npm run build-ts && npm run copy-static-assets",
|
|
20
|
-
"build-q": "npm run build-ts",
|
|
21
|
-
"test": "jest --coverage ",
|
|
22
|
-
"watch-test": "npm run test --watchAll",
|
|
23
|
-
"build-ts": "tsc",
|
|
24
|
-
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
|
25
|
-
"copy-static-assets": "ts-node copyStaticAssets.ts"
|
|
26
|
-
},
|
|
27
|
-
"keywords": [
|
|
28
|
-
"jit",
|
|
29
|
-
"engine",
|
|
30
|
-
"jit-engine"
|
|
31
|
-
],
|
|
32
|
-
"author": "Noah",
|
|
33
|
-
"license": "ISC",
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"fs-extra": "^8.1.0",
|
|
36
|
-
"lodash": "^4.17.10",
|
|
37
|
-
"prettier": "^1.18.2",
|
|
38
|
-
"pug": "^2.0.0-rc.4",
|
|
39
|
-
"typescript-ioc": "^1.2.4",
|
|
40
|
-
"yargs": "^12.0.1"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@types/fs-extra": "^8.1.1",
|
|
44
|
-
"@types/jest": "24.0.15",
|
|
45
|
-
"@types/lodash": "^4.14.91",
|
|
46
|
-
"@types/node": "^12.6.1",
|
|
47
|
-
"@types/prettier": "^1.18.0",
|
|
48
|
-
"@types/pug": "^2.0.4",
|
|
49
|
-
"@types/yargs": "^11.1.1",
|
|
50
|
-
"jest": "^24.8.0",
|
|
51
|
-
"ts-jest": "^24.0.2",
|
|
52
|
-
"ts-node": "^8.3.0",
|
|
53
|
-
"tslint": "^5.18.0",
|
|
54
|
-
"typescript": "^3.5.3"
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@farris/jit-engine",
|
|
3
|
+
"version": "1.3.270",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./lib/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"jit": "./bin/index.js"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">= 6.9.0",
|
|
11
|
+
"npm": ">= 3.0.0"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"lib/",
|
|
15
|
+
"bin/",
|
|
16
|
+
"ioc.config"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "npm run build-ts && npm run copy-static-assets",
|
|
20
|
+
"build-q": "npm run build-ts",
|
|
21
|
+
"test": "jest --coverage ",
|
|
22
|
+
"watch-test": "npm run test --watchAll",
|
|
23
|
+
"build-ts": "tsc",
|
|
24
|
+
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
|
25
|
+
"copy-static-assets": "ts-node copyStaticAssets.ts"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"jit",
|
|
29
|
+
"engine",
|
|
30
|
+
"jit-engine"
|
|
31
|
+
],
|
|
32
|
+
"author": "Noah",
|
|
33
|
+
"license": "ISC",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"fs-extra": "^8.1.0",
|
|
36
|
+
"lodash": "^4.17.10",
|
|
37
|
+
"prettier": "^1.18.2",
|
|
38
|
+
"pug": "^2.0.0-rc.4",
|
|
39
|
+
"typescript-ioc": "^1.2.4",
|
|
40
|
+
"yargs": "^12.0.1"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/fs-extra": "^8.1.1",
|
|
44
|
+
"@types/jest": "24.0.15",
|
|
45
|
+
"@types/lodash": "^4.14.91",
|
|
46
|
+
"@types/node": "^12.6.1",
|
|
47
|
+
"@types/prettier": "^1.18.0",
|
|
48
|
+
"@types/pug": "^2.0.4",
|
|
49
|
+
"@types/yargs": "^11.1.1",
|
|
50
|
+
"jest": "^24.8.0",
|
|
51
|
+
"ts-jest": "^24.0.2",
|
|
52
|
+
"ts-node": "^8.3.0",
|
|
53
|
+
"tslint": "^5.18.0",
|
|
54
|
+
"typescript": "^3.5.3"
|
|
55
|
+
}
|
|
56
56
|
}
|