summaryrefslogtreecommitdiffstats
path: root/ui/package.json
blob: 3a58298abdfea98aad30d4b2d843106eea5cc904 (plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
  "name": "TaSTT",
  "version": "1.0.0",
  "description": "Speech-to-text tool for VRChat",
  "main": "index.js",
  "homepage": "./",
  "scripts": {
    "start": "npm run build:css && electron .",
    "build:css": "tailwindcss -i ./src/components.css -o ./build/output.css",
    "watch:css": "tailwindcss -i ./src/components.css -o ./build/output.css --watch",
    "dev": "concurrently \"npm run watch:css\" \"electron .\"",
    "test": "echo \"Error: no test specified\" && exit 1",
    "dist": "npm run build:css && electron-builder",
    "dist:win": "npm run build:css && electron-builder --win",
    "dist:portable": "npm run build:css && electron-builder --win portable",
    "dist:zip": "npm run build:css && electron-builder --win zip"
  },
  "build": {
    "appId": "com.yum_food.tastt",
    "productName": "TaSTT",
    "directories": {
      "output": "dist"
    },
    "files": [
      "**/*",
      "!dist/**/*",
      "!src/**/*",
      "!node_modules/**/{CHANGELOG.md,README.md,README,readme.md,readme}",
      "!node_modules/**/{test,__tests__,tests,powered-test,example,examples}",
      "!node_modules/**/*.d.ts",
      "!node_modules/.bin",
      "!.git/**/*",
      "!.gitignore"
    ],
    "extraResources": [
      {
        "from": "../app",
        "to": "app",
        "filter": [
          "**/*.py",
          "requirements.txt",
          "!**/__pycache__/**/*"
        ]
      },
      {
        "from": "../config.yaml",
        "to": "config.yaml"
      },
      {
        "from": "../dll",
        "to": "dll",
        "filter": ["**/*"]
      },
      {
        "from": "../Images",
        "to": "Images",
        "filter": ["**/*"]
      },
      {
        "from": "../bin",
        "to": "bin",
        "filter": ["**/*"]
      }
    ],
    "win": {
      "icon": "../Images/logo.png",
      "target": [
        {
          "target": "portable",
          "arch": ["x64"]
        },
        {
          "target": "zip",
          "arch": ["x64"]
        }
      ]
    },
    "portable": {
      "artifactName": "${productName}-${version}-portable.exe"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true
    }
  },
  "keywords": [],
  "author": "yum_food",
  "license": "MIT",
  "dependencies": {
    "js-yaml": "^4.1.0"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^5.2.4",
    "autoprefixer": "^10.4.21",
    "concurrently": "^9.1.2",
    "cross-env": "^7.0.3",
    "electron": "^36.3.2",
    "electron-builder": "^25.1.8",
    "postcss": "^8.5.4",
    "tailwindcss": "^3.4.17",
    "vite": "^6.3.5",
    "vue": "^3.5.16"
  }
}