-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
134 lines (134 loc) · 3.63 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@alifd/field",
"version": "2.0.3",
"description": "Fields can be used to manage data when it comes to form data manipulation and validation. After being associated with a component, the form data can be automatically written back, read, and verified.",
"files": [
"demo/",
"es/",
"lib/",
"build/"
],
"main": "lib/index.js",
"module": "es/index.js",
"stylePath": "style.js",
"scripts": {
"start": "build-scripts dev",
"build": "npm run build:demo && npm run build:es && npm run build:lib",
"build:demo": "build-scripts build",
"build:es": "rm -rf es && tsc -p ./tsconfig.build.json --outDir es --module esnext",
"build:lib": "rm -rf lib && tsc -p ./tsconfig.build.json --outDir lib --module commonjs",
"prepublishOnly": "npm run build",
"test": "cypress run --component -b chrome",
"test:head": "cypress open --component -b chrome",
"precommit": "lint-staged"
},
"lint-staged": {
"@(src|test)/**/*.@(ts|tsx)": [
"eslint"
],
"**/*.@(js|ts|tsx|json)": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"license": "MIT",
"keywords": [
"react",
"component"
],
"dependencies": {
"@alifd/validate": "^2.0.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@alib/build-scripts": "^0.1.3",
"@alifd/eslint-config-next": "^2.0.0",
"@alifd/next": "^1.15.12",
"@commitlint/cli": "^8.1.0",
"@types/chai": "^4.3.11",
"@types/react": "^16.14.56",
"@types/react-dom": "^16.9.24",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitejs/plugin-react": "^4.2.1",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0",
"chai": "^4.4.1",
"cypress": "^13.6.4",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-tsdoc": "^0.2.17",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"mocha": "^6.1.4",
"moment": "^2.24.0",
"prettier": "^3.2.4",
"prop-types": "^15.8.1",
"react": "^16.3.0",
"react-dom": "^16.8.6",
"react-redux": "^7.1.0",
"redux": "^4.0.4",
"semantic-release": "^17.2.3",
"sinon": "^16.1.3",
"typescript": "^4.9.5",
"vite": "^4.5.2"
},
"componentConfig": {
"name": "field",
"title": "Field",
"categories": [
"表单"
]
},
"homepage": "https://unpkg.com/@alifd/[email protected]/build/index.html",
"bugs": "https://github.com/alibaba-fusion/field/issues",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba-fusion/field.git"
},
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "typescript",
"release": "patch"
},
{
"type": "revert",
"release": "patch"
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES"
]
}
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
}
}