-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.36 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.36 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
{
"name": "truehuman",
"version": "0.0.5",
"description": "Human verification, and anti-bot detection library for web applications.",
"homepage": "https://github.com/code-hemu/truehuman#readme",
"bugs": {
"url": "https://github.com/code-hemu/truehuman/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/code-hemu/truehuman.git"
},
"license": "GPL-3.0",
"author": "Hemanta Gayen",
"type": "module",
"keywords": [
"truehuman",
"bot-detection",
"browser-fingerprinting",
"anti-bot",
"fingerprint",
"device-fingerprint",
"browser-integrity",
"headless-detection",
"webdriver-detection",
"fraud-detection",
"human-verification",
"captcha-alternative",
"security"
],
"engines": {
"node": ">=18"
},
"main": "./dist/truehuman.cjs.js",
"module": "./dist/truehuman.esm.js",
"browser": "./dist/truehuman.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/truehuman.min.js",
"jsdelivr": "./dist/truehuman.min.js",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/truehuman.esm.js",
"require": "./dist/truehuman.cjs.js",
"default": "./dist/truehuman.esm.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "rollup -c",
"dev": "rollup -c -w",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"pretest:e2e": "npm run build",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"prepublishOnly": "npm run build && npm run typecheck",
"preversion": "npm run lint && npm run typecheck && npm run test",
"version": "npm run build && git add dist",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@playwright/test": "^1.61.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@vitest/coverage-v8": "^3.2.6",
"jsdom": "^29.1.1",
"rimraf": "^6.0.1",
"rollup": "^4.62.0",
"rollup-plugin-dts": "^6.4.1",
"rollup-plugin-esbuild": "^6.2.1",
"serve": "^14.2.6",
"typescript": "^5.8.0",
"vitest": "^3.1.0"
}
}