-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.67 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.67 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
{
"name": "@nativelite/fp",
"version": "0.2.0",
"description": "Lightweight, dependency‑free browser + server fingerprinting with explainable signals and similarity scoring.",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"unpkg": "dist/index.global.js",
"jsdelivr": "dist/index.global.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./node": {
"types": "./dist/signals.node.d.ts",
"import": "./dist/signals.node.js",
"require": "./dist/signals.node.cjs"
},
"./browser": {
"types": "./dist/signals.browser.d.ts",
"import": "./dist/signals.browser.js",
"require": "./dist/signals.browser.cjs"
}
},
"files": ["dist"],
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --dts --format esm,cjs,iife --global-name NativeliteFP --out-dir dist --minify --sourcemap --metafile --clean",
"dev": "tsup src/index.ts --watch --format esm,cjs --dts",
"check": "tsc --noEmit -p tsconfig.json",
"test": "npx tsx test/signals.node.test.ts",
"size": "npm run build && node scripts/size.mjs",
"size:limit": "npm run build && size-limit",
"analyze": "npm run build && size-limit --why"
},
"keywords": ["fingerprint", "browser", "node", "device", "similarity", "anti-fraud", "auth", "web"],
"author": "nativelite",
"license": "MIT",
"devDependencies": {
"tsup": "^8.1.0",
"typescript": "^5.5.4",
"size-limit": "^11.1.4",
"@size-limit/esbuild": "^11.1.4",
"@size-limit/why": "^11.1.4"
}
}