@swan-admin/swan-web-component 1.0.44 → 1.0.46

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,74 +1,69 @@
1
1
  {
2
- "name": "@swan-admin/swan-web-component",
3
- "version": "1.0.44",
4
- "description": "Cross-framework Onboarding component (React + Angular compatible)",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist",
10
- "dist/fonts"
11
- ],
12
- "exports": {
13
- ".": {
14
- "import": "./dist/index.mjs",
15
- "require": "./dist/index.js",
16
- "types": "./dist/index.d.ts"
17
- },
18
- "./index.css": "./dist/index.css"
19
- },
20
- "scripts": {
21
- "build:js": "tsup src/index.ts --format cjs,esm --dts --external react,react-dom",
22
- "build:css": "npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./dist/index.css --minify",
23
- "build": "npm run build:js && npm run build:css",
24
- "pack": "npm run build && npm pack",
25
- "dev": "tsup src/index.ts --watch",
26
- "release": "npm version patch --no-git-tag-version && npm run build && npm publish --access public"
27
- },
28
- "peerDependencies": {
29
- "react": ">=18",
30
- "react-dom": ">=18"
31
- },
32
- "peerDependenciesMeta": {
33
- "@tensorflow/tfjs": {
34
- "optional": true
35
- },
36
- "@tensorflow-models/pose-detection": {
37
- "optional": true
38
- },
39
- "@tensorflow-models/coco-ssd": {
40
- "optional": true
41
- },
42
- "@mediapipe/pose": {
43
- "optional": true
44
- }
45
- },
46
- "dependencies": {
47
- "@emotion/react": "^11.14.0",
48
- "@emotion/styled": "^11.14.1",
49
- "@mui/icons-material": "^7.3.5",
50
- "@mui/material": "^7.3.5",
51
- "@swan-admin/swan-ai-measurements": "^1.1.79",
52
- "clsx": "^2.1.1",
53
- "framer-motion": "^12.23.24",
54
- "lucide-react": "^0.553.0",
55
- "mic-check": "^1.1.0",
56
- "posthog-js": "^1.297.2",
57
- "react-to-webcomponent": "^2.0.1",
58
- "react-webcam": "^7.2.0",
59
- "tailwind-merge": "^3.4.0",
60
- "uuid": "^13.0.0",
61
- "video.js": "^8.23.4"
62
- },
63
- "devDependencies": {
64
- "@tailwindcss/cli": "^4.1.17",
65
- "@tailwindcss/postcss": "^4.1.17",
66
- "@types/react": "^19.2.2",
67
- "@types/react-dom": "^19.2.2",
68
- "autoprefixer": "^10.4.22",
69
- "postcss": "^8.5.6",
70
- "tailwindcss": "^4.1.17",
71
- "tsup": "^8.5.0",
72
- "typescript": "^5.9.3"
73
- }
2
+ "name": "@swan-admin/swan-web-component",
3
+ "version": "1.0.46",
4
+ "description": "Cross-framework Onboarding component (React + Angular compatible)",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist",
10
+ "dist/fonts"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.js",
16
+ "types": "./dist/index.d.ts"
17
+ },
18
+ "./index.css": "./dist/index.css"
19
+ },
20
+ "scripts": {
21
+ "build:js": "tsup src/index.ts --format cjs,esm --dts --external react,react-dom",
22
+ "build:css": "npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./dist/index.css --minify",
23
+ "build": "npm run build:js && npm run build:css",
24
+ "pack": "npm run build && npm pack",
25
+ "dev": "tsup src/index.ts --watch",
26
+ "release": "npm version patch --no-git-tag-version && npm run build && npm publish --access public"
27
+ },
28
+ "peerDependencies": {
29
+ "react": ">=18",
30
+ "react-dom": ">=18"
31
+ },
32
+ "dependencies": {
33
+ "@emotion/react": "^11.14.0",
34
+ "@emotion/styled": "^11.14.1",
35
+ "@mediapipe/pose": "^0.5.1675469404",
36
+ "@mui/icons-material": "^7.3.5",
37
+ "@mui/material": "^7.3.5",
38
+ "@swan-admin/swan-ai-measurements": "^1.1.79",
39
+ "@tensorflow-models/coco-ssd": "^2.2.3",
40
+ "@tensorflow-models/pose-detection": "^2.1.3",
41
+ "@tensorflow/tfjs": "^4.15.0",
42
+ "@tensorflow/tfjs-backend-wasm": "^4.15.0",
43
+ "@tensorflow/tfjs-backend-webgl": "^4.15.0",
44
+ "@tensorflow/tfjs-backend-webgpu": "^4.15.0",
45
+ "@tensorflow/tfjs-converter": "^4.15.0",
46
+ "@tensorflow/tfjs-core": "^4.15.0",
47
+ "clsx": "^2.1.1",
48
+ "framer-motion": "^12.23.24",
49
+ "lucide-react": "^0.553.0",
50
+ "mic-check": "^1.1.0",
51
+ "posthog-js": "^1.297.2",
52
+ "react-to-webcomponent": "^2.0.1",
53
+ "react-webcam": "^7.2.0",
54
+ "tailwind-merge": "^3.4.0",
55
+ "uuid": "^13.0.0",
56
+ "video.js": "^8.23.4"
57
+ },
58
+ "devDependencies": {
59
+ "@tailwindcss/cli": "^4.1.17",
60
+ "@tailwindcss/postcss": "^4.1.17",
61
+ "@types/react": "^19.2.2",
62
+ "@types/react-dom": "^19.2.2",
63
+ "autoprefixer": "^10.4.22",
64
+ "postcss": "^8.5.6",
65
+ "tailwindcss": "^4.1.17",
66
+ "tsup": "^8.5.0",
67
+ "typescript": "^5.9.3"
68
+ }
74
69
  }