UNPKG

8.78 kBJSONView Raw
1{
2 "name": "ygd",
3 "version": "3.15.3",
4 "title": "YG Design",
5 "description": "An enterprise-class UI design language and React-based implementation",
6 "homepage": "http://ygd.ygego.dev1/",
7 "keywords": [
8 "yg",
9 "design",
10 "react",
11 "react-component",
12 "component",
13 "components",
14 "ui",
15 "framework",
16 "frontend"
17 ],
18 "contributors": [
19 "yg ued"
20 ],
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/ondc/yg-design"
24 },
25 "bugs": {
26 "url": "https://github.com/ondc/yg-design/issues"
27 },
28 "main": "lib/index.js",
29 "module": "es/index.js",
30 "files": [
31 "dist",
32 "lib",
33 "es"
34 ],
35 "typings": "lib/index.d.ts",
36 "license": "MIT",
37 "peerDependencies": {
38 "react": ">=16.0.0",
39 "react-dom": ">=16.0.0"
40 },
41 "dependencies": {
42 "@ant-design/icons": "~1.2.0",
43 "@ant-design/icons-react": "~1.1.2",
44 "@types/react-slick": "^0.23.3",
45 "array-tree-filter": "^2.1.0",
46 "babel-runtime": "6.x",
47 "classnames": "~2.2.6",
48 "copy-to-clipboard": "^3.0.8",
49 "create-react-class": "^15.6.3",
50 "create-react-context": "0.2.2",
51 "css-animation": "^1.5.0",
52 "dom-closest": "^0.2.0",
53 "enquire.js": "^2.1.6",
54 "lodash": "^4.17.11",
55 "moment": "^2.24.0",
56 "omit.js": "^1.0.0",
57 "prop-types": "^15.6.2",
58 "raf": "^3.4.0",
59 "rc-animate": "^2.5.4",
60 "rc-calendar": "~9.10.3",
61 "rc-cascader": "~0.17.0",
62 "rc-checkbox": "~2.1.5",
63 "rc-collapse": "~1.11.1",
64 "rc-dialog": "~7.3.0",
65 "rc-drawer": "~1.7.6",
66 "rc-dropdown": "~2.4.1",
67 "rc-editor-mention": "^1.1.7",
68 "rc-form": "^2.4.0",
69 "rc-input-number": "~4.4.0",
70 "rc-menu": "~7.4.12",
71 "rc-notification": "~3.3.0",
72 "rc-pagination": "~1.17.7",
73 "rc-progress": "~2.3.0",
74 "rc-rate": "~2.5.0",
75 "rc-select": "~9.0.0",
76 "rc-slider": "~8.6.5",
77 "rc-steps": "~3.3.0",
78 "rc-switch": "~1.9.0",
79 "rc-tabs": "~9.6.0",
80 "rc-table": "~6.4.0",
81 "rc-time-picker": "~3.6.1",
82 "rc-tooltip": "~3.7.3",
83 "rc-tree": "~1.14.6",
84 "rc-tree-select": "~2.6.0",
85 "rc-trigger": "^2.6.2",
86 "rc-upload": "~2.6.0",
87 "rc-util": "^4.5.1",
88 "react-lazy-load": "^3.0.13",
89 "react-lifecycles-compat": "^3.0.4",
90 "react-slick": "~0.23.2",
91 "resize-observer-polyfill": "^1.5.0",
92 "shallowequal": "^1.1.0",
93 "warning": "~4.0.2"
94 },
95 "devDependencies": {
96 "@ant-design/colors": "^2.0.0",
97 "@sentry/browser": "^4.5.2",
98 "@types/classnames": "^2.2.6",
99 "@types/prop-types": "^15.5.6",
100 "@types/react": "~16.8.1",
101 "@types/react-dom": "^16.0.11",
102 "@types/react-intl": "^2.3.14",
103 "@types/warning": "^3.0.0",
104 "@yesmeck/offline-plugin": "^5.0.5",
105 "ansi-styles": "^3.2.1",
106 "antd-theme-generator": "^1.1.4",
107 "antd-tools": "^7.1.2",
108 "babel-eslint": "^10.0.1",
109 "babel-plugin-add-react-displayname": "^0.0.5",
110 "bisheng": "^1.1.0",
111 "bisheng-plugin-antd": "^1.0.0",
112 "bisheng-plugin-description": "^0.1.4",
113 "bisheng-plugin-react": "^1.0.0",
114 "bisheng-plugin-toc": "^0.4.4",
115 "chalk": "^2.4.1",
116 "commander": "^2.18.0",
117 "cross-env": "^5.2.0",
118 "css-split-webpack-plugin": "^0.2.6",
119 "dekko": "^0.2.1",
120 "docsearch.js": "^2.5.2",
121 "enquire-js": "^0.2.1",
122 "enzyme": "^3.7.0",
123 "enzyme-adapter-react-16": "^1.6.0",
124 "enzyme-to-json": "^3.3.4",
125 "eslint": "^5.6.1",
126 "eslint-config-airbnb": "^17.1.0",
127 "eslint-config-prettier": "^4.0.0",
128 "eslint-plugin-babel": "^5.2.1",
129 "eslint-plugin-import": "^2.14.0",
130 "eslint-plugin-jsx-a11y": "^6.1.2",
131 "eslint-plugin-markdown": "~1.0.0-beta.6",
132 "eslint-plugin-react": "^7.11.1",
133 "eslint-tinker": "^0.5.0",
134 "fetch-jsonp": "^1.1.3",
135 "file-loader": "^3.0.1",
136 "glob": "^7.1.3",
137 "immutability-helper": "^3.0.0",
138 "intersection-observer": "^0.5.0",
139 "jest": "^24.0.0",
140 "jsdom": "^14.0.0",
141 "jsonml.js": "^0.1.0",
142 "lint-staged": "^8.0.2",
143 "logrocket": "^0.6.19",
144 "logrocket-react": "^3.0.0",
145 "lz-string": "^1.4.4",
146 "majo": "^0.7.1",
147 "mockdate": "^2.0.2",
148 "pre-commit": "^1.2.2",
149 "preact": "^8.3.1",
150 "preact-compat": "^3.18.4",
151 "prettier": "^1.15.3",
152 "querystring": "^0.2.0",
153 "rc-queue-anim": "^1.6.6",
154 "rc-scroll-anim": "^2.5.5",
155 "rc-tween-one": "^2.2.12",
156 "react": "^16.5.2",
157 "react-color": "^2.14.1",
158 "react-copy-to-clipboard": "^5.0.1",
159 "react-dnd": "^7.0.2",
160 "react-dnd-html5-backend": "^7.0.2",
161 "react-document-title": "^2.0.3",
162 "react-dom": "^16.5.2",
163 "react-github-button": "^0.1.11",
164 "react-highlight-words": "^0.16.0",
165 "react-infinite-scroller": "^1.2.1",
166 "react-intl": "^2.7.0",
167 "react-resizable": "^1.7.5",
168 "react-router-dom": "^5.0.0",
169 "react-sticky": "^6.0.3",
170 "react-test-renderer": "^16.6.3",
171 "react-virtualized": "~9.21.0",
172 "remark-cli": "^6.0.1",
173 "remark-frontmatter": "^1.3.0",
174 "remark-lint": "^6.0.4",
175 "remark-parse": "^6.0.0",
176 "remark-preset-lint-recommended": "^3.0.2",
177 "remark-stringify": "^6.0.0",
178 "remark-yaml-config": "^4.0.2",
179 "reqwest": "^2.0.5",
180 "rimraf": "^2.6.2",
181 "scrollama": "^2.0.0",
182 "stylelint": "~9.10.1",
183 "stylelint-config-prettier": "^5.0.0",
184 "stylelint-config-rational-order": "^0.0.4",
185 "stylelint-config-standard": "^18.2.0",
186 "stylelint-declaration-block-no-ignored-properties": "^1.1.0",
187 "stylelint-order": "^2.0.0",
188 "typescript": "~3.3.1",
189 "unified": "^7.0.0",
190 "url-loader": "^1.1.2",
191 "xhr-mock": "^2.4.1",
192 "xhr2": "^0.1.4"
193 },
194 "scripts": {
195 "test1": "jest --config .jest.js --no-cache",
196 "test-node1": "jest --config .jest.node.js --no-cache",
197 "test-all": "./scripts/test-all.sh",
198 "lint": "npm run lint:ts && npm run lint:es && npm run lint:demo && npm run lint:style && npm run lint:deps",
199 "lint:deps": "antd-tools run deps-lint",
200 "lint:ts": "npm run tsc && antd-tools run ts-lint",
201 "lint:es": "eslint tests site scripts components ./.*.js ./webpack.config.js --ext '.js,.jsx'",
202 "lint:md": "remark components/",
203 "lint:demo": "cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
204 "lint:style": "stylelint '{site,components}/**/*.less' --syntax less",
205 "lint-fix:ts": "npm run tsc && antd-tools run ts-lint-fix",
206 "lint-fix": "npm run lint-fix:code && npm run lint-fix:demo && npm run lint-fix:style",
207 "lint-fix:code": "eslint --fix tests site scripts components ./.*.js ./webpack.config.js --ext '.js,.jsx'",
208 "lint-fix:demo": "eslint-tinker ./components/*/demo/*.md",
209 "lint-fix:style": "stylelint --fix '{site,components}/**/*.less' --syntax less",
210 "sort-api": "node ./scripts/sort-api-table.js",
211 "dist": "antd-tools run dist",
212 "compile": "antd-tools run compile",
213 "tsc": "tsc",
214 "start": "rimraf _site && mkdir _site && node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js",
215 "start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js",
216 "site": "cross-env NODE_ENV=production bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js",
217 "predeploy": "antd-tools run clean && npm run site && cp netlify.toml _site && cp -r .circleci _site",
218 "deploy": "bisheng gh-pages --push-only",
219 "deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages",
220 "pub": "antd-tools run pub",
221 "prepublish1": "antd-tools run guard",
222 "pre-publish1": "npm run test-all && node ./scripts/prepub",
223 "authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' | grep -v 'gitter.im' | grep -v '.local>' > AUTHORS.txt",
224 "lint-staged": "lint-staged",
225 "lint-staged:ts": "tsc && node node_modules/tslint/bin/tslint",
226 "lint-staged:es": "eslint ./.*.js ./webpack.config.js",
227 "lint-staged:demo": "cross-env RUN_ENV=DEMO eslint --ext '.md'",
228 "prettier": "node ./scripts/prettier.js"
229 },
230 "pre-commit1": [
231 "lint-staged"
232 ],
233 "lint-staged": {
234 "components/**/*.tsx": [
235 "npm run lint-staged:ts",
236 "node ./scripts/prettier.js --pre",
237 "git add"
238 ],
239 "{tests,site,scripts,components}/**/*.{js,jsx}": [
240 "npm run lint-staged:es",
241 "node ./scripts/prettier.js --pre",
242 "git add"
243 ],
244 "{site,components}/**/*.less": [
245 "stylelint --syntax less",
246 "node ./scripts/prettier.js --pre",
247 "git add"
248 ],
249 "components/*/demo/*.md": [
250 "npm run lint-staged:demo"
251 ]
252 },
253 "sideEffects": [
254 "dist/*",
255 "es/**/style/*",
256 "lib/**/style/*",
257 "*.less"
258 ]
259}