-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
85 lines (85 loc) · 2.51 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
{
"name": "intorust",
"displayName": "IntoRust",
"description": "Learn Rust with the power of GenAI",
"publisher": "nikomatsakis",
"repository": {
"type": "git",
"url": "https://github.com/nikomatsakis/intorust.vscode"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"AI",
"Chat"
],
"activationEvents": [
"onLanguage:rust"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "intorust.enableCodeLens",
"title": "IntoRust: Enable CodeLens"
},
{
"command": "intorust.disableCodeLens",
"title": "IntoRust: Disable Codelens"
},
{
"command": "intorust.explainErrors",
"title": "IntoRust: Explain errors on this line"
}
],
"configuration": {
"properties": {
"intorust.enableCodeLens": {
"type": "boolean",
"default": true
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"postinstall": "npm run setupTiktoken",
"setupTiktoken": "run-script-os",
"setupTiktoken:linux:darwin": "cp node_modules/@vscode/prompt-tsx/dist/base/tokenizer/cl100k_base.tiktoken dist/",
"setupTiktoken:windows": "copy node_modules\\@vscode\\prompt-tsx\\dist\\base\\tokenizer\\cl100k_base.tiktoken dist\\"
},
"devDependencies": {
"@types/markdown-it": "^14.1.1",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/prompt-tsx": "^0.1.10-alpha",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"esbuild": "^0.21.4",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"run-script-os": "^1.1.6",
"typescript": "^5.4.5"
},
"dependencies": {
"markdown-it": "^14.1.0",
"vsce": "^2.15.0",
"vscode-languageclient": "^9.0.1"
}
}