bugfix: 解决 compile 时报错 activationEvents 不存在问题及其他若干问题
ERROR Manifest needs the 'activationEvents' property, given it has a 'main' property. ERROR Make sure to edit the README.md file before you package or publish your extension. WARNING A 'repository' field is missing from the 'package.json' manifest file. WARNING LICENSE.md, LICENSE.txt or LICENSE not found
This commit is contained in:
@@ -9,7 +9,12 @@
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/coder-xiaomo/text-conversion-vscode-extension.git"
|
||||
},
|
||||
"main": "./out/extension.js",
|
||||
"activationEvents": [],
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
@@ -164,7 +169,8 @@
|
||||
"watch": "tsc -watch -p ./",
|
||||
"pretest": "npm run compile && npm run lint",
|
||||
"lint": "eslint src --ext ts",
|
||||
"test": "vscode-test"
|
||||
"test": "vscode-test",
|
||||
"package": "echo \"start `vsce package`\" & vsce package"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^10.0.6",
|
||||
|
Reference in New Issue
Block a user