mirror of
https://github.com/iptv-org/iptv
synced 2026-10-21 18:46:20 -04:00
Replace jest with vites
This commit is contained in:
1 parent
48cc00e50b
commit
5336e56ddd
2 files changed
+790
-4712
No files matched your search
Generated
+787
-4696
File diff suppressed because it is too large.
Load diff
+3
-16
@@ -19,23 +19,13 @@
|
|||||||
"readme:update": "tsx scripts/commands/readme/update.ts",
|
"readme:update": "tsx scripts/commands/readme/update.ts",
|
||||||
"report:create": "tsx scripts/commands/report/create.ts",
|
"report:create": "tsx scripts/commands/report/create.ts",
|
||||||
"lint": "npx eslint \"scripts/**/*.{ts,js}\" \"tests/**/*.{ts,js}\"",
|
"lint": "npx eslint \"scripts/**/*.{ts,js}\" \"tests/**/*.{ts,js}\"",
|
||||||
"test": "jest --runInBand",
|
"test": "npx vitest run --no-file-parallelism",
|
||||||
"postinstall": "npm run api:load"
|
"postinstall": "npm run api:load"
|
||||||
},
|
},
|
||||||
"jest": {
|
|
||||||
"transform": {
|
|
||||||
"^.+\\.ts$": "@swc/jest"
|
|
||||||
},
|
|
||||||
"testRegex": "tests/(.*?/)?.*test.ts$",
|
|
||||||
"setupFilesAfterEnv": [
|
|
||||||
"jest-expect-message"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"author": "Arhey",
|
"author": "Arhey",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@alex_neo/jest-expect-message": "^1.0.5",
|
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.1",
|
||||||
"@eslint/js": "^9.32.0",
|
"@eslint/js": "^9.32.0",
|
||||||
"@freearhey/core": "^0.14.3",
|
"@freearhey/core": "^0.14.3",
|
||||||
@@ -48,11 +38,9 @@
|
|||||||
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
|
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
|
||||||
"@octokit/types": "^14.1.0",
|
"@octokit/types": "^14.1.0",
|
||||||
"@stylistic/eslint-plugin": "^5.2.2",
|
"@stylistic/eslint-plugin": "^5.2.2",
|
||||||
"@swc/jest": "^0.2.39",
|
|
||||||
"@types/async": "^3.2.25",
|
"@types/async": "^3.2.25",
|
||||||
"@types/cli-progress": "^3.11.6",
|
"@types/cli-progress": "^3.11.6",
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
"@types/jest": "^30.0.0",
|
|
||||||
"@types/lodash.uniqueid": "^4.0.9",
|
"@types/lodash.uniqueid": "^4.0.9",
|
||||||
"@types/node-cleanup": "^2.1.5",
|
"@types/node-cleanup": "^2.1.5",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
||||||
@@ -70,8 +58,6 @@
|
|||||||
"globals": "^16.3.0",
|
"globals": "^16.3.0",
|
||||||
"hls-parser": "^0.16.0",
|
"hls-parser": "^0.16.0",
|
||||||
"iptv-playlist-parser": "^0.15.1",
|
"iptv-playlist-parser": "^0.15.1",
|
||||||
"jest": "^30.0.5",
|
|
||||||
"jest-expect-message": "^1.1.3",
|
|
||||||
"lodash.uniqueid": "^4.0.1",
|
"lodash.uniqueid": "^4.0.1",
|
||||||
"m3u-linter": "^0.4.3",
|
"m3u-linter": "^0.4.3",
|
||||||
"mediainfo.js": "^0.3.6",
|
"mediainfo.js": "^0.3.6",
|
||||||
@@ -79,7 +65,8 @@
|
|||||||
"node-cleanup": "^2.1.2",
|
"node-cleanup": "^2.1.2",
|
||||||
"normalize-url": "^8.1.0",
|
"normalize-url": "^8.1.0",
|
||||||
"socks-proxy-agent": "^8.0.5",
|
"socks-proxy-agent": "^8.0.5",
|
||||||
"tsx": "^4.20.3"
|
"tsx": "^4.20.3",
|
||||||
|
"vitest": "^5.0.1"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"esbuild": "0.23.1",
|
"esbuild": "0.23.1",
|
||||||
|
|||||||
Reference in new issue
Block a user