/
package.json
executable file
·117 lines (117 loc) · 2.8 KB
/
package.json
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
{
"name": "multiple-custom-widget-template",
"version": "1.0.9",
"description": "amis自定义组件模板(多个自定义组件)",
"keywords": [
"自定义组件模板",
"amis自定义组件",
"amis-editor自定义插件"
],
"author": "fex",
"license": "MIT",
"scripts": {
"dev": "amis dev",
"preview": "amis preview",
"linkDebug": "amis linkDebug",
"build2lib": "amis build2lib",
"format": "prettier --write \"src/**/**/*.{js,jsx,ts,tsx,vue,scss,json}\""
},
"files": [
"dist/*"
],
"framework": "mulStack",
"amis-widgets": [
{
"name": "react-info-card",
"framework": "react",
"usage": "renderer",
"type": "react-info-card",
"entry": "/dist/reactInfoCard.umd",
"files": [
"/dist/reactInfoCard.css"
],
"editorPlugin": {
"name": "react-info-card-plugin",
"description": "信息展示卡片",
"pluginEntry": "/dist/reactInfoCardPlugin.umd",
"tag": [
"展示"
],
"sort": 100
}
},
{
"name": "hello-jquery",
"framework": "jquery",
"usage": "renderer",
"type": "hello-jquery",
"entry": "/dist/helloJquery.umd",
"files": [],
"editorPlugin": {
"name": "hello-jquery-plugin",
"description": "自定义组件hello-jquery",
"pluginEntry": "/dist/helloJqueryPlugin.umd",
"tag": [
"表单项"
],
"sort": 100
}
},
{
"name": "vue-info-card",
"framework": "vue",
"usage": "renderer",
"type": "vue-info-card",
"entry": "/dist/infoCard.umd",
"files": [
"/dist/infoCard.css"
],
"editorPlugin": {
"name": "vue-info-card-plugin",
"description": "自定义组件vue-text",
"pluginEntry": "/dist/infoCardPlugin.umd",
"tag": [
"展示"
],
"sort": 100
}
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/**/*.{js,jsx,ts,tsx,vue,scss,json}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "https://git@github.com:aisuda/multiple-custom-widget-template.git"
},
"bugs": {
"url": "https://github.com/aisuda/multiple-custom-widget-template/issues"
},
"dependencies": {
"amis-widget": "^3.2.0",
"jquery": "^3.5.1",
"postcss-pxtorem": "^6.1.0",
"react": "^16.8.6",
"vue": "^2.6.14"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^9.1.1",
"amis-widget-cli": "^3.2.2",
"husky": "^4.2.5",
"lint-staged": "^10.2.9",
"prettier": "^2.0.5"
},
"engines": {
"node": ">= 10.13.0",
"npm": ">= 6.4.1"
}
}