-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.82 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
119
120
121
122
123
124
125
{
"name": "type4py",
"displayName": "Type4Py",
"version": "0.2.0",
"description": "Machine learning-based type autocompletion for Python",
"icon": "images/icon.ico",
"publisher": "saltud",
"homepage": "https://type4py.com/",
"repository": {
"type": "git",
"url": "https://github.com/saltudelft/type4py-vscode-ext"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/saltudelft/type4py-vscode-ext/issues"
},
"categories": [
"Programming Languages",
"Machine Learning"
],
"keywords": [
"Python",
"typehint",
"machinelearning",
"autocompletion",
"typeannotations"
],
"engines": {
"vscode": "^1.59.0"
},
"activationEvents": [
"*"
],
"main": "./dist/extension",
"browser": "./dist/web/extension",
"contributes": {
"commands": [
{
"command": "type4py.infer",
"title": "Type4Py: Infer type annotations"
}
],
"languages": [
{
"id": "python",
"aliases": [
"Python"
],
"extensions": [
".py"
]
}
],
"configuration": {
"title": "Type4Py",
"properties": {
"workspace.localModelEnabled": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled, it uses Type4Py's local model on your machine. NOTE THAT you need to pull and run Type4Py's Docker image first. See [here](https://github.com/saltudelft/type4py/wiki/Type4Py's-Local-Model) for more info."
},
"workspace.autoInferEnabled": {
"type": "boolean",
"default": false,
"description": "If enabled, it automatically infers type annotations when opening a Python source file. Note that automatic inference works only once for a newly opened file."
},
"workspace.filterPredictionsEnabled": {
"type": "boolean",
"default": true,
"description": "If enabled, based on the file's imported names, irrelevent type predictions will be filtered out. Disable this setting if you would like to get all the predicted types regardless of relevancy."
},
"workspace.shareAcceptedPredictions": {
"type": "boolean",
"default": false,
"markdownDescription": "If enabled, accepted type predictions will be shared with us for research purposes and improving our Type4Py model. Note that the value of VSCode Telemetry overrides this setting. Read our privacy statement [here](https://github.com/saltudelft/type4py-vscode-ext/blob/master/PRIVACY.md)."
}
}
}
},
"scripts": {
"package": "vsce package",
"publish": "vsce publish",
"vscode:prepublish": "npm run package-web && webpack --mode production",
"compile": "webpack --mode none",
"watch": "webpack --mode none --watch",
"test": "tsc -p . && cp -r ./test/res ./out/test && node out/test/runTest.js",
"test-compile": "npm run compile && npm run test",
"lint": "eslint --fix ./**/*.ts",
"compile-web": "webpack --config ./web-extension.webpack.config.js",
"watch-web": "webpack --watch --config ./web-extension.webpack.config.js",
"package-web": "webpack --mode production --devtool hidden-source-map --config ./web-extension.webpack.config.js"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/chai-spies": "^1.0.3",
"@types/glob": "^7.1.3",
"@types/mocha": "^9.0.0",
"@types/node": "^12.12.54",
"@types/vscode": "^1.59.0",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@vscode/test-web": "^0.0.8",
"buffer": "^6.0.3",
"chai": "^4.3.4",
"chai-spies": "^1.0.0",
"crypto-browserify": "^3.12.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^9.0.3",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.2.2",
"typescript": "^3.9.7",
"url-parse": "^1.5.6",
"vscode-test": "^1.6.1",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"axios": "^0.21.2",
"node-fetch": "^2.6.7"
}
}