@chainpay/component
Version:
A React-based payment component library that supports multiple payment channels and internationalization.
71 lines (70 loc) • 2.07 kB
JSON
{
"name": "@chainpay/component",
"version": "0.8.34",
"type": "module",
"main": "dist/chainpay-component.umd.js",
"module": "dist/chainpay-component.es.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite --host",
"build": "tsc -b && vite build && cp ./src/*.d.ts dist/",
"lint": "eslint .",
"preview": "vite preview",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"prepublishOnly": "npm run version:patch && npm run build",
"i18n": "node ./scripts/translate.mjs"
},
"peerDependencies": {
"antd": "^5.24.2",
"i18next": "^23.10.1",
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0",
"react-i18next": "^14.1.0",
"tailwindcss": "^3.4.17"
},
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"ahooks": "^3.8.4",
"clsx": "^2.1.1"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@iamtraction/google-translate": "^2.0.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^22.13.5",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.3.4",
"antd": "^5.24.2",
"autoprefixer": "^10.4.20",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"i18next": "^23.10.1",
"postcss": "^8.4.35",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^14.1.3",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^3.4.17",
"terser": "^5.39.0",
"typescript": "~5.7.3",
"typescript-eslint": "^8.25.0",
"vite": "^6.2.0"
},
"keywords": [
"react",
"component",
"chainpay",
"payment"
],
"author": "ChainPay Team",
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
}