143 lines
3.7 KiB
JSON
143 lines
3.7 KiB
JSON
{
|
|
"name": "devchat",
|
|
"displayName": "devchat",
|
|
"description": "devchat",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.77.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./dist/extension.js",
|
|
"files": [
|
|
"dist/*",
|
|
"assets/*",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"contributes": {
|
|
"views": {
|
|
"explorer": [
|
|
{
|
|
"id": "chatPanel",
|
|
"name": "Chat with Bot"
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "devchat.openChatPanel",
|
|
"title": "DevChat"
|
|
},
|
|
{
|
|
"command": "devchat.addConext",
|
|
"title": "add to DevChat"
|
|
},
|
|
{
|
|
"command": "devchat.askForCode",
|
|
"title": "add to DevChat"
|
|
},
|
|
{
|
|
"command": "devchat.askForFile",
|
|
"title": "add to DevChat"
|
|
}
|
|
],
|
|
"menus": {
|
|
"explorer/context": [
|
|
{
|
|
"when": "resourceLangId != 'git'",
|
|
"command": "devchat.addConext",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"editor/context": [
|
|
{
|
|
"command": "devchat.askForCode",
|
|
"when": "editorTextFocus && editorHasSelection",
|
|
"group": "navigation",
|
|
"title": "add to DevChat"
|
|
},
|
|
{
|
|
"command": "devchat.askForFile",
|
|
"when": "editorTextFocus && !editorHasSelection",
|
|
"group": "navigation",
|
|
"title": "add to DevChat"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run package",
|
|
"compile": "webpack",
|
|
"watch": "webpack --watch",
|
|
"package": "webpack --mode production --devtool hidden-source-map",
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "node ./out/test/runTest.js",
|
|
"build": "webpack --config webpack.config.js",
|
|
"dev": "webpack serve --config webpack.config.js --open"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.8",
|
|
"@babel/preset-env": "^7.21.5",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.21.5",
|
|
"@types/glob": "^8.1.0",
|
|
"@types/jest": "^29.5.1",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "16.x",
|
|
"@types/react-dom": "^18.2.3",
|
|
"@types/shell-escape": "^0.2.1",
|
|
"@types/vscode": "^1.77.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
"@typescript-eslint/parser": "^5.56.0",
|
|
"@vscode/test-electron": "^2.3.0",
|
|
"babel-loader": "^9.1.2",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"css-loader": "^6.7.3",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "^8.36.0",
|
|
"file-loader": "^6.2.0",
|
|
"glob": "^8.1.0",
|
|
"html-webpack-plugin": "^5.5.1",
|
|
"jest": "^29.5.0",
|
|
"json-loader": "^0.5.7",
|
|
"mocha": "^10.2.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-redux": "^8.0.5",
|
|
"redux": "^4.2.1",
|
|
"style-loader": "^3.3.2",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-loader": "^9.4.2",
|
|
"typescript": "^4.9.5",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.76.3",
|
|
"webpack-cli": "^5.0.1",
|
|
"webpack-dev-server": "^4.13.3"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.10.8",
|
|
"@mantine/core": "^6.0.10",
|
|
"@mantine/dropzone": "^6.0.10",
|
|
"@mantine/hooks": "^6.0.10",
|
|
"@mantine/prism": "^6.0.10",
|
|
"@mantine/tiptap": "^6.0.10",
|
|
"@tabler/icons-react": "^2.17.0",
|
|
"@tiptap/extension-link": "^2.0.3",
|
|
"@tiptap/react": "^2.0.3",
|
|
"@tiptap/starter-kit": "^2.0.3",
|
|
"axios": "^1.3.6",
|
|
"node-fetch": "^3.3.1",
|
|
"nonce": "^1.0.4",
|
|
"openai": "^3.2.1",
|
|
"quote": "^0.4.0",
|
|
"shell-escape": "^0.2.0",
|
|
"uuid": "^9.0.0"
|
|
}
|
|
}
|