/
package.json
98 lines (98 loc) · 2.66 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": "vscode-npm-import-package-version",
"displayName": "npm-import-package-version",
"description": "An extension to show npm package's version in you code.",
"version": "0.7.5",
"publisher": "axetroy",
"engines": {
"vscode": "^1.40.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/axetroy/vscode-npm-import-package-version.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/axetroy/vscode-npm-import-package-version/issues"
},
"homepage": "https://github.com/axetroy/vscode-npm-import-package-version#readme",
"keywords": [
"javascript",
"typescript",
"version",
"npm",
"package"
],
"categories": [
"Other"
],
"icon": "resources/icon.png",
"main": "./client/out/extension.js",
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:vue",
"onCommand:npm-version.enable",
"onCommand:npm-version.disable"
],
"contributes": {
"commands": [
{
"command": "npm-version._open",
"title": "%cmd.open.title%",
"category": "Npm Import Version"
},
{
"command": "npm-version.enable",
"title": "%cmd.enable.title%",
"category": "Npm Import Version"
},
{
"command": "npm-version.disable",
"title": "%cmd.disable.title%",
"category": "Npm Import Version"
}
],
"menus": {
"commandPalette": [
{
"command": "npm-version._open",
"when": "never"
}
]
},
"configuration": {
"title": "Npm Import Package Version Configuration",
"properties": {
"npm-import-package-version.enable": {
"type": "boolean",
"default": true,
"markdownDescription": "%npm-import-package-version.enable%"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "npm run installvscode && cd client && yarn && cd ../server && yarn && cd ..",
"lint": "tslint -p ./ -c tslint.json",
"installvscode": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"publish": "npx vsce publish",
"pack": "npx vsce package"
},
"devDependencies": {
"@types/fs-extra": "9.0.1",
"@types/mocha": "8.0.2",
"@types/node": "13.13.15",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "3.9.7",
"vscode": "1.1.37"
}
}