@rcb-plugins/input-validator
Version:
A lightweight plugin to validate user input with visual feedbacks in React ChatBotify!
77 lines (76 loc) • 2.27 kB
JSON
{
"name": "@rcb-plugins/input-validator",
"pluginLogo": "https://cdn.jsdelivr.net/gh/react-chatbotify-plugins/input-validator@main/src/assets/logo.webp",
"homepage": "https://github.com/React-ChatBotify-Plugins/input-validator",
"keywords": [
"react",
"frontend-library",
"plugins",
"react-chatbotify",
"react-chatbotify-plugin"
],
"files": [
"./dist"
],
"version": "0.3.0",
"description": "A lightweight plugin to validate user input with visual feedbacks in React ChatBotify!",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "vite serve",
"build": "tsc -b && vite build",
"lint": "eslint --fix \"**/*.{ts,tsx}\"",
"format": "prettier --write \"{src,test,types}/**/*.{ts,tsx,js,json,md}\"",
"preview": "vite preview",
"prepack": "tsc && vite build",
"unit:test": "jest __tests__/"
},
"author": "tjtanjin",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/React-ChatBotify-Plugins/input-validator"
},
"peerDependencies": {
"react": "^18.3.1",
"react-chatbotify": "^2.0.0-beta.38",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.5.3",
"ts-jest": "^29.2.6",
"typescript": "^5.5.3",
"typescript-eslint": "^8.7.0",
"vite": "^5.4.8",
"vite-plugin-eslint2": "^5.0.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.26.0"
}
}