@eskais/character 0.0.0-stage → 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 CHANGED
@@ -1,6 +1,149 @@
1
1
  {
2
2
  "name": "@eskais/character",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Photos to a stylised, rigged 3D character with a face, entirely in the browser: MediaPipe landmarks, an Anny body fit, toon styles and a GLB with morph targets.",
5
+ "keywords": [
6
+ "3d",
7
+ "anny",
8
+ "avatar",
9
+ "body-scan",
10
+ "browser",
11
+ "character",
12
+ "face-landmarks",
13
+ "glb",
14
+ "gltf",
15
+ "makehuman",
16
+ "mediapipe",
17
+ "morph-targets",
18
+ "pose",
19
+ "privacy",
20
+ "toon",
21
+ "web-worker",
22
+ "webgl"
23
+ ],
24
+ "homepage": "https://github.com/p-otero/eskais-character#readme",
25
+ "bugs": {
26
+ "url": "https://github.com/p-otero/eskais-character/issues"
27
+ },
28
+ "license": "MIT",
29
+ "author": "Pablo Otero",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/p-otero/eskais-character.git"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "assets/anny/anny.bin",
37
+ "assets/hair/hair.bin",
38
+ "LICENSES.md",
39
+ "LICENSE-APACHE-2.0.txt",
40
+ "CHANGELOG.md"
41
+ ],
42
+ "type": "module",
43
+ "sideEffects": [
44
+ "./dist/worker.js"
45
+ ],
46
+ "main": "./dist/index.js",
47
+ "module": "./dist/index.js",
48
+ "types": "./dist/index.d.ts",
49
+ "exports": {
50
+ ".": {
51
+ "types": "./dist/index.d.ts",
52
+ "default": "./dist/index.js"
53
+ },
54
+ "./scan": {
55
+ "types": "./dist/index.d.ts",
56
+ "default": "./dist/index.js"
57
+ },
58
+ "./react": {
59
+ "types": "./dist/react.d.ts",
60
+ "default": "./dist/react.js"
61
+ },
62
+ "./three": {
63
+ "types": "./dist/three.d.ts",
64
+ "default": "./dist/three.js"
65
+ },
66
+ "./motion": {
67
+ "types": "./dist/motion.d.ts",
68
+ "default": "./dist/motion.js"
69
+ },
70
+ "./worker": {
71
+ "types": "./dist/worker.d.ts",
72
+ "default": "./dist/worker.js"
73
+ },
74
+ "./assets/*": "./assets/*",
75
+ "./package.json": "./package.json"
76
+ },
77
+ "publishConfig": {
78
+ "access": "public",
79
+ "provenance": true
80
+ },
81
+ "scripts": {
82
+ "lint": "oxlint --deny-warnings && oxlint --type-aware --deny-warnings -c tooling/oxlint-type-aware.json src tooling test",
83
+ "format": "oxfmt",
84
+ "format:check": "oxfmt --check",
85
+ "typecheck": "tsc -b",
86
+ "test": "vitest run",
87
+ "test:browser": "node tooling/browser/run.mjs",
88
+ "guards": "bun tooling/check-images.ts --rerender && node tooling/check-licences.mjs && node tooling/check-lockfile.mjs",
89
+ "deps:age": "node tooling/check-dependency-age.mjs",
90
+ "synth": "bun tooling/synth/generate.ts",
91
+ "bake": "python tooling/bake/bake_anny.py",
92
+ "demo": "vite --config demo/vite.config.ts",
93
+ "demo:build": "vite build --config demo/vite.config.ts",
94
+ "perf": "bun tooling/perf/run.ts",
95
+ "perf:ci": "bun tooling/perf/ci.ts",
96
+ "glb:validate": "node tooling/validate-glb.mjs",
97
+ "verify": "bun run lint && bun run format:check && bun run typecheck && bun run test && bun run check:package && bun run guards && bun run deps:age && bun run test:browser && bun run perf:ci",
98
+ "guard:images": "bun tooling/check-images.ts",
99
+ "fetch:models": "node tooling/fetch-models.mjs",
100
+ "calibrate": "bun tooling/calibrate/face-landmarks.ts && bun tooling/calibrate/detect-set.ts --seed=2000 --count=32 && bun tooling/calibrate/body.ts --write && bun tooling/calibrate/detect-set.ts --seed=4000 --count=300 && bun tooling/calibrate/train-priors.ts --seed=4000 && bun tooling/calibrate/hair-thresholds.ts",
101
+ "evaluate": "bun tooling/calibrate/detect-set.ts --seed=1 --count=24 && bun tooling/calibrate/eval-face.ts --seed=1 && bun tooling/calibrate/body.ts --seed=1 && bun tooling/calibrate/colors.ts --seed=4000",
102
+ "side-by-side": "bun tooling/calibrate/side-by-side.ts --count=4",
103
+ "scan:photo": "bun tooling/local/scan-photo.ts",
104
+ "build": "tsdown",
105
+ "prepack": "tsdown",
106
+ "check:package": "tsdown && publint --strict && attw --pack . --profile esm-only",
107
+ "test:consumers": "bun tooling/package/consumers.ts"
108
+ },
109
+ "devDependencies": {
110
+ "@arethetypeswrong/cli": "0.18.5",
111
+ "@mediapipe/tasks-vision": "1.2.3",
112
+ "@p-otero/oxlint-rules": "github:p-otero/oxlint-rules#835a22baa11bdd98e5e2d5818de71dc84e66849d",
113
+ "@types/bun": "1.4.4",
114
+ "@types/node": "26.6.6",
115
+ "@types/react": "19.3.0",
116
+ "@types/three": "0.187.0",
117
+ "fast-check": "4.10.2",
118
+ "gltf-validator": "2.0.0-dev.3.10",
119
+ "magic-string": "1.4.5",
120
+ "oxfmt": "0.78.0",
121
+ "oxlint": "1.93.0",
122
+ "oxlint-tsgolint": "7.0.2005",
123
+ "playwright": "1.65.0",
124
+ "publint": "0.3.25",
125
+ "react": "19.3.1",
126
+ "react-dom": "19.3.1",
127
+ "three": "0.187.0",
128
+ "tsdown": "0.23.7",
129
+ "typescript": "7.0.2",
130
+ "vite": "8.3.8",
131
+ "vitest": "5.1.0"
132
+ },
133
+ "peerDependencies": {
134
+ "react": ">=18",
135
+ "three": ">=0.160.0"
136
+ },
137
+ "peerDependenciesMeta": {
138
+ "react": {
139
+ "optional": true
140
+ },
141
+ "three": {
142
+ "optional": true
143
+ }
144
+ },
145
+ "engines": {
146
+ "node": ">=20.19"
147
+ },
148
+ "packageManager": "bun@1.4.4"
149
+ }