-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.71 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.71 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "saypi-userscript",
"version": "1.10.7",
"type": "module",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"prepare": "husky",
"setup": "node scripts/setup-env.js",
"env:push": "node scripts/1password-push.js",
"env:pull": "node scripts/1password-pull.js",
"copy-onnx": "node copy-onnx-files.js",
"postcopy-onnx": "npm run prune-onnx",
"prune-onnx": "node scripts/prune-onnx.js",
"setup:python": "bash scripts/setup-python-env.sh",
"validate:env": "node scripts/validate-env.js",
"switch": "node scripts/switch-env.js",
"predev": "node scripts/validate-env.js --file .env --env development && npm run copy-onnx",
"dev": "wxt --browser chrome",
"dev:firefox": "wxt --browser firefox --mv2",
"prebuild": "node scripts/validate-env.js --file .env.production --env production && node tools/i18n/i18n-validate.cjs && npm run copy-onnx",
"build": "wxt build",
"start": "node server.js",
"test:jest": "NODE_OPTIONS=--experimental-vm-modules npx jest --detectOpenHandles --forceExit",
"test:vitest": "vitest run --config vitest.config.js",
"test:vitest:watch": "vitest --watch --config vitest.config.js",
"test": "npm-run-all -s test:jest test:vitest",
"prebuild:firefox": "node scripts/validate-env.js --file .env.production --env production && npm run copy-onnx",
"build:firefox": "wxt build -b firefox",
"source-archive": "git archive --format=zip -o source-code.zip HEAD",
"translate": "python3 tools/i18n/i18n-translate-all.py",
"translate:check": "python3 tools/i18n/i18n-translate-all.py --check-only"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
],
"^.+\\.js$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!rxjs)"
],
"testEnvironment": "jsdom",
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^.+\\.(css|scss|png|jpg|ttf|woff|woff2|svg)(\\?raw)?$": "jest-transform-stub"
},
"setupFilesAfterEnv": [
"./test/jest.setup.js"
],
"testMatch": [
"**/*.test.js"
]
},
"dependencies": {
"@ricky0123/vad-web": "^0.0.24",
"@xstate/fsm": "^2.1.0",
"@xstate/test": "^0.5.1",
"axios": "^1.4.0",
"chai": "^4.3.10",
"cheerio": "^1.0.0-rc.12",
"esm": "^3.2.25",
"express": "^4.18.2",
"http-proxy-middleware": "^2.0.6",
"js-md5": "^0.8.3",
"lodash": "^4.17.21",
"lucide": "^0.536.0",
"onnxruntime-web": "1.14.0",
"rxjs": "^7.8.1",
"serve-handler": "^6.1.5",
"wasm-feature-detect": "^1.8.0",
"xstate": "^4.38.2"
},
"devDependencies": {
"husky": "^9.1.7",
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@eslint/config-array": "^0.19.2",
"@eslint/object-schema": "^2.1.6",
"@types/chai": "^4.3.9",
"@types/chrome": "^0.0.253",
"@types/firefox-webext-browser": "^120.0.5",
"@types/jest": "^29.5.7",
"@types/lodash": "^4.14.202",
"@types/node": "^20.8.10",
"@types/supertest": "^2.0.15",
"@vitest/runner": "^1.3.1",
"babel-jest": "^29.7.0",
"chai": "^4.3.10",
"dotenv": "^16.3.1",
"eslint": "^9.23.0",
"glob": "^11.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"jsdom": "^24.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"superagent": "^10.2.0",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vitest": "^3.0.9",
"web-ext": "^8.5.0",
"wxt": "^0.20.11"
}
}