function registerCommands()

in src/main.ts [298:315]


function registerCommands(context: ExtensionContext) {
	context.subscriptions.push(
		commands.registerCommand('npm-script.install', runNpmInstall),
		commands.registerCommand('npm-script.init', runNpmInit),
		commands.registerCommand('npm-script.test', runNpmTest),
		commands.registerCommand('npm-script.start', runNpmStart),
		commands.registerCommand('npm-script.run', runNpmScript),
		commands.registerCommand('npm-script.showOutput', showNpmOutput),
		commands.registerCommand('npm-script.rerun-last-script', rerunLastScript),
		commands.registerCommand('npm-script.build', runNpmBuild),
		commands.registerCommand('npm-script.audit', runNpmAudit),
		commands.registerCommand('npm-script.outdated', runNpmOutdated),
		commands.registerCommand('npm-script.installInOutputWindow', runNpmInstallInOutputWindow),
		commands.registerCommand('npm-script.uninstallInOutputWindow', runNpmUninstallInOutputWindow),
		commands.registerCommand('npm-script.validate', validateAllDocuments),
		commands.registerCommand('npm-script.terminate-script', terminateScript)
	);
}