|
| 1 | +{ |
| 2 | + "name": "implicitparens", |
| 3 | + "displayName": "ImplicitParens", |
| 4 | + "description": "Show implied parentheses in JavaScript code", |
| 5 | + "version": "0.0.1", |
| 6 | + "engines": { |
| 7 | + "vscode": "^1.48.0" |
| 8 | + }, |
| 9 | + "categories": [ |
| 10 | + "Other" |
| 11 | + ], |
| 12 | + "activationEvents": [ |
| 13 | + "onLanguage:typescript", |
| 14 | + "onLanguage:javascript", |
| 15 | + "onLanguage:javascriptreact", |
| 16 | + "onLanguage:typescriptreact" |
| 17 | + ], |
| 18 | + "main": "./out/extension.js", |
| 19 | + "contributes": { |
| 20 | + "commands": [ |
| 21 | + { |
| 22 | + "command": "implicitparens.toggleParens", |
| 23 | + "title": "Toggle Implicit Parentheses" |
| 24 | + }, |
| 25 | + { |
| 26 | + "command": "implicitparens.showParens", |
| 27 | + "title": "Show Implicit Parentheses" |
| 28 | + }, |
| 29 | + { |
| 30 | + "command": "implicitparens.hideParens", |
| 31 | + "title": "Hide Implicit Parentheses" |
| 32 | + } |
| 33 | + ], |
| 34 | + "configuration": { |
| 35 | + "title": "Implicit Parentheses", |
| 36 | + "properties": { |
| 37 | + "implicitparens.enabled": { |
| 38 | + "type": "boolean", |
| 39 | + "default": true, |
| 40 | + "description": "Show implicit parentheses" |
| 41 | + }, |
| 42 | + "implicitparens.parser": { |
| 43 | + "type": "string", |
| 44 | + "default": "TypeScript", |
| 45 | + "description": "Parser to use", |
| 46 | + "enum": [ |
| 47 | + "JavaScript", |
| 48 | + "TypeScript", |
| 49 | + "Flow" |
| 50 | + ], |
| 51 | + "enumDescriptions": [ |
| 52 | + "Babel Parser", |
| 53 | + "Babel Parser with TypeScript enabled", |
| 54 | + "Babel Parser with Flow enabled" |
| 55 | + ] |
| 56 | + } |
| 57 | + } |
| 58 | + }, |
| 59 | + "colors": [ |
| 60 | + { |
| 61 | + "id": "implicitparens.parens", |
| 62 | + "description": "Text color for the inserted parentheses", |
| 63 | + "defaults": { |
| 64 | + "dark": "#707070", |
| 65 | + "light": "#999999", |
| 66 | + "highContrast": "foreground" |
| 67 | + } |
| 68 | + } |
| 69 | + ] |
| 70 | + }, |
| 71 | + "scripts": { |
| 72 | + "vscode:prepublish": "yarn run compile", |
| 73 | + "compile": "tsc -p ./", |
| 74 | + "lint": "eslint src --ext ts", |
| 75 | + "watch": "tsc -watch -p ./", |
| 76 | + "pretest": "yarn run compile && yarn run lint", |
| 77 | + "test": "node ./out/test/runTest.js" |
| 78 | + }, |
| 79 | + "devDependencies": { |
| 80 | + "@types/glob": "^7.1.3", |
| 81 | + "@types/mocha": "^8.0.0", |
| 82 | + "@types/node": "^14.0.27", |
| 83 | + "@types/vscode": "^1.48.0", |
| 84 | + "@typescript-eslint/eslint-plugin": "^3.8.0", |
| 85 | + "@typescript-eslint/parser": "^3.8.0", |
| 86 | + "eslint": "^7.6.0", |
| 87 | + "glob": "^7.1.6", |
| 88 | + "mocha": "^8.0.1", |
| 89 | + "typescript": "^3.8.3", |
| 90 | + "vscode-test": "^1.4.0" |
| 91 | + }, |
| 92 | + "dependencies": { |
| 93 | + "@babel/parser": "^7.11.4", |
| 94 | + "@babel/traverse": "^7.11.0", |
| 95 | + "@types/babel__traverse": "^7.0.13", |
| 96 | + "@types/lodash": "^4.14.159", |
| 97 | + "lodash": "^4.17.20" |
| 98 | + }, |
| 99 | + "prettier": {} |
| 100 | +} |
0 commit comments