Fix linting errors, fix test not creating bundle

This commit is contained in:
Vanilagy
2026-02-12 18:37:55 +01:00
parent d3b737b183
commit 31b278fbd4
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -38,6 +38,8 @@ export default tseslint.config(
'dist-docs',
'packages/mp3-encoder/dist',
'packages/mp3-encoder/build',
'packages/ac3/dist',
'packages/ac3/build',
'eslint.config.mjs',
'docs/.vitepress/cache',
'test/public',
+4 -3
View File
@@ -32,9 +32,10 @@
"build": "./scripts/build.sh",
"watch": "tsx scripts/bundle.ts --watch",
"lint": "eslint .",
"test": "npx vitest --run",
"test-node": "npm run test node/",
"test-browser": "npm run test browser/",
"test": "npm run pre-test && npx vitest --run",
"test-node": "npm run pre-test && npm run test node/",
"test-browser": "npm run pre-test && npm run test browser/",
"pre-test": "tsx scripts/bundle.ts",
"check": "./scripts/check.sh",
"check-docblocks": "tsx scripts/check-docblocks.ts dist/mediabunny.d.ts",
"docs:dev": "vitepress dev docs",