UNPKG

@botonic/react

Version:

Build Chatbots using React

84 lines (83 loc) 2.73 kB
{ "name": "@botonic/react", "version": "0.36.2", "license": "MIT", "description": "Build Chatbots using React", "main": "./lib/cjs", "module": "./lib/esm", "types": "./lib/cjs/index.d.ts", "scripts": { "test:no-coverage": "../../node_modules/.bin/jest -c ./jest.config.js", "test": "../../node_modules/.bin/jest -c ./jest.config.js --coverage", "cloc": "../../scripts/qa/cloc-package.sh .", "prepublishOnly": "npm run clean; npm i; npm run build; npm run copy-files;", "clean": "rm -rf ./lib/", "copy-files": "copyfiles -u 1 src/**/*.svg src/**/*.png src/**/*.scss src/**/*.html lib/esm/; copyfiles -u 1 src/**/*.svg src/**/*.png src/**/*.scss src/**/*.html lib/cjs/;", "build": "../../node_modules/.bin/tsc -p tsconfig.json && ../../node_modules/.bin/tsc -p tsconfig.esm.json", "build:watch": "npm run build -- --watch", "prettier": "../../node_modules/.bin/prettier --no-error-on-unmatched-pattern --write '**/*.md' '**/*.css' '.*.js' '*.js{,on}'", "lint": "npm run prettier; npm run lint_core -- --fix", "lint_core": "../../node_modules/.bin/eslint_d --cache --quiet '.*.js' '*.js' 'src/**/*.js*' --fix" }, "dependencies": { "@botonic/core": "^0.36.0", "axios": "^1.10.0", "emoji-picker-react": "^4.12.0", "lodash.merge": "^4.6.2", "markdown-it": "^12.3.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-json-tree": "^0.18.0", "react-router-dom": "^5.3.4", "react-textarea-autosize": "^8.5.5", "styled-components": "^5.3.11", "ua-parser-js": "^1.0.39", "uuid": "^10.0.0" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.25.9", "@babel/preset-react": "^7.26.3", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/lodash.merge": "^4.6.9", "@types/parse5": "^7.0.0", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", "@types/styled-components": "^5.1.34", "@types/ua-parser-js": "^0.7.39", "@types/uuid": "^10.0.0", "babel-plugin-add-module-exports": "^1.0.4", "copyfiles": "^2.4.1", "identity-obj-proxy": "^3.0.0", "intersection-observer": "^0.12.2", "react-test-renderer": "^18.3.1", "typescript": "5.0.4" }, "engines": { "node": ">=20.0.0", "npm": ">=10.0.0" }, "sideEffects": [ "*.scss", "*.css", "*.sass" ], "author": "", "files": [ "src/**", "lib/**", "index.d.ts", "MIGRATION_GUIDE.md", "README.md" ], "keywords": [ "bot-framework", "chatbot", "conversational-app", "conversational-ui", "javascript", "react" ] }