-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·80 lines (80 loc) · 1.88 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
{
"name": "react-custom-widget-template",
"version": "2.0.12",
"description": "amis自定义组件模板(react技术栈)",
"keywords": [
"自定义组件模板",
"react技术栈",
"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": "react",
"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
}
}
],
"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/react-custom-widget-template.git"
},
"bugs": {
"url": "https://github.com/aisuda/react-custom-widget-template/issues"
},
"dependencies": {
"amis-widget": "^3.2.0",
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^9.1.1",
"amis-widget-cli": "^3.1.11",
"husky": "^4.2.5",
"lint-staged": "^10.2.9",
"prettier": "^2.0.5"
},
"engines": {
"node": ">= 10.13.0",
"npm": ">= 6.4.1"
}
}