Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "moleql",
"version": "0.1.0",
"private": true,
"description": "Gesture-controlled molecular playground: build a molecule, see honest 3D chemistry, turn it with your hands.",
"license": "MIT",
"main": "dist-electron/electron/main.js",
"type": "commonjs",
"repository": {
"type": "git",
"url": "git+https://github.com/MattModeCode/MoleQL.git"
},
"homepage": "https://github.com/MattModeCode/MoleQL#readme",
"bugs": {
"url": "https://github.com/MattModeCode/MoleQL/issues"
},
"scripts": {
"dev": "node scripts/dev.mjs",
"build": "npm run build:main && npm run build:renderer",
"build:main": "tsc -p tsconfig.main.json",
"build:renderer": "vite build",
"start": "npm run build && electron .",
"smoke": "npm run build && MOLEQL_SMOKE=1 electron .",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.main.json --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:live": "vitest run --config vitest.live.config.mts",
"test:py": "sidecar/.venv/bin/python -m pytest sidecar -q",
"setup:py": "node scripts/setup-sidecar.mjs",
"build:sidecar": "node scripts/build-sidecar.mjs",
"package": "npm run build && npm run build:sidecar && electron-builder --mac",
"fetch:model": "node scripts/fetch-model.mjs",
"copy:wasm": "node scripts/copy-mediapipe-wasm.mjs",
"postinstall": "node scripts/fetch-model.mjs && node scripts/copy-mediapipe-wasm.mjs"
},
"devDependencies": {
"@types/node": "^24.13.3",
"@types/three": "^0.158.3",
"@vitest/coverage-v8": "^3.2.7",
"electron": "^43.2.0",
"electron-builder": "^25.1.8",
"jsdom": "^30.0.1",
"typescript": "^5.9.3",
"vite": "^8.2.0",
"vitest": "^3.2.7"
},
"dependencies": {
"@mediapipe/tasks-vision": "^0.10.35",
"ngl": "^2.4.0"
},
"build": {
"appId": "com.mattmodecode.moleql",
"productName": "MoleQL",
"copyright": "MIT licensed",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": ["dist/**/*", "dist-electron/**/*", "package.json"],
"extraResources": [
{
"from": "dist-sidecar",
"to": "sidecar",
"filter": ["**/*", "!**/__pycache__/**", "!**/*.pyc"]
}
],
"mac": {
"category": "public.app-category.education",
"target": [
{ "target": "dmg", "arch": ["arm64"] },
{ "target": "zip", "arch": ["arm64"] }
],
"icon": "build/icon.png",
"artifactName": "MoleQL-${version}-macOS-${arch}.${ext}",
"extendInfo": {
"NSCameraUsageDescription": "MoleQL uses the camera for on-device hand tracking. Frames are processed locally and never leave your machine."
}
},
"dmg": {
"title": "MoleQL ${version}"
}
}
}