-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
98 lines (98 loc) · 2.6 KB
/
package.json
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
{
"name": "saypi-userscript",
"version": "1.6.8",
"type": "module",
"scripts": {
"prebuild": "node i18n-validate.cjs",
"build": "webpack --mode production",
"dev": "webpack --mode development --watch",
"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"
},
"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)$": "jest-transform-stub"
},
"setupFilesAfterEnv": [
"./test/jest.setup.js"
],
"testMatch": [
"**/*.test.js"
]
},
"dependencies": {
"@ricky0123/vad-web": "^0.0.19",
"@xstate/fsm": "^2.1.0",
"@xstate/test": "^0.5.1",
"axios": "^1.4.0",
"chai": "^4.3.10",
"cheerio": "^1.0.0-rc.12",
"copy-webpack-plugin": "^11.0.0",
"esm": "^3.2.25",
"express": "^4.18.2",
"http-proxy-middleware": "^2.0.6",
"js-md5": "^0.8.3",
"lodash": "^4.17.21",
"onnxruntime-web": "^1.18.0",
"rxjs": "^7.8.1",
"serve-handler": "^6.1.5",
"wasm-feature-detect": "^1.8.0",
"xstate": "^4.38.2"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@types/chai": "^4.3.9",
"@types/chrome": "^0.0.253",
"@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",
"babel-loader": "^9.1.3",
"chai": "^4.3.10",
"css-loader": "^6.8.1",
"dotenv": "^16.3.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",
"raw-loader": "^4.0.2",
"sass": "^1.66.1",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vitest": "^2.1.4",
"web-ext": "^8.3.0",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}