mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 00:33:46 +02:00
Fix linting errors, fix test not creating bundle
This commit is contained in:
@@ -38,6 +38,8 @@ export default tseslint.config(
|
|||||||
'dist-docs',
|
'dist-docs',
|
||||||
'packages/mp3-encoder/dist',
|
'packages/mp3-encoder/dist',
|
||||||
'packages/mp3-encoder/build',
|
'packages/mp3-encoder/build',
|
||||||
|
'packages/ac3/dist',
|
||||||
|
'packages/ac3/build',
|
||||||
'eslint.config.mjs',
|
'eslint.config.mjs',
|
||||||
'docs/.vitepress/cache',
|
'docs/.vitepress/cache',
|
||||||
'test/public',
|
'test/public',
|
||||||
|
|||||||
+4
-3
@@ -32,9 +32,10 @@
|
|||||||
"build": "./scripts/build.sh",
|
"build": "./scripts/build.sh",
|
||||||
"watch": "tsx scripts/bundle.ts --watch",
|
"watch": "tsx scripts/bundle.ts --watch",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "npx vitest --run",
|
"test": "npm run pre-test && npx vitest --run",
|
||||||
"test-node": "npm run test node/",
|
"test-node": "npm run pre-test && npm run test node/",
|
||||||
"test-browser": "npm run test browser/",
|
"test-browser": "npm run pre-test && npm run test browser/",
|
||||||
|
"pre-test": "tsx scripts/bundle.ts",
|
||||||
"check": "./scripts/check.sh",
|
"check": "./scripts/check.sh",
|
||||||
"check-docblocks": "tsx scripts/check-docblocks.ts dist/mediabunny.d.ts",
|
"check-docblocks": "tsx scripts/check-docblocks.ts dist/mediabunny.d.ts",
|
||||||
"docs:dev": "vitepress dev docs",
|
"docs:dev": "vitepress dev docs",
|
||||||
|
|||||||
Reference in New Issue
Block a user