mirror of
				https://codeberg.org/buzzcode2007/FCC-Project-URLShortener.git
				synced 2025-05-21 03:06:34 +00:00 
			
		
		
		
	feat: add and configure nodemon
This commit is contained in:
		
							parent
							
								
									8a439ad027
								
							
						
					
					
						commit
						19641b95fa
					
				
					 3 changed files with 992 additions and 2 deletions
				
			
		
							
								
								
									
										13
									
								
								nodemon.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								nodemon.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | ||||||
|  | { | ||||||
|  |   "restartable": "rs", | ||||||
|  |   "ignore": [ | ||||||
|  |       ".git", | ||||||
|  |       "node_modules/**/node_modules" | ||||||
|  |   ], | ||||||
|  |   "verbose": true, | ||||||
|  |   "env": { | ||||||
|  |       "NODE_ENV": "development" | ||||||
|  |   }, | ||||||
|  |   "ext": "js,json,html,css", | ||||||
|  |   "delay": "2500" | ||||||
|  | } | ||||||
							
								
								
									
										974
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										974
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -4,7 +4,7 @@ | ||||||
| 	"description": "API project for freeCodeCamp", | 	"description": "API project for freeCodeCamp", | ||||||
| 	"main": "server.js", | 	"main": "server.js", | ||||||
| 	"scripts": { | 	"scripts": { | ||||||
| 		"start": "node server.js" | 		"start": "nodemon server.js" | ||||||
| 	}, | 	}, | ||||||
| 	"dependencies": { | 	"dependencies": { | ||||||
| 		"body-parser": "^1.19.0", | 		"body-parser": "^1.19.0", | ||||||
|  | @ -17,5 +17,8 @@ | ||||||
| 	"engines": { | 	"engines": { | ||||||
| 		"node": "12.18.3" | 		"node": "12.18.3" | ||||||
| 	}, | 	}, | ||||||
| 	"license": "MIT" | 	"license": "MIT", | ||||||
|  | 	"devDependencies": { | ||||||
|  | 		"nodemon": "^2.0.4" | ||||||
|  | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue