forked from alibaba/formily
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
188 lines (188 loc) · 7.12 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "root",
"private": true,
"devEngines": {
"node": "8.x || 9.x || 10.x || 11.x"
},
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"build": "rimraf -rf packages/*/lib packages/*/esm && lerna run build",
"build:docs": "dumi build",
"start": "dumi dev",
"test": "jest --coverage",
"test:sc": "jest packages/react-shared-components/src/__tests__/*.spec.tsx",
"test:sc:watch": "npm run test:sc -- --watch",
"test:reactive": "jest packages/reactive/src/__tests__/*.spec.ts",
"test:core": "jest packages/core/src/__tests__/*.spec.ts",
"test:core:watch": "npm run test:core --- --watch",
"test:schema": "jest packages/json-schema/src/__tests__/*.spec.ts",
"test:schema:watch": "npm run test:schema --- --watch",
"test:react": "jest packages/react/src/__tests__/*.spec.tsx",
"test:react:watch": "npm run test:react --- --watch",
"test:react-schema": "jest packages/react-schema-field/src/__tests__/*.spec.tsx",
"test:react-schema:watch": "npm run test:react-schema --- --watch",
"test:vue": "jest packages/vue/src/__tests__/*.spec.ts",
"test:vue:watch": "npm run test:vue --- --watch",
"test:reactive-vue": "jest packages/reactive-vue/src/__tests__/*.spec.ts",
"test:reactive-vue:watch": "npm run test:reactive-vue --- --watch",
"test:watch": "jest --watch",
"test:prod": "jest --coverage --silent",
"coverage:upload": "rm -rf ./coverage && npm run coverage && node ./scripts/mapCoverage.js && codecov",
"prevesion": "npm run build && npm run lint && npm run test",
"version:alpha": "npm run prevesion && lerna version prerelease --preid alpha --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"version:beta": "npm run prevesion && lerna version prerelease --preid beta --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"version:rc": "npm run prevesion && lerna version prerelease --preid rc --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"version:patch": "npm run prevesion && lerna version patch --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"version:minor": "npm run prevesion && lerna version minor --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"version:preminor": "npm run prevesion && lerna version preminor --preid beta --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"version:major": "npm run prevesion && lerna version major --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
"release:force": "lerna publish from-package --yes",
"prelease:force": "lerna publish from-package --yes --dist-tag next",
"release": "lerna publish",
"prelease": "lerna publish --dist-tag next",
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" \"scripts/**/*.js\" --fix",
"postinstall": "opencollective-postinstall"
},
"resolutions": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0"
},
"devDependencies": {
"@alifd/next": "^1.19.1",
"@rollup/plugin-commonjs": "^17.0.0",
"@testing-library/jest-dom": "^5.0.0",
"@testing-library/react": "^11.2.3",
"@testing-library/vue": "^5.6.1",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.6.8",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.8.2",
"@umijs/plugin-sass": "^1.1.1",
"@vue/composition-api": "^1.0.0-rc.1",
"@vue/test-utils": "^1.1.3",
"@vuedx/typescript-plugin-vue": "^0.4.1",
"@vuepress-dumi/vuepress-plugin-dumi-previewer": "0.3.3",
"@vuepress-dumi/vuepress-theme-dumi": "0.3.3",
"@vuepress/plugin-back-to-top": "^1.8.2",
"@vuepress/plugin-medium-zoom": "^1.8.2",
"ant-design-vue": "^1.7.3",
"antd": "^4.0.0",
"chalk": "^2.4.2",
"chokidar": "^2.1.2",
"concurrently": "^4.1.0",
"conventional-commit-types": "^2.2.0",
"cool-path": "^1.0.6",
"cross-env": "^5.2.0",
"css-loader": "^5.0.0",
"cz-conventional-changelog": "^2.1.0",
"dumi": "^1.1.0-rc.8",
"eslint": "^7.14.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-markdown": "^2.0.1",
"eslint-plugin-vue": "^7.0.1",
"execa": "^1.0.0",
"file-loader": "^5.0.2",
"findup": "^0.1.5",
"fs-extra": "^7.0.1",
"ghooks": "^2.0.4",
"glob": "^7.1.3",
"html-webpack-plugin": "^3.2.0",
"immutable": "^4.0.0-rc.12",
"istanbul-api": "^2.1.1",
"istanbul-lib-coverage": "^2.0.3",
"jest": "^26.0.0",
"jest-codemods": "^0.19.1",
"jest-dom": "^3.1.2",
"jest-localstorage-mock": "^2.3.0",
"jest-styled-components": "6.3.3",
"jest-watch-lerna-packages": "^1.1.0",
"lerna": "^3.10.1",
"less": "^4.1.1",
"less-plugin-npm-import": "^2.1.0",
"postcss": "^8.0.0",
"lint-staged": "^8.2.1",
"mfetch": "^0.2.27",
"mobx": "^6.0.4",
"mobx-react-lite": "^3.1.6",
"escape-string-regexp": "^4.0.0",
"onchange": "^5.2.0",
"opencollective": "^1.0.3",
"opencollective-postinstall": "^2.0.2",
"param-case": "^3.0.4",
"prettier": "^2.2.1",
"pretty-format": "^24.0.0",
"raw-loader": "^4.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^16.11.0",
"rimraf": "^3.0.0",
"rollup": "^2.37.1",
"rollup-plugin-external-globals": "^0.6.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-postcss": "^4.0.0",
"semver-regex": "^2.0.0",
"staged-git-files": "^1.1.2",
"style-loader": "^1.1.3",
"styled-components": "^5.0.0",
"ts-import-plugin": "1.6.1",
"ts-jest": "^26.0.0",
"ts-loader": "^7.0.4",
"ts-node": "^9.1.1",
"typescript": "4.1.5",
"vue": "^2.6.12",
"vue-demi": "latest",
"vue-eslint-parser": "^7.1.1",
"vue-frag": "^1.1.4",
"vue-template-compiler": "^2.6.12",
"vuepress": "^1.8.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"config": {
"ghooks": {
"pre-commit": "lint-staged",
"commit-msg": "node ./scripts/validate-commit-msg.js"
},
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"packages/*/src/**.@(ts|tsx|js)": [
"npm run lint",
"git add"
],
"scripts/**.@(ts|tsx|js)": [
"npm run lint",
"git add"
],
"packages/!(*vue)/**/*.md": [
"prettier --write",
"git add"
]
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/formily"
},
"dependencies": {
"@ant-design/icons": "^4.0.2"
}
}