forked from alibaba/ChatUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.43 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
{
"name": "@chatui/core",
"version": "1.3.0",
"description": "The React library for Chatbot UI",
"main": "lib/index.js",
"module": "es/index.js",
"browser": "dist/index.js",
"style": "dist/index.css",
"typings": "lib/index.d.ts",
"files": [
"dist",
"es",
"lib"
],
"scripts": {
"clean": "rm -rf dist && rm -rf es && rm -rf lib",
"prebuild": "npm run clean",
"prefix": "NODE_ENV=production postcss dist/index.css -o dist/index.css",
"copy:less": "copyfiles -u 1 src/**/*.less src/**/**/*.less es",
"js:cjs": "BABEL_ENV=cjs babel src -d lib --extensions '.ts,.tsx'",
"js:esm": "BABEL_ENV=esm babel src -d es --extensions '.ts,.tsx'",
"build:types": "tsc -p tsconfig.build.json",
"build": "npm run js:cjs && npm run js:esm && npm run build:types",
"build:css": "lessc src/styles/index.less dist/index.css && npm run prefix && npm run copy:less",
"build:umd": "BABEL_ENV=umd rollup -c && npm run build:css",
"prepublishOnly": "npm run build && npm run build:umd",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepare": "husky install"
},
"dependencies": {
"@babel/runtime": "^7.16.3",
"@babel/runtime-corejs3": "^7.16.3",
"clsx": "^1.1.1",
"core-js": "^3.19.1",
"dompurify": "^2.3.3",
"intersection-observer": "^0.12.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.2",
"@rollup/plugin-node-resolve": "^13.0.6",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^11.2.7",
"@types/dompurify": "^2.3.1",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.34",
"@types/react-dom": "^17.0.11",
"@types/resize-observer-browser": "^0.1.6",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"autoprefixer": "^10.4.0",
"copyfiles": "^2.4.1",
"cssnano": "^5.0.10",
"eslint": "^7.27.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-compat": "^3.13.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"less": "^4.1.2",
"postcss": "^8.3.11",
"postcss-cli": "^8.3.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"rollup": "^2.60.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.6",
"typescript": "^4.4.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"browserslist": [
">0.2%",
"Android >= 4.4",
"not dead",
"not op_mini all"
],
"keywords": [
"react",
"react-component",
"chat",
"chat-ui"
],
"homepage": "https://chatui.io/",
"bugs": {
"url": "https://github.com/alibaba/ChatUI/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba/ChatUI"
},
"author": "akai <[email protected]>",
"license": "MIT"
}