mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	chore: add lint-staged command
This commit is contained in:
		
							parent
							
								
									77a1a47110
								
							
						
					
					
						commit
						0e97b3df0e
					
				@ -8,12 +8,13 @@
 | 
			
		||||
    "build": "cross-env vite build",
 | 
			
		||||
    "preview": "vite preview",
 | 
			
		||||
    "preview:build": "npm run build && vite preview",
 | 
			
		||||
    "lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src"
 | 
			
		||||
    "lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src",
 | 
			
		||||
    "lint-staged": "lint-staged"
 | 
			
		||||
  },
 | 
			
		||||
  "husky": {
 | 
			
		||||
    "hooks": {
 | 
			
		||||
      "commit-msg": "node scripts/verify-commit.js",
 | 
			
		||||
      "pre-commit": "lint-staged"
 | 
			
		||||
      "pre-commit": "npm run lint-staged"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user