forked from arco-design/arco-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 5.88 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": "@arco-design/web-react",
"version": "2.63.1",
"description": "Arco Design React UI Library.",
"module": "./es/index.js",
"main": "./lib/index.js",
"unpkg": "./dist/arco.min.js",
"types": "./es/index.d.ts",
"scripts": {
"prepublishOnly": "yarn generate-version && yarn icon && yarn build",
"init": "./scripts/init.sh",
"dependencies": "./scripts/dependencies.sh",
"git": "git add .",
"start": "concurrently npm:dev npm:dev:site",
"build:dist": "arco-scripts build:component:dist && yarn build:hooks:dist",
"build:dist:dev": "cross-env BUILD_ENV_MODE=development BUILD_ENV_DIST_FILENAME_JS=arco.development.js arco-scripts build:component:dist",
"build:icon": "arco-scripts build:icon",
"build:es": "arco-scripts build:component:es && yarn build:hooks:es",
"build:cjs": "arco-scripts build:component:cjs && yarn build:hooks:cjs",
"build:css": "arco-scripts build:component:css",
"build:css:dev": "cross-env BUILD_ENV_MODE=development BUILD_ENV_DIST_FILENAME_CSS=arco.css arco-scripts build:component:css",
"build:css:vars": "node ./scripts/css-variables.js",
"build:hooks": "cd hooks && yarn build",
"build:hooks:dist": "cd hooks && yarn build:dist",
"build:hooks:cjs": "cd hooks && yarn build:cjs",
"build:hooks:es": "cd hooks && yarn build:es",
"build": "arco-scripts build:component && yarn build:dist:dev && yarn build:css:dev && yarn build:hooks",
"dev": "arco-scripts dev:component ",
"dev:site": "arco-scripts dev:site --port 9000",
"build:site": "arco-scripts build:site",
"demo": "start-storybook -p 6006",
"changelog": "arco-scripts changelog",
"eslint": "eslint tests/ components/ --fix --cache --quiet --ext .js,.jsx,.ts,.tsx",
"stylelint": "stylelint \"{components,site}/**/*.less\"",
"test:client": "arco-scripts test:client",
"test:node": "arco-scripts test:node --silent=false",
"test:watch": "arco-scripts test:client --silent=false --collectCoverage=false --watch",
"test": "cross-env NODE_ENV=test npm-run-all build:cjs test:client test:node",
"color": "node ./scripts/compileColors.js",
"icon": "cd icon && rimraf react-icon/ && rimraf react-icon-cjs && cd build/ && node generate.js && node genDemo.js",
"format": "prettier --config .prettierrc --write \"{stories,tests,components}/**/*.{js,jsx,ts,tsx}\"",
"docgen": "arco-scripts docgen",
"docgen:hooks": "DOC_ENTRY=components/_hooks/* arco-scripts docgen",
"generate-version": "node ./scripts/generate-version.js",
"prepare": "husky install",
"test:screenshots": "node ./tests/screenshots.js",
"pre-commit": "pretty-quick --staged && npm run eslint && npm run stylelint"
},
"keywords": [
"arco",
"ArcoDesign",
"react",
"ui",
"byteui",
"bytedesign",
"component"
],
"homepage": "https://arco.design",
"bugs": {
"url": "https://github.com/arco-design/arco-design/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/arco-design/arco-design.git"
},
"author": "ArcoDesign Team",
"license": "MIT",
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"devDependencies": {
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/react": "^6.1.10",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "12",
"@testing-library/react-hooks": "^3.2.1",
"@testing-library/user-event": "^14.2.1",
"@types/enzyme": "^3.10.5",
"@types/jest": "^26.0.1",
"@types/lodash": "^4.14.173",
"@types/react": "^16.7.20",
"@types/react-dom": "^16.0.11",
"@types/shallowequal": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"arco-scripts": "^1.27.14",
"chalk": "^2.4.2",
"concurrently": "^5.2.0",
"cross-env": "^7.0.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.3.5",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.26.0",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-tsdoc": "^0.2.14",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"husky": "^7.0.4",
"jest-canvas-mock": "^2.5.2",
"less": "^3.12.2",
"moment": "^2.26.0",
"moment-timezone": "^0.5.31",
"npm-run-all": "^4.1.5",
"nunjucks": "^3.2.2",
"playwright": "^1.27.1",
"postcss-less": "4.0.1",
"prettier": "^2.5.0",
"pretty-quick": "^3.1.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-test-renderer": "^16.7.0",
"rimraf": "^3.0.2",
"sinon": "^9.0.1",
"stylelint": "^14.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0",
"svgo": "^2.3.0",
"typescript": "^4.4.3"
},
"dependencies": {
"@arco-design/color": "^0.4.0",
"@babel/runtime": "^7.5.5",
"b-tween": "^0.3.3",
"b-validate": "^1.4.2",
"compute-scroll-into-view": "^1.0.17",
"dayjs": "^1.10.5",
"lodash": "^4.17.21",
"number-precision": "^1.3.1",
"react-focus-lock": "^2.9.1",
"react-is": "^18.2.0",
"react-transition-group": "^4.3.0",
"resize-observer-polyfill": "^1.5.1",
"scroll-into-view-if-needed": "2.2.20",
"shallowequal": "^1.1.0"
},
"sideEffects": [
"dist/**/*",
"es/**/style/*",
"lib/**/style/*",
"*.less"
],
"files": [
"dist",
"es",
"lib",
"icon/react-icon",
"icon/react-icon-cjs",
"icon/index.js",
"icon/index.es.js",
"icon/index.d.ts",
"icon/icons.json",
"icon/package.json",
"hooks/es",
"hooks/lib",
"hooks/package.json"
],
"_unpkg": true
}