[mod] use esbuild
This commit is contained in:
		
							parent
							
								
									a208e502ea
								
							
						
					
					
						commit
						560628c7de
					
				
					 3 changed files with 10 additions and 9 deletions
				
			
		| 
						 | 
					@ -1,8 +1,5 @@
 | 
				
			||||||
.vscode/**
 | 
					node_modules
 | 
				
			||||||
.vscode-test/**
 | 
					out/
 | 
				
			||||||
out/test/**
 | 
					src/
 | 
				
			||||||
out/**/*.map
 | 
					 | 
				
			||||||
src/**
 | 
					 | 
				
			||||||
.gitignore
 | 
					 | 
				
			||||||
tsconfig.json
 | 
					tsconfig.json
 | 
				
			||||||
vsc-extension-quickstart.md
 | 
					vsc-extension-quickstart.md
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								LICENSE
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								LICENSE
									
										
									
									
									
								
							| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
The MIT License (MIT)
 | 
					The MIT License (MIT)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Copyright (c) 2015 Josh Johnson
 | 
					Copyright (c) 2022 Andy Bunce
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
					Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
				
			||||||
of this software and associated documentation files (the "Software"), to deal
 | 
					of this software and associated documentation files (the "Software"), to deal
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
    "name": "vscode-basex",
 | 
					    "name": "vscode-basex",
 | 
				
			||||||
    "displayName": "BaseX tools",
 | 
					    "displayName": "BaseX tools",
 | 
				
			||||||
    "description": "BaseX tools: XQuery, XML, XPath Tools for Visual Studio Code",
 | 
					    "description": "BaseX tools: XQuery, XML, XPath Tools for Visual Studio Code",
 | 
				
			||||||
    "version": "0.0.4",
 | 
					    "version": "0.0.6",
 | 
				
			||||||
    "preview": false,
 | 
					    "preview": false,
 | 
				
			||||||
    "publisher": "quodatum",
 | 
					    "publisher": "quodatum",
 | 
				
			||||||
    "author": {
 | 
					    "author": {
 | 
				
			||||||
| 
						 | 
					@ -261,7 +261,11 @@
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
        "vscode:prepublish": "npm run compile",
 | 
					        "vscode:prepublish": "npm run esbuild-base -- --minify",
 | 
				
			||||||
 | 
					        "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
 | 
				
			||||||
 | 
					        "esbuild": "npm run esbuild-base -- --sourcemap",
 | 
				
			||||||
 | 
					        "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
 | 
				
			||||||
 | 
					        "test-compile": "tsc -p ./",
 | 
				
			||||||
        "compile": "tsc -p ./",
 | 
					        "compile": "tsc -p ./",
 | 
				
			||||||
        "watch": "tsc -watch -p ./",
 | 
					        "watch": "tsc -watch -p ./",
 | 
				
			||||||
        "pretest": "npm run compile && npm run lint",
 | 
					        "pretest": "npm run compile && npm run lint",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue