-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
118 lines (118 loc) · 3.33 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "implicit-parentheses",
"displayName": "Implicit Parentheses",
"description": "Clarify operator precedence by showing implicit parentheses as inline decorations",
"publisher": "JordanEldredge",
"version": "1.0.0",
"license" : "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "git+https://github.com/captbaritone/vscode-implicit-parentheses.git"
},
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact",
"onLanguage:flow"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "implicitParentheses.toggleParens",
"title": "Toggle Implicit Parentheses"
},
{
"command": "implicitParentheses.showParens",
"title": "Show Implicit Parentheses"
},
{
"command": "implicitParentheses.hideParens",
"title": "Hide Implicit Parentheses"
}
],
"configuration": {
"title": "Implicit Parentheses",
"properties": {
"implicitParentheses.enable": {
"type": "boolean",
"default": true,
"description": "Show implicit parentheses"
},
"implicitParentheses.showInMenuBar": {
"type": "boolean",
"default": true,
"description": "Show a button in the menu bar to show/hide implicit parentheses"
},
"implicitParentheses.useFlow": {
"type": "boolean",
"default": false,
"description": "Parse JavaScript files as Flow"
},
"implicitParentheses.debounceTimeout": {
"type": "number",
"default": 500,
"description": "Number of milliseconds that the plugin will wait after a file changes before it parses the file."
},
"implicitParentheses.parenStyle": {
"type": "string",
"description": "Control how the parentheses appear.",
"default": "tiny",
"enum": [
"big",
"tiny"
]
}
}
},
"colors": [
{
"id": "implicitParentheses.parens",
"description": "Text color for the inserted parentheses",
"defaults": {
"dark": "#707070",
"light": "#999999",
"highContrast": "foreground"
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js && yarn unit",
"preunit": "yarn run compile && yarn run lint",
"unit": "node ./out/test/runUnitTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.27",
"@types/vscode": "^1.47.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"eslint": "^7.6.0",
"glob": "^7.1.6",
"mocha": "^8.0.1",
"typescript": "^3.8.3",
"vsce": "^1.78.0",
"vscode-test": "^1.4.0"
},
"dependencies": {
"@babel/parser": "^7.11.4",
"@babel/traverse": "^7.11.0",
"@types/babel__traverse": "^7.0.13"
},
"prettier": {}
}