完善开发环境配置
This commit is contained in:
		
							
								
								
									
										2
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@@ -8,7 +8,7 @@
 | 
			
		||||
            "request": "launch",
 | 
			
		||||
            "args": ["--extensionDevelopmentPath=${workspaceRoot}"],
 | 
			
		||||
            "sourceMaps": true,
 | 
			
		||||
            "preLaunchTask": "npm: compile",
 | 
			
		||||
            "preLaunchTask": "npm: build",
 | 
			
		||||
            "outFiles": ["${workspaceFolder}/dist/**/*.js"],
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										27
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										27
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							@@ -11,25 +11,24 @@
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			"type": "npm",
 | 
			
		||||
			"script": "format",
 | 
			
		||||
			"script": "package",
 | 
			
		||||
			"problemMatcher": [],
 | 
			
		||||
			"label": "npm: format",
 | 
			
		||||
			"detail": "prettier --single-quote --print-width 88 --write \"src/**/*.js\""
 | 
			
		||||
			"label": "npm: package",
 | 
			
		||||
			"detail": "webpack --mode production && vsce package"
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			"type": "npm",
 | 
			
		||||
			"script": "watch",
 | 
			
		||||
			"problemMatcher": "$ts-webpack-watch",
 | 
			
		||||
			"isBackground": true,
 | 
			
		||||
			"presentation": {
 | 
			
		||||
				"reveal": "never",
 | 
			
		||||
				"group": "watchers"
 | 
			
		||||
			},
 | 
			
		||||
			"group": {
 | 
			
		||||
				"kind": "build",
 | 
			
		||||
				"isDefault": true
 | 
			
		||||
			}
 | 
			
		||||
			"problemMatcher": [],
 | 
			
		||||
			"label": "npm: watch",
 | 
			
		||||
			"detail": "webpack --mode production --watch"
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			"type": "npm",
 | 
			
		||||
			"script": "format",
 | 
			
		||||
			"problemMatcher": [],
 | 
			
		||||
			"label": "npm: format",
 | 
			
		||||
			"detail": "eslint src --ext ts"
 | 
			
		||||
		},
 | 
			
		||||
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user