1 | {
|
2 | "name": "ygd",
|
3 | "version": "3.16.12",
|
4 | "description": "An enterprise-class UI design language and React components implementation",
|
5 | "keywords": [
|
6 | "ant",
|
7 | "component",
|
8 | "components",
|
9 | "design",
|
10 | "framework",
|
11 | "frontend",
|
12 | "react",
|
13 | "react-component",
|
14 | "ui"
|
15 | ],
|
16 | "homepage": "http://ant.design/",
|
17 | "bugs": {
|
18 | "url": "https://github.com/ant-design/ant-design/issues"
|
19 | },
|
20 | "repository": {
|
21 | "type": "git",
|
22 | "url": "https://github.com/ant-design/ant-design"
|
23 | },
|
24 | "license": "MIT",
|
25 | "contributors": [
|
26 | "ant"
|
27 | ],
|
28 | "files": [
|
29 | "dist",
|
30 | "lib",
|
31 | "es"
|
32 | ],
|
33 | "sideEffects": [
|
34 | "dist/*",
|
35 | "es/**/style/*",
|
36 | "lib/**/style/*",
|
37 | "*.less"
|
38 | ],
|
39 | "main": "lib/index.js",
|
40 | "module": "es/index.js",
|
41 | "unpkg": "dist/ygd.min.js",
|
42 | "typings": "lib/index.d.ts",
|
43 | "scripts": {
|
44 | "api-collection": "antd-tools run api-collection",
|
45 | "authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' | grep -v 'gitter.im' | grep -v '.local>' | grep -v 'alibaba-inc.com' | grep -v 'alipay.com' | grep -v 'taobao.com' > AUTHORS.txt",
|
46 | "build": "npm run compile && npm run dist",
|
47 | "bundlesize": "bundlesize",
|
48 | "check-commit": "node ./scripts/check-commit.js",
|
49 | "compile": "antd-tools run compile",
|
50 | "deploy": "npm run site && bisheng gh-pages --push-only",
|
51 | "dist": "antd-tools run dist",
|
52 | "lint": "npm run lint:tsc && npm run lint:script && npm run lint:demo && npm run lint:style && npm run lint:deps",
|
53 | "lint-fix": "npm run lint-fix:script && npm run lint-fix:demo && npm run lint-fix:style",
|
54 | "lint-fix:demo": "eslint-tinker ./components/*/demo/*.md",
|
55 | "lint-fix:script": "npm run lint:script -- --fix",
|
56 | "lint-fix:style": "npm run lint:style -- --fix",
|
57 | "lint:demo": "cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
|
58 | "lint:deps": "antd-tools run deps-lint",
|
59 | "lint:md": "remark components/",
|
60 | "lint:script": "eslint . --ext '.js,.jsx,.ts,.tsx'",
|
61 | "lint:style": "stylelint '{site,components}/**/*.less' --syntax less",
|
62 | "lint:tsc": "npm run tsc",
|
63 | "pre-publish1": "npm run check-commit && npm run test-all",
|
64 | "prettier": "prettier -c --write '**/*'",
|
65 | "pretty-quick": "pretty-quick",
|
66 | "pub": "antd-tools run pub",
|
67 | "prepublish": "antd-tools run guard",
|
68 | "site": "cross-env bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js",
|
69 | "sort": "npx sort-package-json",
|
70 | "sort-api": "antd-tools run sort-api-table",
|
71 | "start": "rimraf _site && mkdir _site && node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js",
|
72 | "start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js",
|
73 | "test": "jest --config .jest.js --no-cache",
|
74 | "test-all": "./scripts/test-all.sh",
|
75 | "test-node": "jest --config .jest.node.js --no-cache",
|
76 | "tsc": "tsc",
|
77 | "site:test": "jest --config .jest.site.js --cache=false"
|
78 | },
|
79 | "husky": {
|
80 | "hooks": {}
|
81 | },
|
82 | "browserslist": [
|
83 | "last 2 version",
|
84 | "Firefox ESR",
|
85 | "> 1%",
|
86 | "ie >= 9"
|
87 | ],
|
88 | "dependencies": {
|
89 | "@ant-design/create-react-context": "^0.2.5",
|
90 | "@ant-design/icons": "~2.1.1",
|
91 | "@ant-design/icons-react": "~2.0.1",
|
92 | "@types/react-slick": "^0.23.4",
|
93 | "antd-theme-generator": "1.1.7",
|
94 | "array-tree-filter": "^2.1.0",
|
95 | "babel-runtime": "6.x",
|
96 | "classnames": "~2.2.6",
|
97 | "copy-to-clipboard": "^3.2.0",
|
98 | "css-animation": "^1.5.0",
|
99 | "dom-closest": "^0.2.0",
|
100 | "enquire.js": "^2.1.6",
|
101 | "is-mobile": "^2.1.0",
|
102 | "lodash": "^4.17.13",
|
103 | "moment": "^2.24.0",
|
104 | "omit.js": "^1.0.2",
|
105 | "prop-types": "^15.7.2",
|
106 | "raf": "^3.4.1",
|
107 | "rc-animate": "^2.10.2",
|
108 | "rc-calendar": "~9.15.7",
|
109 | "rc-cascader": "~0.17.4",
|
110 | "rc-checkbox": "~2.1.6",
|
111 | "rc-collapse": "~1.11.3",
|
112 | "rc-dialog": "~7.6.0",
|
113 | "rc-drawer": "~3.1.1",
|
114 | "rc-dropdown": "~2.4.1",
|
115 | "rc-editor-mention": "^1.1.13",
|
116 | "rc-form": "^2.4.10",
|
117 | "rc-input-number": "~4.5.0",
|
118 | "rc-mentions": "~0.4.0",
|
119 | "rc-menu": "~7.5.1",
|
120 | "rc-notification": "~3.3.1",
|
121 | "rc-pagination": "1.20.11",
|
122 | "rc-progress": "~2.5.0",
|
123 | "rc-rate": "~2.5.0",
|
124 | "rc-resize-observer": "^0.1.0",
|
125 | "rc-select": "~9.2.0",
|
126 | "rc-slider": "8.6.5",
|
127 | "rc-steps": "~3.5.0",
|
128 | "rc-switch": "~1.9.0",
|
129 | "rc-table": "~6.10.5",
|
130 | "rc-tabs": "~9.7.0",
|
131 | "rc-time-picker": "~3.7.1",
|
132 | "rc-tooltip": "~3.7.3",
|
133 | "rc-tree": "~2.1.0",
|
134 | "rc-tree-select": "~2.9.1",
|
135 | "rc-trigger": "^2.6.2",
|
136 | "rc-upload": "~2.9.1",
|
137 | "rc-util": "^4.16.1",
|
138 | "react-lazy-load": "^3.0.13",
|
139 | "react-lifecycles-compat": "^3.0.4",
|
140 | "react-slick": "~0.25.2",
|
141 | "resize-observer-polyfill": "^1.5.1",
|
142 | "shallowequal": "^1.1.0",
|
143 | "warning": "~4.0.3"
|
144 | },
|
145 | "devDependencies": {
|
146 | "@ant-design/colors": "^3.2.2",
|
147 | "@ant-design/tools": "^9.0.1",
|
148 | "@qixian.cs/github-contributors-list": "^1.0.3",
|
149 | "@sentry/browser": "^5.4.0",
|
150 | "@stackblitz/sdk": "^1.3.0",
|
151 | "@types/classnames": "^2.2.8",
|
152 | "@types/gtag.js": "^0.0.3",
|
153 | "@types/jest": "^24.0.23",
|
154 | "@types/lodash": "^4.14.139",
|
155 | "@types/prop-types": "^15.7.1",
|
156 | "@types/raf": "^3.4.0",
|
157 | "@types/react": "^16.9.0",
|
158 | "@types/react-dom": "^16.8.4",
|
159 | "@types/shallowequal": "^1.1.1",
|
160 | "@types/warning": "^3.0.0",
|
161 | "@typescript-eslint/eslint-plugin": "^2.0.0",
|
162 | "@typescript-eslint/parser": "~2.23.0",
|
163 | "babel-eslint": "^10.0.1",
|
164 | "babel-plugin-add-react-displayname": "^0.0.5",
|
165 | "bisheng": "^1.3.3",
|
166 | "bisheng-plugin-antd": "^1.3.1",
|
167 | "bisheng-plugin-description": "^0.1.4",
|
168 | "bisheng-plugin-react": "^1.0.0",
|
169 | "bisheng-plugin-toc": "^0.4.4",
|
170 | "bundlesize": "^0.18.0",
|
171 | "chalk": "^3.0.0",
|
172 | "cheerio": "^1.0.0-rc.3",
|
173 | "cross-env": "^6.0.0",
|
174 | "css-split-webpack-plugin": "^0.2.6",
|
175 | "dekko": "^0.2.1",
|
176 | "docsearch.js": "^2.6.3",
|
177 | "enquire-js": "^0.2.1",
|
178 | "enzyme": "^3.10.0",
|
179 | "enzyme-adapter-react-16": "^1.14.0",
|
180 | "enzyme-to-json": "^3.3.5",
|
181 | "eslint": "^6.1.0",
|
182 | "eslint-config-airbnb": "^18.0.0",
|
183 | "eslint-config-prettier": "^6.0.0",
|
184 | "eslint-plugin-babel": "^5.3.0",
|
185 | "eslint-plugin-import": "~2.20.1",
|
186 | "eslint-plugin-jest": "^23.0.2",
|
187 | "eslint-plugin-jsx-a11y": "^6.2.1",
|
188 | "eslint-plugin-markdown": "^1.0.0",
|
189 | "eslint-plugin-react": "^7.14.2",
|
190 | "eslint-tinker": "^0.5.0",
|
191 | "fetch-jsonp": "^1.1.3",
|
192 | "glob": "^7.1.4",
|
193 | "http-server": "^0.12.0",
|
194 | "husky": "^3.0.2",
|
195 | "immutability-helper": "^3.0.0",
|
196 | "intersection-observer": "^0.7.0",
|
197 | "jest": "^25.5.0",
|
198 | "jsdom": "^15.1.1",
|
199 | "jsonml.js": "^0.1.0",
|
200 | "logrocket": "^1.0.0",
|
201 | "logrocket-react": "^4.0.0",
|
202 | "lz-string": "^1.4.4",
|
203 | "mockdate": "^2.0.2",
|
204 | "node-fetch": "^2.6.0",
|
205 | "preact": "^10.0.0",
|
206 | "preact-compat": "^3.18.5",
|
207 | "prettier": "^1.17.1",
|
208 | "pretty-quick": "^2.0.0",
|
209 | "querystring": "^0.2.0",
|
210 | "rc-footer": "^0.6.0",
|
211 | "rc-queue-anim": "^1.6.12",
|
212 | "rc-scroll-anim": "^2.5.8",
|
213 | "rc-tween-one": "^2.4.1",
|
214 | "react": "^16.5.2",
|
215 | "react-color": "^2.17.3",
|
216 | "react-copy-to-clipboard": "^5.0.1",
|
217 | "react-dnd": "^7.0.2",
|
218 | "react-dnd-html5-backend": "^7.0.2",
|
219 | "react-dom": "^16.5.2",
|
220 | "react-github-button": "^0.1.11",
|
221 | "react-helmet-async": "^1.0.4",
|
222 | "react-highlight-words": "^0.16.0",
|
223 | "react-infinite-scroller": "^1.2.4",
|
224 | "react-intl": "^3.1.1",
|
225 | "react-resizable": "^1.8.0",
|
226 | "react-router": "^3.2.3",
|
227 | "react-router-dom": "^5.0.1",
|
228 | "react-sticky": "^6.0.3",
|
229 | "react-test-renderer": "^16.8.6",
|
230 | "react-virtualized": "~9.21.1",
|
231 | "reqwest": "^2.0.5",
|
232 | "rimraf": "^3.0.0",
|
233 | "scrollama": "^2.0.0",
|
234 | "simple-git": "^1.113.0",
|
235 | "stylelint": "^12.0.0",
|
236 | "stylelint-config-prettier": "^8.0.0",
|
237 | "stylelint-config-rational-order": "^0.1.2",
|
238 | "stylelint-config-standard": "^19.0.0",
|
239 | "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
240 | "stylelint-order": "^4.0.0",
|
241 | "typescript": "~3.8.3",
|
242 | "xhr-mock": "^2.4.1",
|
243 | "xhr2": "^0.2.0",
|
244 | "yaml-front-matter": "^4.0.0"
|
245 | },
|
246 | "peerDependencies": {
|
247 | "react": ">=16.0.0",
|
248 | "react-dom": ">=16.0.0"
|
249 | },
|
250 | "bundlesize": [
|
251 | {
|
252 | "path": "./dist/ygd.min.js",
|
253 | "maxSize": "540 kB"
|
254 | },
|
255 | {
|
256 | "path": "./dist/ygd.min.css",
|
257 | "maxSize": "60 kB"
|
258 | }
|
259 | ],
|
260 | "title": "Yg Design"
|
261 | }
|