seg-cam 0.1.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/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "seg-cam",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "public/jersey-detector-worker.js"
18
+ ],
19
+ "scripts": {
20
+ "prebuild": "esbuild src/workers/jersey-detector-worker.ts --bundle --outfile=public/jersey-detector-worker.js --format=esm --target=es2020",
21
+ "build": "next build",
22
+ "build:lib": "tsup src/index.ts --format cjs,esm --dts --minify --clean --tsconfig tsconfig.lib.json",
23
+ "build:worker": "esbuild src/workers/jersey-detector-worker.ts --bundle --outfile=dist/jersey-detector-worker.js --minify --format=esm",
24
+ "dev": "next dev",
25
+ "start": "next start"
26
+ },
27
+ "dependencies": {
28
+ "@vercel/analytics": "1.3.1",
29
+ "autoprefixer": "^10.4.20",
30
+ "class-variance-authority": "^0.7.1",
31
+ "clsx": "^2.1.1",
32
+ "lucide-react": "^0.454.0",
33
+ "next": "16.0.10",
34
+ "next-themes": "^0.4.6",
35
+ "tailwind-merge": "^3.3.1"
36
+ },
37
+ "peerDependencies": {
38
+ "@tensorflow-models/body-segmentation": "1.0.2",
39
+ "@tensorflow/tfjs": "^4.11.0",
40
+ "react": ">=18",
41
+ "react-dom": ">=18"
42
+ },
43
+ "devDependencies": {
44
+ "@tailwindcss/postcss": "^4.1.9",
45
+ "@types/node": "^22",
46
+ "@types/react": "^19",
47
+ "@types/react-dom": "^19",
48
+ "esbuild": "0.27",
49
+ "postcss": "^8.5",
50
+ "tailwindcss": "^4.1.9",
51
+ "tsup": "^8.3.5",
52
+ "typescript": "^5"
53
+ }
54
+ }