mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
- Remove tsup configuration and dependencies - Add rollup configuration matching other packages in monorepo - Use 'rollup -c && tsc --project tsconfig.build.json' build pattern - Add tsconfig.build.json for declaration-only builds - Install required rollup plugins (@rollup/plugin-typescript, node-resolve, commonjs) This eliminates the need for manual dist file modifications by using the same proven build approach as HTML/React packages. TypeScript now automatically generates all .d.ts files in proper directory structure. Fixes the fundamental build system inconsistency where media-store used different tooling than the rest of the monorepo. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"name": "@vjs-10/media-store",
|
|
"version": "0.1.0",
|
|
"description": "A state abstraction for media. Accepts state owners like a media state owner for sinks and sources of media state.",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup -c && tsc --project tsconfig.build.json",
|
|
"test": "echo \"No tests yet\"",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"keywords": [
|
|
"media",
|
|
"state",
|
|
"video",
|
|
"audio",
|
|
"player"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"nanostores": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"rollup": "^4.0.0",
|
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
"tslib": "^2.6.0",
|
|
"typescript": "^5.3.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
} |