vitallens 0.0.1

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,119 @@
1
+ {
2
+ "name": "vitallens",
3
+ "version": "0.0.1",
4
+ "description": "VitalLens: Estimate vital signs such as heart rate and respiratory rate from video.",
5
+ "main": "./dist/vitallens.cjs.js",
6
+ "module": "./dist/vitallens.esm.js",
7
+ "browser": "./dist/vitallens.browser.js",
8
+ "exports": {
9
+ ".": {
10
+ "browser": {
11
+ "import": "./dist/vitallens.browser.js",
12
+ "types": "./dist/types/index.browser.d.ts"
13
+ },
14
+ "node": {
15
+ "import": "./dist/vitallens.esm.js",
16
+ "require": "./dist/vitallens.cjs.js",
17
+ "types": "./dist/types/index.node.d.ts"
18
+ }
19
+ }
20
+ },
21
+ "type": "module",
22
+ "scripts": {
23
+ "build": "tsc && rollup -c",
24
+ "prepare": "npm run build",
25
+ "build:integration": "rollup -c --environment BUILD_INTEGRATION",
26
+ "test": "jest --selectProjects node browser",
27
+ "test:browser": "jest --selectProjects browser",
28
+ "test:node": "jest --selectProjects node",
29
+ "test:integration": "npm run build:integration && jest --selectProjects integration-browser",
30
+ "lint": "eslint src/**/*.ts",
31
+ "start:browser-webcam-minimal": "EXAMPLE_TO_OPEN=browser/webcam_minimal nodemon scripts/server.cjs",
32
+ "start:browser-webcam": "EXAMPLE_TO_OPEN=browser/webcam nodemon scripts/server.cjs",
33
+ "start:browser-file": "EXAMPLE_TO_OPEN=browser/file nodemon scripts/server.cjs",
34
+ "start:node-file": "node ./examples/node/file.js"
35
+ },
36
+ "keywords": [
37
+ "vital signs",
38
+ "heart rate",
39
+ "respiration",
40
+ "rPPG",
41
+ "video analysis",
42
+ "healthcare",
43
+ "remote sensing",
44
+ "video processing",
45
+ "face",
46
+ "pulse",
47
+ "photoplethysmography",
48
+ "ppg",
49
+ "vitals",
50
+ "remote photoplethysmography"
51
+ ],
52
+ "author": "Rouast Labs",
53
+ "license": "MIT",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/Rouast-Labs/vitallens.js.git"
57
+ },
58
+ "bugs": {
59
+ "url": "https://github.com/Rouast-Labs/vitallens.js/issues"
60
+ },
61
+ "homepage": "https://www.rouast.com/",
62
+ "files": [
63
+ "dist/vitallens.browser.js",
64
+ "dist/vitallens.cjs.js",
65
+ "dist/vitallens.esm.js",
66
+ "dist/types/index.node.d.ts",
67
+ "dist/types/index.browser.d.ts",
68
+ "LICENSE",
69
+ "README.md"
70
+ ],
71
+ "dependencies": {
72
+ "@ffmpeg/ffmpeg": "^0.12.15",
73
+ "@ffmpeg/util": "^0.12.2",
74
+ "fft.js": "^4.0.4",
75
+ "fluent-ffmpeg": "^2.1.3",
76
+ "node-fetch": "^2.7.0",
77
+ "uuid": "^11.0.5",
78
+ "ws": "^8.18.0"
79
+ },
80
+ "peerDependencies": {
81
+ "@tensorflow/tfjs": "^4.20.0",
82
+ "@tensorflow/tfjs-node": "^4.20.0"
83
+ },
84
+ "devDependencies": {
85
+ "@babel/preset-env": "^7.26.7",
86
+ "@babel/preset-typescript": "^7.26.0",
87
+ "@rollup/plugin-alias": "^5.1.1",
88
+ "@rollup/plugin-commonjs": "^28.0.2",
89
+ "@rollup/plugin-json": "^6.1.0",
90
+ "@rollup/plugin-node-resolve": "^16.0.0",
91
+ "@rollup/plugin-replace": "^6.0.2",
92
+ "@rollup/plugin-typescript": "^12.1.2",
93
+ "@rollup/plugin-url": "^8.0.2",
94
+ "@tensorflow/tfjs": "^4.22.0",
95
+ "@tensorflow/tfjs-node": "^4.22.0",
96
+ "@types/fluent-ffmpeg": "^2.1.27",
97
+ "@types/jest": "^29.5.14",
98
+ "@types/node-fetch": "^2.6.12",
99
+ "@types/puppeteer": "^7.0.4",
100
+ "@types/ws": "^8.5.14",
101
+ "child_process": "^1.0.2",
102
+ "cors": "^2.8.5",
103
+ "dotenv": "^16.4.7",
104
+ "eslint": "^8.57.0",
105
+ "express": "^4.21.2",
106
+ "jest": "^29.7.0",
107
+ "jest-environment-jsdom": "^29.7.0",
108
+ "jest-puppeteer": "^11.0.0",
109
+ "nodemon": "^3.1.9",
110
+ "puppeteer": "^23.11.1",
111
+ "rollup": "^2.79.2",
112
+ "rollup-plugin-terser": "^7.0.2",
113
+ "ts-jest": "^29.2.5",
114
+ "typescript": "^5.5.3"
115
+ },
116
+ "engines": {
117
+ "node": ">=14.0.0"
118
+ }
119
+ }