forked from alibaba/formily
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 6.53 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
{
"name": "root",
"private": true,
"devEngines": {
"node": "8.x || 9.x || 10.x || 11.x",
"npm": "6.x"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"build": "rimraf -rf packages/*/lib packages/*/esm && lerna run build",
"build:docs": "node ./scripts/docs.js build -i docs/zh-cn -o docs/zh-cn",
"build:docs:en": "node ./scripts/docs.js build -i docs/en-us -o docs/en-us",
"start": "node ./scripts/docs.js start -i docs/zh-cn",
"start:en": "node ./scripts/docs.js start -i docs/en-us",
"sort-api": "node ./scripts/sort-api-table.js",
"test": "npm run lint && jest",
"test:sc": "jest --watch packages/react-shared-components/src/__tests__/*.spec.tsx",
"test:core": "jest --watch packages/core/src/__tests__/*.spec.ts",
"test:hook": "jest --watch packages/react/src/__tests__/*.spec.tsx",
"test:renderer": "jest --watch packages/react-schema-renderer/src/__tests__/*.spec.tsx",
"test:editor": "jest --watch packages/react-schema-editor/src/__tests__/*.spec.ts",
"test:prod": "cross-env TEST_ENV=production npm run build && jest",
"doc:core": "doc-scripts start -i packages/core",
"doc:react": "doc-scripts start -i packages/react",
"doc:editor": "doc-scripts start -i packages/react-schema-editor",
"test:watch": "jest --watch",
"coverage": "npm run test -- --coverage",
"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",
"release": "lerna publish",
"lint": "eslint --ext .ts,.tsx,.js \"packages/*/src/**.@(ts|tsx|js)\" \"scripts/**/*.js\" --fix",
"postinstall": "opencollective-postinstall"
},
"resolutions": {
"@types/react": "^16.8.23"
},
"devDependencies": {
"@alifd/next": "^1.19.1",
"@babel/cli": "^7.2.0",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@babel/runtime-corejs3": "^7.2.0",
"@testing-library/jest-dom": "^4.2.3",
"@testing-library/react": "^8.0.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^24.0.18",
"@types/node": "^12.6.8",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "~2.23.0",
"all-contributors-cli": "^6.1.2",
"antd": "^4.0.0",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.2.0",
"chalk": "^2.4.2",
"chokidar": "^2.1.2",
"concurrently": "^4.1.0",
"conventional-commit-types": "^2.2.0",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"doc-scripts": "^1.7.24",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"execa": "^1.0.0",
"findup": "^0.1.5",
"fs-extra": "^7.0.1",
"ghooks": "^2.0.4",
"glob": "^7.1.3",
"immutable": "^4.0.0-rc.12",
"istanbul-api": "^2.1.1",
"istanbul-lib-coverage": "^2.0.3",
"jest": "^24.1.0",
"jest-codemods": "^0.19.1",
"jest-dom": "^3.1.2",
"jest-localstorage-mock": "^2.3.0",
"jest-watch-lerna-packages": "^1.1.0",
"json5": "^2.1.0",
"lerna": "^3.10.1",
"lint-staged": "^8.2.1",
"majo": "^0.7.1",
"markdown-toc": "^1.2.0",
"mfetch": "^0.2.27",
"moment": "^2.24.0",
"monaco-editor": "^0.18.1",
"node-sass": "^4.13.0",
"onchange": "^5.2.0",
"opencollective": "^1.0.3",
"opencollective-postinstall": "^2.0.2",
"prettier": "^1.18.2",
"pretty-format": "^24.0.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-eva": "^1.1.7",
"react-monaco-editor": "^0.32.1",
"react-test-renderer": "^16.11.0",
"remark-parse": "^6.0.3",
"remark-stringify": "^6.0.4",
"rimraf": "^3.0.0",
"scheduler": "^0.15.0",
"semver-regex": "^2.0.0",
"staged-git-files": "^1.1.2",
"sw-precache-webpack-plugin": "^1.0.0",
"ts-import-plugin": "1.6.1",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "~3.6.2",
"unified": "^7.1.0",
"user-event": "^1.4.4",
"wait-for-expect": "^3.0.1",
"webpack": "^4.35.3",
"workbox-webpack-plugin": "^5.1.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"
],
"**/*.md": [
"prettier --write",
"git add"
]
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/formily"
},
"dependencies": {
"@ant-design/icons": "^4.0.2"
}
}