package.json 1.5 KB
Newer Older
1 2 3
{
  "name": "grunt",
  "publisher": "vscode",
4 5
  "description": "Extension to add Grunt capabilities to VS Code.",
  "displayName": "Grunt support for VS Code",
6
  "version": "1.0.0",
7
  "icon": "images/grunt.png",
8
  "license": "MIT",
9 10 11 12 13 14 15
  "engines": {
    "vscode": "*"
  },
  "categories": [
    "Other"
  ],
  "scripts": {
16 17
    "compile": "gulp compile-extension:grunt",
    "watch": "gulp watch-extension:grunt"
18 19
  },
  "dependencies": {
J
Johannes Rieken 已提交
20
    "vscode-nls": "^4.0.0"
21 22
  },
  "devDependencies": {
23
    "@types/node": "^12.19.9"
24 25 26
  },
  "main": "./out/main",
  "activationEvents": [
27
    "onCommand:workbench.action.tasks.runTask"
28 29 30 31 32 33 34 35
  ],
  "contributes": {
    "configuration": {
      "id": "grunt",
      "type": "object",
      "title": "Grunt",
      "properties": {
        "grunt.autoDetect": {
36
          "scope": "resource",
37 38 39 40 41 42 43 44 45
          "type": "string",
          "enum": [
            "off",
            "on"
          ],
          "default": "on",
          "description": "%config.grunt.autoDetect%"
        }
      }
46
    },
D
Dirk Baeumer 已提交
47
    "taskDefinitions": [
48
      {
D
Dirk Baeumer 已提交
49
        "type": "grunt",
50 51 52
        "required": [
          "task"
        ],
53 54 55
        "properties": {
          "task": {
            "type": "string",
56
            "description": "%grunt.taskDefinition.type.description%"
57
          },
58 59 60 61
          "args": {
            "type": "array",
            "description": "%grunt.taskDefinition.args.description%"
          },
62 63
          "file": {
            "type": "string",
64
            "description": "%grunt.taskDefinition.file.description%"
65 66 67 68
          }
        }
      }
    ]
69
  }
70
}