-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
98 lines (98 loc) · 3.08 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
{
"name": "pypi-assistant",
"displayName": "Python PyPI Assistant",
"description": "PyPI package information at a glance for Python dependencies",
"license": "MIT",
"publisher": "twixes",
"author": "Twixes",
"version": "2.1.9",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"pip requirements",
"python",
"requirements.txt"
],
"icon": "icon.png",
"galleryBanner": {
"color": "#1e415e",
"theme": "dark"
},
"activationEvents": [
"onLanguage:pip-requirements",
"onLanguage:toml"
],
"main": "./out/main.js",
"browser": "./out/browser.js",
"contributes": {
"configuration": {
"title": "Python PyPI Assistant",
"properties": {
"pypiAssistant.codeLens": {
"type": "boolean",
"default": true,
"description": "Enable/disable latest package version CodeLens in `pip-requirements` and `pyproject.toml` files."
}
}
}
},
"scripts": {
"prepare": "husky install",
"vscode:prepublish": "npm run build",
"build": "rimraf out && npm run build-desktop && npm run build-web",
"build-desktop": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --sourcemap --inject:src/wretch-polyfills.ts",
"build-web": "esbuild ./src/extension.ts --bundle --outfile=out/browser.js --external:vscode --format=cjs --platform=browser --sourcemap --minify",
"format": "prettier --write .",
"lint": "eslint src --ext ts",
"pretest": "npm run lint",
"test": "jest"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/jest": "^29.0.3",
"@types/node": "^17.0.21",
"@types/node-fetch": "^2.6.4",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"esbuild": "^0.24.0",
"eslint": "^8.10.0",
"glob": "^7.2.0",
"husky": "^7.0.4",
"jest": "^29.0.3",
"lint-staged": "^13.2.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.1.2",
"typescript": "^4.1.3"
},
"dependencies": {
"dayjs": "^1.10.8",
"lru-cache": "^10.2.0",
"node-fetch": "^3.3.2",
"pip-requirements-js": "^0.2.1",
"toml": "^3.0.0",
"toml-eslint-parser": "^0.9.3",
"wretch": "^2.6.0"
},
"extensionDependencies": [
"ms-python.python"
],
"bugs": {
"url": "https://github.com/Twixes/pypi-assistant/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/Twixes/pypi-assistant.git"
},
"homepage": "https://github.com/Twixes/pypi-assistant/blob/master/README.md",
"lint-staged": {
"*.{ts,yml,yaml,json,md}": "prettier --write",
"*.ts": "eslint --fix"
}
}