Files
tts-workshop/packages/bgm/package.json
T
hypercross ba16f17d8a feat(bgm): add vite plugin and build integration test
Move the bgm vite plugin into the package so it can be tested in
isolation from the web app. Serve each package as a JSON module,
serializing its maps, and verify resolution through a real vite build
against a self-contained fixture.
2026-08-09 19:07:14 +08:00

36 lines
770 B
JSON

{
"name": "@tts/bgm",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"lint": "echo \"no lint configured\""
},
"dependencies": {
"vite": "^8.2.1",
"marked": "^16.0.0",
"picomatch": "^4.0.5",
"smol-toml": "^1.4.0",
"typed-csv": "^2.0.0",
"yaml": "^2.4.2",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/node": "^22.12.0",
"@types/picomatch": "^4.0.0",
"typescript": "^5.7.2",
"vitest": "^4.1.10"
}
}