build the structure of the extension
This commit is contained in:
		
							
								
								
									
										29
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
// A launch configuration that launches the extension inside a new window
 | 
			
		||||
{
 | 
			
		||||
    "version": "0.1.0",
 | 
			
		||||
    "configurations": [
 | 
			
		||||
        {
 | 
			
		||||
            "name": "Launch Extension",
 | 
			
		||||
            "type": "extensionHost",
 | 
			
		||||
            "request": "launch",
 | 
			
		||||
            "runtimeExecutable": "${execPath}",
 | 
			
		||||
            "args": ["--extensionDevelopmentPath=${workspaceRoot}"],
 | 
			
		||||
            "preLaunchTask": "npm: build",
 | 
			
		||||
            "outFiles": ["${workspaceFolder}/dist/**/*.js"],
 | 
			
		||||
            "sourceMaps": true,
 | 
			
		||||
            "stopOnEntry": false
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "name": "Launch Tests",
 | 
			
		||||
            "type": "extensionHost",
 | 
			
		||||
            "request": "launch",
 | 
			
		||||
            "runtimeExecutable": "${execPath}",
 | 
			
		||||
            "args": [
 | 
			
		||||
                "--extensionDevelopmentPath=${workspaceRoot}",
 | 
			
		||||
                "--extensionTestsPath=${workspaceRoot}/test"
 | 
			
		||||
            ],
 | 
			
		||||
            "preLaunchTask": "npm: build",
 | 
			
		||||
            "stopOnEntry": false
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										20
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
{
 | 
			
		||||
	"version": "2.0.0",
 | 
			
		||||
	"tasks": [
 | 
			
		||||
		{
 | 
			
		||||
			"type": "npm",
 | 
			
		||||
			"script": "build",
 | 
			
		||||
			"group": "build",
 | 
			
		||||
			"problemMatcher": [],
 | 
			
		||||
			"label": "npm: build",
 | 
			
		||||
			"detail": "webpack --mode production"
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			"type": "npm",
 | 
			
		||||
			"script": "format",
 | 
			
		||||
			"problemMatcher": [],
 | 
			
		||||
			"label": "npm: format",
 | 
			
		||||
			"detail": "prettier --single-quote --print-width 88 --write \"src/**/*.js\""
 | 
			
		||||
		}
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user