File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed
Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1616 },
1717 "dev" : {
1818 "name" : " dev" ,
19- "command" : " bun start " ,
19+ "command" : " bun run dev " ,
2020 "runAtStart" : true ,
2121 "preview" : {
22- "port" : 3000
22+ "port" : 5173
2323 }
2424 }
2525 }
Original file line number Diff line number Diff line change 44 "description" : " numeric-quantity Test Page" ,
55 "main" : " index.html" ,
66 "scripts" : {
7- "start" : " bun index.html" ,
8- "build" : " bun build index.html"
7+ "build" : " tsc && vite build" ,
8+ "dev" : " vite" ,
9+ "preview" : " vite preview"
910 },
1011 "dependencies" : {
1112 "numeric-quantity" : " ^2.0.1"
1213 },
1314 "devDependencies" : {
14- "typescript" : " ^5.8.3"
15+ "@vitejs/plugin-react" : " ^4.3.4" ,
16+ "typescript" : " ^5.8.3" ,
17+ "vite" : " ^6"
1518 }
1619}
Original file line number Diff line number Diff line change 77 "sourceMap" : true ,
88 "allowJs" : true ,
99 "lib" : [" ES2015" , " DOM" ],
10- "moduleResolution" : " node"
10+ "moduleResolution" : " node" ,
11+ "noEmit" : true
1112 }
1213}
Original file line number Diff line number Diff line change 1+ import react from '@vitejs/plugin-react' ;
2+ import { defineConfig } from 'vite' ;
3+
4+ export default defineConfig ( {
5+ plugins : [ react ( ) ] ,
6+ server : {
7+ port : 5173 ,
8+ } ,
9+ } ) ;
You can’t perform that action at this time.
0 commit comments