{ "name": "regexcutor", "displayName": "RegExcutor", "description": "正则表达式工具", "version": "0.0.1", "engines": { "vscode": "^1.97.0" }, "publisher": "elfcheng", "categories": [ "Other" ], "activationEvents": [], "main": "./dist/extension.js", "contributes": { "commands":[ { "command": "regexcutor.delete", "title": "删除" } ], "menus": { "view/item/context": [ { "command": "regexcutor.delete", "when": "view == regexcutor.list", "group": "navigation" } ] }, "viewsContainers": { "activitybar": [ { "id": "regexcutor", "title": "RegExcutor", "icon": "media/regexcutor.svg" } ] }, "views": { "regexcutor": [ { "id": "regexcutor.excutor", "name": "正则测试器", "type": "webview" }, { "id": "regexcutor.list", "name": "常用正则", "type": "tree" } ] } }, "scripts": { "vscode:prepublish": "npm run package", "compile": "npm run check-types && npm run lint && node esbuild.js", "watch": "npm-run-all -p watch:*", "watch:esbuild": "node esbuild.js --watch", "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", "package": "npm run check-types && npm run lint && node esbuild.js --production", "compile-tests": "tsc -p . --outDir out", "watch-tests": "tsc -p . -w --outDir out", "pretest": "npm run compile-tests && npm run compile && npm run lint", "check-types": "tsc --noEmit", "lint": "eslint src", "test": "vscode-test" }, "devDependencies": { "@types/vscode": "^1.97.0", "@types/mocha": "^10.0.10", "@types/node": "20.x", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "eslint": "^9.19.0", "esbuild": "^0.24.2", "npm-run-all": "^4.1.5", "typescript": "^5.7.3", "@vscode/test-cli": "^0.0.10", "@vscode/test-electron": "^2.4.1" } }