-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 1.99 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
{
"name": "ts-ast-explorer",
"displayName": "Ts AST Explorer",
"description": "An AST explorer for typescript, javascript, JSON",
"publisher": "cognominal",
"version": "0.0.1",
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "ast-explorer",
"title": "AST Explorer",
"icon": "media/dep.svg"
}
]
},
"views": {
"ast-explorer": [
{
"id": "ASTTreeview",
"name": "AST explorer",
"icon": "media/dep.svg",
"contextualTitle": "ts AST treeview"
}
]
},
"configuration": {
"title": "Typescript AST Explorer",
"properties": {
"ts-ast-explorer.updateASTOnSaveOnly": {
"type": "boolean",
"default": true,
"description": "Update the AST when a file is saved."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"test:unit": "mocha -r ts-node/register 'src/unit-tests/**/*.test.ts'",
"prepare": "husky install"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/mocha": "^10.0.2",
"@types/node": "18.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.6",
"chai": "^4.3.10",
"eslint": "^8.50.0",
"glob": "^10.3.3",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vscode-test": "^1.6.1"
},
"mocha": {
"require": "ts-node/register",
"extension": [
"ts"
],
"spec": "src/unit-tests/**/*.test.ts"
}
}