WizardConnect/packages/react/package.json
Dagur Valberg Johannsson 45fd9f4cb5
Add 'react' package with QR code and modal dialog
Makes it easier for dapp developers to integrate WizardConnect and have
consistent user interface for it across dapps.
2026-03-18 16:34:41 +01:00

44 lines
1.3 KiB
JSON

{
"name": "@wizardconnect/react",
"version": "0.1.0",
"type": "module",
"description": "React components and hooks for WizardConnect dapp integration",
"repository": {
"type": "git",
"url": "git+https://gitlab.com/riftenlabs/lib/wizardconnect.git",
"directory": "packages/react"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "tsc",
"test": "vitest --config vitest.config.ts --run --passWithNoTests",
"lint:prettier": "prettier --ignore-path ../../.gitignore . --list-different",
"lint:eslint": "eslint .",
"lint": "npm run lint:eslint && npm run lint:prettier",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:prettier": "prettier --ignore-path ../../.gitignore . --write",
"fix:eslint": "npm run lint:eslint -- --fix"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@wizardconnect/core": "*",
"@wizardconnect/dapp": "*",
"qrcode-generator": "^1.4.4"
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"happy-dom": "^20.8.4",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"typescript": "^5.6.2",
"vitest": "^3.2.3"
}
}