mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Merge pull request #246 from chakflying/patch-4
Proj: Add npm lint commands
This commit is contained in:
		@@ -10,6 +10,9 @@
 | 
				
			|||||||
        "node": "14.*"
 | 
					        "node": "14.*"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
 | 
					        "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
 | 
				
			||||||
 | 
					        "lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore",
 | 
				
			||||||
 | 
					        "lint": "npm run lint:js && npm run lint:style",
 | 
				
			||||||
        "dev": "vite --host",
 | 
					        "dev": "vite --host",
 | 
				
			||||||
        "start": "npm run start-server",
 | 
					        "start": "npm run start-server",
 | 
				
			||||||
        "start-server": "node server/server.js",
 | 
					        "start-server": "node server/server.js",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user