UNPKG

@fingerprintjs/fingerprintjs-pro-react

Version:
111 lines (110 loc) 3.44 kB
{ "name": "@fingerprintjs/fingerprintjs-pro-react", "version": "2.7.0", "description": "FingerprintJS Pro React SDK", "main": "dist/fp-pro-react.cjs.js", "module": "dist/fp-pro-react.esm.js", "types": "dist/fp-pro-react.d.ts", "exports": { ".": { "types": "./dist/fp-pro-react.d.ts", "import": "./dist/fp-pro-react.esm.js", "require": "./dist/fp-pro-react.cjs.js", "node": "./dist/fp-pro-react.esm.js" } }, "keywords": [ "fraud", "fraud detection", "fraud prevention", "browser", "identification", "fingerprint", "fingerprinting", "browser fingerprint", "device fingerprint", "privacy" ], "scripts": { "postinstall": "node scripts/detect-env.js", "prepare": "husky install", "watch": "rollup -c rollup.config.js -w", "build": "rimraf dist && rollup -c rollup.config.js --bundleConfigAsCjs", "start:spa": "pnpm start --prefix=examples/spa", "lint": "eslint --ext .js,.ts,.tsx --ignore-path .gitignore --max-warnings 0 .", "lint:fix": "pnpm lint --fix", "test": "jest", "test:coverage": "jest --coverage", "test:dts": "tsc --noEmit --isolatedModules dist/fp-pro-react.d.ts", "docs": "typedoc src/index.ts --out docs" }, "files": [ "dist", "scripts" ], "repository": { "type": "git", "url": "git+https://github.com/fingerprintjs/fingerprintjs-pro-react.git" }, "author": "FingerprintJS, Inc (https://fingerprint.com)", "license": "MIT", "bugs": { "url": "https://github.com/fingerprintjs/fingerprintjs-pro-react/issues" }, "homepage": "https://github.com/fingerprintjs/fingerprintjs-pro-react#readme", "dependencies": { "@fingerprintjs/fingerprintjs-pro-spa": "^1.3.2", "fast-deep-equal": "3.1.3" }, "devDependencies": { "@commitlint/cli": "^19.2.0", "@fingerprintjs/commit-lint-dx-team": "^0.0.2", "@fingerprintjs/conventional-changelog-dx-team": "^0.1.0", "@fingerprintjs/eslint-config-dx-team": "^0.1.0", "@fingerprintjs/prettier-config-dx-team": "^0.2.0", "@fingerprintjs/tsconfig-dx-team": "^0.0.2", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-typescript": "^11.1.6", "@testing-library/preact": "^3.2.3", "@testing-library/react": "^14.2.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.12", "@types/node": "^20.11.28", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "commitizen": "^4.3.0", "cz-conventional-changelog": "^3.3.0", "eslint": "8.57.0", "eslint-config-next": "14.1.3", "eslint-config-preact": "^1.3.0", "eslint-plugin-react": "7.34.0", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^9.0.11", "jest": "^27.5.1", "jest-environment-jsdom": "^27.5.1", "lint-staged": "^15.2.2", "preact": "^10.19.6", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.22.3", "rimraf": "^5.0.5", "rollup": "^4.13.0", "rollup-plugin-banner2": "^1.2.2", "rollup-plugin-dts": "^6.1.0", "rollup-plugin-license": "^3.3.1", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.1.2", "tslib": "^2.6.2", "typedoc": "^0.25.12", "typescript": "^5.4.2" }, "lint-staged": { "*.ts": "pnpm lint:fix", "*.tsx": "pnpm lint:fix" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }