UNPKG

@chatui/core

Version:

The React library for Chatbot UI

114 lines (113 loc) 3.54 kB
{ "name": "@chatui/core", "version": "3.6.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.22.6", "@babel/runtime-corejs3": "^7.22.5", "clsx": "^1.1.1", "core-js": "^3.31.0", "dompurify": "^2.3.8", "intersection-observer": "^0.12.2" }, "devDependencies": { "@babel/cli": "^7.22.5", "@babel/core": "^7.22.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-transform-runtime": "^7.22.5", "@babel/preset-env": "^7.22.7", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@commitlint/cli": "^17.6.6", "@commitlint/config-conventional": "^17.6.5", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-terser": "^0.4.3", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^12.1.5", "@types/dompurify": "^2.4.0", "@types/jest": "^29.5.2", "@types/react": "^17.0.62", "@types/react-dom": "^17.0.20", "@types/resize-observer-browser": "^0.1.7", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.60.1", "autoprefixer": "^10.4.14", "copyfiles": "^2.4.1", "cssnano": "^6.0.1", "eslint": "^8.44.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-compat": "^4.1.4", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^8.0.3", "jest": "^29.5.0", "less": "^4.1.3", "postcss": "^8.4.25", "postcss-cli": "^10.1.0", "postcss-pxtorem": "^6.0.0", "react": "17.0.2", "react-dom": "17.0.2", "rollup": "^2.79.1", "ts-jest": "^29.1.1", "typescript": "^5.1.6" }, "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 <akainice@gmail.com>", "license": "MIT" }