vscode/extensions/npm/package.json
2017-07-13 16:43:18 +02:00

66 lines
1.4 KiB
JSON

{
"name": "npm",
"publisher": "vscode",
"description": "Extension to add task support for npm scripts.",
"displayName": "Npm support for VSCode",
"version": "0.0.1",
"engines": {
"vscode": "0.10.x"
},
"categories": [
"Other"
],
"scripts": {
"compile": "gulp compile-extension:npm",
"watch": "gulp watch-extension:npm"
},
"dependencies": {
"vscode-nls": "^2.0.2"
},
"devDependencies": {
"@types/node": "^7.0.12"
},
"main": "./out/main",
"activationEvents": [
"onCommand:workbench.action.tasks.runTask"
],
"contributes": {
"configuration": {
"id": "npm",
"type": "object",
"title": "Npm",
"properties": {
"npm.autoDetect": {
"type": "string",
"enum": [
"off",
"on"
],
"default": "on",
"description": "%config.npm.autoDetect%"
},
"npm.runSilent": {
"type": "boolean",
"default": false,
"description": "%config.npm.runSilent%"
}
}
},
"taskDefinitions": [
{
"type": "npm",
"required": ["script"],
"properties": {
"script": {
"type": "string",
"description": "The npm script to customize"
},
"file": {
"type": "string",
"description": "The package.json file that provides the task. Can be omitted."
}
}
}
]
}
}