init bun project
This commit is contained in:
		
							parent
							
								
									3119a22fc2
								
							
						
					
					
						commit
						93d7af271d
					
				
					 4 changed files with 37 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								bun.lockb
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bun.lockb
									
										
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										14
									
								
								package.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								package.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| { | ||||
|   "name": "sanic", | ||||
|   "module": "server.ts", | ||||
|   "type": "module", | ||||
|   "scripts": { | ||||
|     "start": "bun run server.ts" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "bun-types": "latest" | ||||
|   }, | ||||
|   "peerDependencies": { | ||||
|     "typescript": "^5.0.0" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										1
									
								
								server.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								server.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| console.log("Hello via Bun!"); | ||||
							
								
								
									
										22
									
								
								tsconfig.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								tsconfig.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| { | ||||
|   "compilerOptions": { | ||||
|     "lib": ["ESNext"], | ||||
|     "module": "esnext", | ||||
|     "target": "esnext", | ||||
|     "moduleResolution": "bundler", | ||||
|     "moduleDetection": "force", | ||||
|     "allowImportingTsExtensions": true, | ||||
|     "noEmit": true, | ||||
|     "composite": true, | ||||
|     "strict": true, | ||||
|     "downlevelIteration": true, | ||||
|     "skipLibCheck": true, | ||||
|     "jsx": "react-jsx", | ||||
|     "allowSyntheticDefaultImports": true, | ||||
|     "forceConsistentCasingInFileNames": true, | ||||
|     "allowJs": true, | ||||
|     "types": [ | ||||
|       "bun-types" // add Bun global | ||||
|     ] | ||||
|   } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue