-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.92 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 2.92 KB
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
{
"name": "tsquery",
"displayName": "tsquery",
"description": "Search for TypeScript code using AST queries across the project",
"version": "0.1.1",
"publisher": "urishaked",
"repository": {
"type": "git",
"url": "git+https://github.com/urish/vscode-tsquery.git"
},
"engines": {
"vscode": "^1.22.0"
},
"categories": ["Other"],
"activationEvents": [
"onView:astView",
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:typescriptreact",
"onLanguage:javascriptreact",
"onCommand:extension.astQueryFile",
"onCommand:extension.astQueryWorkspace"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "TSQuery extension configuration",
"properties": {
"tsquery.exclude": {
"description": "Configure glob patterns for excluding files and folders in searches",
"type": "array",
"default": ["**/node_modules/*/**"]
}
}
},
"commands": [
{
"command": "extension.astQueryFile",
"title": "TSQuery Search in Current File",
"icon": {
"light": "resources/light/query-file.svg",
"dark": "resources/dark/query-file.svg"
}
},
{
"command": "extension.astQueryWorkspace",
"title": "TSQuery Search in Workspace",
"icon": {
"light": "resources/light/query-workspace.svg",
"dark": "resources/dark/query-workspace.svg"
}
}
],
"views": {
"explorer": [
{
"id": "astView",
"name": "AST View"
}
]
},
"menus": {
"commandPalette": [
{
"command": "extension.astQueryFile"
}
],
"view/title": [
{
"command": "extension.astQueryFile",
"when": "view == astView",
"group": "navigation"
},
{
"command": "extension.astQueryWorkspace",
"when": "view == astView",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"precommit": "lint-staged",
"deploy": "vsce publish",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/minimatch": "^3.0.3",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"husky": "^0.14.3",
"lint-staged": "^7.1.0",
"prettier": "^1.12.1",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"@phenomnomnominal/tsquery": "^2.0.0-beta.4",
"minimatch": "^3.0.4",
"typewiz-core": "^1.0.2",
"util.promisify": "^1.0.0"
},
"lint-staged": {
"*.{js,json}": ["prettier --write", "git add"],
"*.ts": ["prettier --write", "tslint --fix", "git add"]
}
}