react-klasha
Version:
React hooks and components for accepting payments with the Klasha payment gateway
97 lines (96 loc) • 2.72 kB
JSON
{
"name": "react-klasha",
"version": "1.0.0",
"description": "React hooks and components for accepting payments with the Klasha payment gateway",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"engines": {
"node": ">=18"
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && rollup -c",
"build:watch": "npm run clean && rollup -c --watch",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"libs/**/*.{ts,tsx}\"",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --ignore-path .eslintignore .",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:watch": "jest --watch --verbose",
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Dansteve/react-klasha.git"
},
"keywords": [
"react",
"react-hooks",
"klasha",
"payments",
"payment-gateway",
"africa",
"checkout",
"typescript"
],
"author": {
"name": "Dansteve Adekanbi",
"email": "danstevea@gmail.com",
"url": "https://dansteve.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Dansteve/react-klasha/issues"
},
"homepage": "https://github.com/Dansteve/react-klasha#readme",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/jest": "^29.5.14",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.5.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.34.8",
"rollup-plugin-peer-deps-external": "^2.2.4",
"ts-jest": "^29.2.6",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
},
"overrides": {
"brace-expansion": "^5.0.8"
}
}