fix: preinstall dotenv for local development, pretty JSON (#98)
* fix: preinstall dotenv for local development * fix: pretty package.json
This commit is contained in:
		
							parent
							
								
									59954fa698
								
							
						
					
					
						commit
						f72550091a
					
				
					 2 changed files with 28 additions and 13 deletions
				
			
		
							
								
								
									
										14
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -10,6 +10,7 @@ | ||||||
| 			"dependencies": { | 			"dependencies": { | ||||||
| 				"body-parser": "^1.15.2", | 				"body-parser": "^1.15.2", | ||||||
| 				"cookie-parser": "^1.4.3", | 				"cookie-parser": "^1.4.3", | ||||||
|  | 				"dotenv": "^16.0.1", | ||||||
| 				"express": "^4.14.0", | 				"express": "^4.14.0", | ||||||
| 				"fcc-express-bground": "https://github.com/freeCodeCamp/fcc-express-bground-pkg.git" | 				"fcc-express-bground": "https://github.com/freeCodeCamp/fcc-express-bground-pkg.git" | ||||||
| 			} | 			} | ||||||
|  | @ -143,6 +144,14 @@ | ||||||
| 				"npm": "1.2.8000 || >= 1.4.16" | 				"npm": "1.2.8000 || >= 1.4.16" | ||||||
| 			} | 			} | ||||||
| 		}, | 		}, | ||||||
|  | 		"node_modules/dotenv": { | ||||||
|  | 			"version": "16.0.1", | ||||||
|  | 			"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", | ||||||
|  | 			"integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==", | ||||||
|  | 			"engines": { | ||||||
|  | 				"node": ">=12" | ||||||
|  | 			} | ||||||
|  | 		}, | ||||||
| 		"node_modules/ee-first": { | 		"node_modules/ee-first": { | ||||||
| 			"version": "1.1.1", | 			"version": "1.1.1", | ||||||
| 			"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", | 			"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", | ||||||
|  | @ -714,6 +723,11 @@ | ||||||
| 			"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", | 			"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", | ||||||
| 			"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" | 			"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" | ||||||
| 		}, | 		}, | ||||||
|  | 		"dotenv": { | ||||||
|  | 			"version": "16.0.1", | ||||||
|  | 			"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", | ||||||
|  | 			"integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==" | ||||||
|  | 		}, | ||||||
| 		"ee-first": { | 		"ee-first": { | ||||||
| 			"version": "1.1.1", | 			"version": "1.1.1", | ||||||
| 			"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", | 			"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", | ||||||
|  |  | ||||||
							
								
								
									
										27
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										27
									
								
								package.json
									
										
									
									
									
								
							|  | @ -1,14 +1,15 @@ | ||||||
| { | { | ||||||
| 	"name": "fcc-learn-node-with-express", |   "name": "fcc-learn-node-with-express", | ||||||
| 	"version": "0.1.0", |   "version": "0.1.0", | ||||||
| 	"dependencies": { |   "dependencies": { | ||||||
| 		"express": "^4.14.0", |     "body-parser": "^1.15.2", | ||||||
| 		"body-parser": "^1.15.2", |     "cookie-parser": "^1.4.3", | ||||||
| 		"cookie-parser": "^1.4.3", |     "dotenv": "^16.0.1", | ||||||
| 		"fcc-express-bground": "https://github.com/freeCodeCamp/fcc-express-bground-pkg.git" |     "express": "^4.14.0", | ||||||
| 	}, |     "fcc-express-bground": "https://github.com/freeCodeCamp/fcc-express-bground-pkg.git" | ||||||
| 	"main": "server.js", |   }, | ||||||
| 	"scripts": { |   "main": "server.js", | ||||||
| 		"start": "node server.js" |   "scripts": { | ||||||
| 	} |     "start": "node server.js" | ||||||
| } |   } | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue