prettier scripts and precommit hook
This commit is contained in:
		
							parent
							
								
									fa32427fe1
								
							
						
					
					
						commit
						2e1ce9927e
					
				
					 2 changed files with 942 additions and 1 deletions
				
			
		
							
								
								
									
										934
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										934
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							|  | @ -12,7 +12,9 @@ | |||
|     "serve:svg": "nodemon --watch 'src/svgs/*' -e svg --exec 'npm run build:svg'", | ||||
|     "build:css": "tailwindcss -i ./src/app.css -o ./dist/app.css", | ||||
|     "build:svg": "svgdir2sprite ./src/svgs ./dist/spritesheet.svg", | ||||
|     "test": "ava" | ||||
|     "test": "ava", | ||||
|     "lint": "prettier --check .", | ||||
|     "prepare": "husky install" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|  | @ -31,9 +33,14 @@ | |||
|     "express": "^4.18.2", | ||||
|     "express-handlebars": "^7.0.2", | ||||
|     "fs": "^0.0.1-security", | ||||
|     "husky": "^8.0.3", | ||||
|     "lint-staged": "^13.2.0", | ||||
|     "nodemon": "^2.0.21", | ||||
|     "prettier": "2.8.4", | ||||
|     "svgdir2sprite": "^1.0.5", | ||||
|     "tailwindcss": "^3.2.7" | ||||
|   }, | ||||
|   "lint-staged": { | ||||
|     "**/*": "prettier --write --ignore-unknown" | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ava Gaiety W
						Ava Gaiety W