mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
- Add tsup as build tool across all 15 packages for fast, optimized library building - Generate dual CommonJS (.js) and ESM (.mjs) formats with proper package.json exports - Add automatic TypeScript declaration files (.d.ts/.d.mts) for both formats - Configure external dependencies to prevent bundling bloat in library packages - Fix import paths to use proper package imports instead of relative paths - Add source maps and clean build outputs optimized for library distribution - Achieve 10-100x faster build performance compared to pure TypeScript compilation - Support JSX/TSX compilation for React packages with CSS handling - Maintain compatibility with existing TypeScript project references and monorepo structure All packages now produce production-ready distributions compatible with both legacy and modern JavaScript environments. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
963 B
JSON
36 lines
963 B
JSON
{
|
|
"name": "vjs-10-monorepo",
|
|
"version": "1.0.0",
|
|
"description": "A monorepo for Video.js 10 related library packages",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/core/*",
|
|
"packages/html/*",
|
|
"packages/react/*",
|
|
"packages/react-native/*"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build --workspaces --if-present",
|
|
"test": "npm run test --workspaces --if-present",
|
|
"lint": "npm run lint --workspaces --if-present",
|
|
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
"clean": "npm run clean --workspaces --if-present"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.3.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.0.0",
|
|
"react": "^18.0.0",
|
|
"tsup": "^8.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/videojs/vjs-10-monorepo.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"author": "Video.js Contributors"
|
|
} |