-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@fingerprint/react",
"version": "3.1.0",
"description": "Fingerprint React SDK",
"main": "dist/fingerprint-react.js",
"module": "dist/fingerprint-react.mjs",
"types": "dist/fingerprint-react.d.ts",
"publishConfig": {
"access": "public",
"provenance": true
},
"exports": {
".": {
"types": "./dist/fingerprint-react.d.ts",
"import": "./dist/fingerprint-react.mjs",
"require": "./dist/fingerprint-react.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",
"watch": "vite build --watch",
"build": "vite build",
"lint": "eslint --max-warnings 0 --no-warn-ignored",
"lint:fix": "pnpm lint --fix",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:coverage:diff": "vitest run --coverage --reporter json --outputFile.json=report.json",
"test:dts": "tsc --noEmit --isolatedModules --ignoreConfig dist/fingerprint-react.d.ts",
"test:e2e": "playwright test --config e2e/playwright.config.ts",
"docs": "typedoc src/index.ts --out docs",
"changeset:version": "changeset version",
"changeset:publish": "HUSKY=0 changeset publish"
},
"files": [
"dist",
"scripts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fingerprintjs/react.git"
},
"author": "FingerprintJS, Inc (https://fingerprint.com)",
"license": "MIT",
"packageManager": "pnpm@11.13.0+sha512.88d94724d8f2e6c186744a5584c6e59ecac869ec7ba15e9cb4cd628e8dc7066820b2481d8ee3b51ea8da323a7378068aa58c556a3720d32b7c20a051d088363a",
"bugs": {
"url": "https://github.com/fingerprintjs/react/issues"
},
"homepage": "https://github.com/fingerprintjs/react#readme",
"dependencies": {
"@fingerprint/agent": "^4.1.2"
},
"peerDependencies": {
"react": ">=18 <20"
},
"devDependencies": {
"@changesets/cli": "^2.31.1",
"@commitlint/cli": "^21.2.1",
"@eslint-react/eslint-plugin": "5.14.10",
"@fingerprintjs/changesets-changelog-format": "^0.2.0",
"@fingerprintjs/commit-lint-dx-team": "^0.1.0",
"@fingerprintjs/eslint-config-dx-team": "^3.0.0",
"@fingerprintjs/prettier-config-dx-team": "^0.3.0",
"@fingerprintjs/tsconfig-dx-team": "^0.0.2",
"@microsoft/api-extractor": "^7.58.9",
"@next/eslint-plugin-next": "^16.2.10",
"@playwright/test": "^1.61.1",
"@testing-library/preact": "^3.2.4",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitest/coverage-istanbul": "^4.1.10",
"eslint": "^10.7.0",
"eslint-plugin-react-hooks": "^7.1.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"preact": "^10.29.7",
"prettier": "3.9.5",
"react": "catalog:",
"react-dom": "catalog:",
"react-router-dom": "^7.18.1",
"rimraf": "^6.1.3",
"rollup-plugin-banner2": "^1.3.1",
"tslib": "^2.8.1",
"typedoc": "^0.28.20",
"typescript": "catalog:",
"typescript-eslint": "^8.64.0",
"vite": "^8.1.4",
"vite-plugin-banner": "^0.8.1",
"vite-plugin-dts": "^5.0.3",
"vitest": "^4.1.10"
},
"lint-staged": {
"*.ts": "pnpm lint:fix",
"*.tsx": "pnpm lint:fix"
}
}