Files
v10/package.json
T
Christian PillsburyandClaude 19c85fc2f8 feat: migrate examples from prototype and add CSS modules support
- Migrate HTML and React demo applications from prototype to examples/ directory
- Add examples to workspace configuration with selective build support
- Update workspace scripts for library-only builds (build:libs) and example dev servers
- Fix React MediaProvider context conflicts by consolidating exports
- Add esbuild-css-modules-plugin for CSS modules support in React package
- Configure tsup for flattened output structure with CSS processing
- Update package exports and imports for new @vjs-10/* scoped packages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:51:40 -07:00

40 lines
1.2 KiB
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/*",
"examples/*"
],
"scripts": {
"build": "npm run build --workspaces --if-present",
"build:libs": "npm run build --workspace=packages/core/* --workspace=packages/html/* --workspace=packages/react/* --workspace=packages/react-native/*",
"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",
"dev:html": "npm run dev --workspace=examples/html-demo",
"dev:react": "npm run dev --workspace=examples/react-demo"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"react": "^18.0.0",
"tsup": "^8.0.0",
"typescript": "^5.3.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"
}