esewa-react
Version:
A React library for integrating eSewa payment gateway into your React applications. This library handles hash signatures, base64 URL encoding, and provides a simple interface for initiating and verifying eSewa payments.
58 lines (57 loc) • 1.5 kB
JSON
{
"name": "esewa-react",
"version": "1.1.2",
"private": false,
"type": "module",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
}
},
"files": ["dist"],
"scripts": {
"build": "npm run build:ts && npm run build:vite",
"build:ts": "tsc --project tsconfig.declaration.json",
"build:vite": "vite build",
"lint": "eslint . --ext ts,tsx",
"preview": "vite preview"
},
"dependencies": {
"crypto-js": "^4.2.0",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@types/crypto-js": "^4.2.2",
"@types/node": "^20.11.24",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.2.2",
"vite": "^5.1.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"keywords": ["esewa", "payment", "react", "typescript", "nepal"],
"author": "Prashant Adhikari",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pr4shxnt/esewa-js.git"
},
"publishConfig": {
"access": "public"
}
}