| 1 | { |
| 2 | "name": "comment-aligner", |
| 3 | "displayName": "comment-aligner", |
| 4 | "repository": { |
| 5 | "type": "git", |
| 6 | "url": "https://gihub.com/huncholane/comment-aligner" |
| 7 | }, |
| 8 | "description": "", |
| 9 | "version": "0.0.1", |
| 10 | "engines": { |
| 11 | "vscode": "^1.95.0" |
| 12 | }, |
| 13 | "categories": [ |
| 14 | "Other" |
| 15 | ], |
| 16 | "activationEvents": [], |
| 17 | "main": "./out/extension.js", |
| 18 | "contributes": { |
| 19 | "commands": [ |
| 20 | { |
| 21 | "command": "comment-aligner.format", |
| 22 | "title": "Format Comments" |
| 23 | } |
| 24 | ], |
| 25 | "keybindings": [ |
| 26 | { |
| 27 | "command": "comment-aligner.format", |
| 28 | "key": "alt+a alt+c", |
| 29 | "when": "editorTextFocus" |
| 30 | } |
| 31 | ], |
| 32 | "configuration": [ |
| 33 | { |
| 34 | "type": "object", |
| 35 | "title": "Comment Aligner Configuration", |
| 36 | "properties": { |
| 37 | "comment-aligner.spacesBeforeComment": { |
| 38 | "type": "number", |
| 39 | "default": 1, |
| 40 | "description": "Number of spaces before the comment" |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | ] |
| 45 | }, |
| 46 | "scripts": { |
| 47 | "vscode:prepublish": "npm run compile", |
| 48 | "compile": "tsc -p ./", |
| 49 | "watch": "tsc -watch -p ./", |
| 50 | "pretest": "npm run compile && npm run lint", |
| 51 | "lint": "eslint src", |
| 52 | "test": "vscode-test" |
| 53 | }, |
| 54 | "devDependencies": { |
| 55 | "@types/vscode": "^1.95.0", |
| 56 | "@types/mocha": "^10.0.9", |
| 57 | "@types/node": "20.x", |
| 58 | "@typescript-eslint/eslint-plugin": "^8.10.0", |
| 59 | "@typescript-eslint/parser": "^8.7.0", |
| 60 | "eslint": "^9.13.0", |
| 61 | "typescript": "^5.6.3", |
| 62 | "@vscode/test-cli": "^0.0.10", |
| 63 | "@vscode/test-electron": "^2.4.1" |
| 64 | } |
| 65 | } |