yum-slop/TaSTT

Free self-hosted STT for VRChat.

git clone https://git.yummers.dev/yum-slop/TaSTT

yumExperiment with hallucination reductiona7f9b7b

master
3.3 KiB114 linesraw
1{
2  "name": "TaSTT",
3  "version": "1.0.0",
4  "description": "Speech-to-text tool for VRChat",
5  "main": "index.js",
6  "homepage": "./",
7  "scripts": {
8    "start": "npm run build:css && electron .",
9    "build:css": "tailwindcss -i ./src/components.css -o ./output.css",
10    "watch:css": "tailwindcss -i ./src/components.css -o ./output.css --watch",
11    "dev": "concurrently \"npm run watch:css\" \"electron .\"",
12    "test": "echo \"Error: no test specified\" && exit 1",
13    "clean:meta": "node -e \"const fs=require('fs');const path=require('path');function deleteMeta(dir){fs.readdirSync(dir).forEach(f=>{const p=path.join(dir,f);if(f.endsWith('.meta'))fs.unlinkSync(p);else if(fs.statSync(p).isDirectory()&&!f.startsWith('.'))deleteMeta(p);})}deleteMeta('./node_modules')\"",
14    "prebuild": "node build_scripts/setup-embedded-python.js",
15    "dist": "npm run prebuild && npm run clean:meta && npm run build:css && electron-builder",
16    "dist:win": "npm run prebuild && npm run clean:meta && npm run build:css && electron-builder --win",
17    "dist:portable": "npm run prebuild && npm run clean:meta && npm run build:css && electron-builder --win portable",
18    "dist:zip": "npm run prebuild && npm run clean:meta && npm run build:css && electron-builder --win zip"
19  },
20  "build": {
21    "appId": "com.yum_food.tastt",
22    "productName": "TaSTT",
23    "directories": {
24      "output": "dist"
25    },
26    "files": [
27      "**/*",
28      "!dist/**/*",
29      "!src/**/*",
30      "!node_modules/**/{CHANGELOG.md,README.md,README,readme.md,readme}",
31      "!node_modules/**/{test,__tests__,tests,powered-test,example,examples}",
32      "!node_modules/**/*.d.ts",
33      "!node_modules/.bin",
34      "!.git/**/*",
35      "!.gitignore"
36    ],
37    "extraResources": [
38      {
39        "from": "../app",
40        "to": "app",
41        "filter": [
42          "**/*.py",
43          "requirements.txt",
44          "!**/__pycache__/**/*"
45        ]
46      },
47      {
48        "from": "../Images",
49        "to": "Images",
50        "filter": ["**/*"]
51      },
52      {
53        "from": "../python_embedded",
54        "to": "python",
55        "filter": ["**/*"]
56      },
57      {
58        "from": "../dll_empty",
59        "to": "dll",
60        "filter": ["**/*"]
61      },
62      {
63        "from": "../Sounds",
64        "to": "Sounds",
65        "filter": ["*.wav"]
66      },
67      {
68        "from": "../Models",
69        "to": "Models",
70        "filter": ["**/*.pkl"]
71      }
72    ],
73    "win": {
74      "icon": "../Images/favicon.ico",
75      "target": [
76        {
77          "target": "portable",
78          "arch": ["x64"]
79        },
80        {
81          "target": "zip",
82          "arch": ["x64"]
83        }
84      ]
85    },
86    "portable": {
87      "artifactName": "${productName}-${version}-portable.exe"
88    },
89    "nsis": {
90      "oneClick": false,
91      "allowToChangeInstallationDirectory": true
92    },
93    "compression": "normal",
94    "artifactName": "${productName}-${version}-${arch}.${ext}"
95  },
96  "keywords": [],
97  "author": "yum_food",
98  "license": "MIT",
99  "dependencies": {
100    "js-yaml": "^4.1.0"
101  },
102  "devDependencies": {
103    "@vitejs/plugin-vue": "^5.2.4",
104    "autoprefixer": "^10.4.21",
105    "concurrently": "^9.1.2",
106    "cross-env": "^7.0.3",
107    "electron": "^36.3.2",
108    "electron-builder": "^25.1.8",
109    "postcss": "^8.5.4",
110    "tailwindcss": "^3.4.17",
111    "vite": "^6.3.5",
112    "vue": "^3.5.16"
113  }
114}