@yqzk/liveness-detection-web-component 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/LICENSE +21 -0
- package/README.md +350 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +1 -0
- package/dist/index.umd.cjs +1 -0
- package/package.json +78 -0
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@yqzk/liveness-detection-web-component",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "活体检测Web Component - 标准Web组件,可集成到任何前端框架",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.umd.cjs",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/index.js",
|
|
11
|
+
"dist/index.umd.cjs",
|
|
12
|
+
"dist/index.d.ts",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"CHANGELOG.md"
|
|
16
|
+
],
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.umd.cjs",
|
|
21
|
+
"types": "./dist/index.d.ts"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"dev": "vite",
|
|
26
|
+
"build": "vite build",
|
|
27
|
+
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
28
|
+
"build:full": "node scripts/encrypt-and-build.js",
|
|
29
|
+
"preview": "vite preview",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
32
|
+
"test": "vitest",
|
|
33
|
+
"prepack": "node scripts/pre-publish.js",
|
|
34
|
+
"prepublishOnly": "npm run type-check && npm run build:full"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=16.0.0",
|
|
38
|
+
"npm": ">=8.0.0"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public",
|
|
42
|
+
"registry": "https://registry.npmjs.org/"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"liveness-detection",
|
|
46
|
+
"web-component",
|
|
47
|
+
"face-detection",
|
|
48
|
+
"biometric",
|
|
49
|
+
"authentication",
|
|
50
|
+
"custom-element"
|
|
51
|
+
],
|
|
52
|
+
"author": "Liveness Detection Team",
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"dependencies": {},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "^20.0.0",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
58
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
59
|
+
"eslint": "^8.0.0",
|
|
60
|
+
"javascript-obfuscator": "^4.1.1",
|
|
61
|
+
"typescript": "^5.0.0",
|
|
62
|
+
"vite": "^5.0.0",
|
|
63
|
+
"vite-plugin-dts": "^3.0.0",
|
|
64
|
+
"vitest": "^1.0.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"typescript": ">=4.5.0"
|
|
68
|
+
},
|
|
69
|
+
"repository": {
|
|
70
|
+
"type": "git",
|
|
71
|
+
"url": "https://github.com/your-org/liveness-detection.git",
|
|
72
|
+
"directory": "packages/web-component"
|
|
73
|
+
},
|
|
74
|
+
"bugs": {
|
|
75
|
+
"url": "https://github.com/your-org/liveness-detection/issues"
|
|
76
|
+
},
|
|
77
|
+
"homepage": "https://github.com/your-org/liveness-detection/tree/main/packages/web-component#readme"
|
|
78
|
+
}
|