-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
165 lines (165 loc) · 5.97 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "package-json-upgrade",
"displayName": "Package Json Upgrade",
"description": "Shows available updates in package.json files. Offers quick fix command to update them and to show the changelog.",
"version": "2.1.1",
"publisher": "codeandstuff",
"license": "MIT",
"icon": "logo/icon.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"npm",
"package.json",
"dependencies",
"upgrade",
"update"
],
"repository": {
"type": "git",
"url": "https://github.com/pgsandstrom/package-json-upgrade.git"
},
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Package json upgrade",
"properties": {
"package-json-upgrade.showUpdatesAtStart": {
"type": "boolean",
"default": true,
"description": "Available updates will be shown directly when a package.json is opened. Otherwise, this must be toggled with a command."
},
"package-json-upgrade.skipNpmConfig": {
"type": "boolean",
"default": false,
"description": "Skip reading your npm configuration. Check this to skip using configuration such as proxies and caching that might be defined in your npm configuration. Try this out if the extension appears to not be working."
},
"package-json-upgrade.majorUpgradeColorOverwrite": {
"type": "string",
"default": "",
"description": "Specify a color (like #FF0000) to override the color of major upgrades. Leave empty for default color."
},
"package-json-upgrade.minorUpgradeColorOverwrite": {
"type": "string",
"default": "",
"description": "Specify a color (like #FFFF00) to override the color of minor upgrades. Leave empty for default color."
},
"package-json-upgrade.patchUpgradeColorOverwrite": {
"type": "string",
"default": "",
"description": "Specify a color (like #00FF00) to override the color of patch upgrades. Leave empty for default color."
},
"package-json-upgrade.prereleaseUpgradeColorOverwrite": {
"type": "string",
"default": "",
"description": "Specify a color (like #00FF00) to override the color of prerelease upgrades. Leave empty for default color."
},
"package-json-upgrade.decorationString": {
"type": "string",
"default": "\t\tUpdate available: %s",
"description": "Customize update string. %s will be replaced by version, so 'Update: %s' will result in 'Update: 1.0.1'."
},
"package-json-upgrade.ignorePatterns": {
"type": "array",
"default": [],
"description": "A list of regex pattern of packages to not show decoration string for. To ignore all material-ui packages the JSON should be [\"^(?=@material-ui).+$\"]"
},
"package-json-upgrade.ignoreVersions": {
"type": "object",
"default": {},
"description": "Semver ranges of versions to ignore for specific packages. If you want to ignore all @types/node versions 12 or greater the JSON should be {\"@types/node\": \">=12\"}. If you want to add several ignored semver ranges you can do {\"@types/node\": [\"=12.0.0\", \"=12.0.1\"]}."
},
"package-json-upgrade.msUntilRowLoading": {
"type": "number",
"default": 10000,
"description": "Number of milliseconds until 'Loading...' is displayed on each dependency row that has not yet been loaded. 0 to disable, 1 to show immediately."
}
}
},
"commands": [
{
"command": "package-json-upgrade.toggle-show",
"title": "Toggle showing package.json available updates"
},
{
"command": "package-json-upgrade.update-all",
"title": "Update all dependencies in the current package.json file"
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run test-jest && npm run test-vscode",
"pretest-vscode": "npm run compile",
"test-vscode": "node ./out/test-vscode/runTest.js",
"test-jest": "jest",
"format": "prettier --write \"src/**/*.{json,md,ts,tsx,css,scss}\"",
"lint": "eslint --ext .ts --ext .tsx --fix src",
"package": "vsce package",
"pre-commit": "lint-staged",
"pre-push": "npm run lint && npm run typecheck && npm run test",
"typecheck": "tsc --noEmit",
"prepare": "husky"
},
"lint-staged": {
"*.{json,md,css,scss}": [
"prettier --write"
],
"*.{ts,tsx}": [
"node ./node_modules/eslint/bin/eslint.js --fix",
"prettier --write"
]
},
"dependencies": {
"@typescript-eslint/parser": "5.62.0",
"libnpmconfig": "1.2.1",
"node-fetch": "2.7.0",
"npm-registry-fetch": "16.1.0",
"semver": "7.3.8"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/glob": "8.1.0",
"@types/jest": "29.5.12",
"@types/mocha": "10.0.6",
"@types/node": "20.11.25",
"@types/node-fetch": "2.6.11",
"@types/npm-registry-fetch": "8.0.7",
"@types/semver": "7.5.8",
"@types/vscode": "1.87.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@vscode/vsce": "2.24.0",
"@vscode/test-electron": "2.3.9",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-no-only-tests": "3.1.0",
"glob": "10.3.10",
"husky": "9.0.11",
"jest": "29.7.0",
"lint-staged": "15.2.2",
"mocha": "10.3.0",
"prettier": "3.2.5",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "5.4.2",
"webpack": "5.90.3",
"webpack-cli": "5.1.4"
}
}