22 "name" : " @interactive-video-labs/react" ,
33 "version" : " 0.0.1" ,
44 "description" : " Thin React wrapper for the @interactive-video-labs/core engine. Enables cue-based interactive video playback in React apps." ,
5+ "type" : " module" ,
56 "main" : " dist/index.cjs" ,
67 "module" : " dist/index.mjs" ,
78 "types" : " dist/index.d.ts" ,
1617 " dist"
1718 ],
1819 "scripts" : {
19- "build" : " tsup src/index.ts --format esm,cjs --dts" ,
20- "dev" : " tsup src/index.ts --watch --format esm,cjs" ,
20+ "build" : " tsup src/index.tsx --format esm,cjs --dts" ,
21+ "dev" : " tsup src/index.tsx --watch --format esm,cjs" ,
2122 "test" : " vitest run" ,
2223 "clean" : " rm -rf dist" ,
23- "prepare" : " pnpm build"
24+ "prepare" : " pnpm build" ,
25+ "serve-examples" : " pnpm build-examples && http-server examples -c-1" ,
26+ "build-examples" : " esbuild examples/index.tsx --bundle --outfile=examples/dist/index.js --jsx=automatic"
2427 },
2528 "keywords" : [
2629 " interactive-video" ,
4447 },
4548 "packageManager" :
" [email protected] " ,
4649 "peerDependencies" : {
50+ "@interactive-video-labs/core" : " ^0.1.2" ,
4751 "react" : " >=17.0.0 || >=18.0.0" ,
48- "react-dom" : " >=17.0.0 || >=18.0.0" ,
49- "@interactive-video-labs/core" : " ^0.1.2"
52+ "react-dom" : " >=17.0.0 || >=18.0.0"
5053 },
5154 "dependencies" : {
5255 "jsdom" : " ^26.1.0" ,
5356 "tsup" : " ^8.5.0" ,
5457 "typescript" : " ^5.8.3" ,
5558 "vitest" : " ^3.2.4"
59+ },
60+ "devDependencies" : {
61+ "@testing-library/jest-dom" : " ^6.6.4" ,
62+ "@testing-library/react" : " ^16.0.0" ,
63+ "@types/react" : " ^19.1.9" ,
64+ "http-server" : " ^14.1.1"
5665 }
5766}
0 commit comments