UNPKG

samagra-chatui

Version:
114 lines (113 loc) 3.54 kB
{ "name": "samagra-chatui", "version": "1.0.3", "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.18.3", "@babel/runtime-corejs3": "^7.18.3", "clsx": "^1.1.1", "core-js": "^3.23.1", "dompurify": "^2.3.8", "intersection-observer": "^0.12.2" }, "devDependencies": { "@babel/cli": "^7.17.10", "@babel/core": "^7.18.5", "@babel/plugin-proposal-class-properties": "^7.17.12", "@babel/plugin-transform-runtime": "^7.18.5", "@babel/preset-env": "^7.18.2", "@babel/preset-react": "^7.17.12", "@babel/preset-typescript": "^7.17.12", "@commitlint/cli": "^17.0.2", "@commitlint/config-conventional": "^17.0.2", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-node-resolve": "^13.3.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^12.1.5", "@types/dompurify": "^2.3.3", "@types/jest": "^28.1.1", "@types/react": "^17.0.45", "@types/react-dom": "^17.0.17", "@types/resize-observer-browser": "^0.1.7", "@typescript-eslint/eslint-plugin": "^5.28.0", "@typescript-eslint/parser": "^5.28.0", "autoprefixer": "^10.4.7", "copyfiles": "^2.4.1", "cssnano": "^5.1.11", "eslint": "^8.17.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-compat": "^4.0.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.30.0", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^8.0.1", "jest": "^28.1.1", "less": "^4.1.3", "postcss": "^8.4.14", "postcss-cli": "^9.1.0", "postcss-pxtorem": "^6.0.0", "react": "17.0.2", "react-dom": "17.0.2", "rollup": "^2.75.6", "rollup-plugin-terser": "^7.0.2", "ts-jest": "^28.0.5", "typescript": "^4.7.3" }, "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": "", "bugs": { "url": "https://github.com/Samagra-Development/ChatUI/issues" }, "repository": { "type": "git", "url": "https://github.com/Samagra-Development/ChatUI" }, "author": "samaga <>", "license": "MIT" }