build the structure of the extension

This commit is contained in:
Levi Yan
2024-06-27 01:20:37 +08:00
parent 3fbaa07bee
commit 95b7e3b32d
16 changed files with 1107 additions and 0 deletions

115
package.json Normal file
View File

@@ -0,0 +1,115 @@
{
"name": "superide",
"version": "0.0.1",
"publisher": "mengning",
"engines": {
"vscode": "^1.65.0"
},
"license": "Apache-2.0",
"displayName": "Super IDE",
"description": "",
"categories": [],
"keywords": [],
"main": "./dist/extension",
"icon": "assets/images/si-logo.png",
"bugs": {
"url": "https://gitee.com/SuperIDE/superide/issues"
},
"repository": {
"type": "git",
"url": "https://gitee.com/SuperIDE/superide.git"
},
"activationEvents": [
"onView:superide.quickAccess",
"onCommand:superide.showHome"
],
"contributes": {
"commands": [
{
"command": "superide.showHome",
"title": "SuperIDE Home",
"category": "Super IDE"
}
],
"menus": {
"file/newFile": [
{
"command": "superide.showHome",
"group": "navigation"
}
],
"touchBar": []
},
"viewsContainers": {
"activitybar": [
{
"id": "superide",
"title": "SuperIDE",
"icon": "assets/icons/si-activity-icon.svg"
}
]
},
"views": {
"superide": [
{
"id": "superide.quickAccess",
"name": "Quick Access",
"type": "tree"
}
]
},
"viewsWelcome": [
{
"view": "superide.quickAccess",
"contents": "welcome SuperIDE..."
}
],
"walkthroughs": [
{
"id": "superide.welcome",
"title": "Get started with Super IDE",
"description": "",
"steps": []
}
],
"configuration": {
"type": "object",
"title": "SuperIDE",
"properties": {
"superide.disableSuperIDEHomeStartup": {
"type": "boolean",
"default": false,
"description": "Disable showing SuperIDE Home at startup"
}
}
}
},
"scripts": {
"build": "webpack --mode production",
"lint": "eslint .eslintrc.js src",
"format": "prettier --single-quote --print-width 88 --write \"src/**/*.js\"",
"vscode:package": "webpack --mode production && vsce package"
},
"dependencies": {
"fs-plus": "~3.1.1"
},
"devDependencies": {
"@babel/core": "~7.21.3",
"@babel/eslint-parser": "~7.21.3",
"@babel/plugin-proposal-class-properties": "~7.18.6",
"@babel/preset-env": "~7.20.2",
"@types/node": "~14",
"@types/vscode": "~1.65.0",
"@vscode/vsce": "^2.29.0",
"babel-loader": "~9.1.2",
"eslint": "~8.36.0",
"eslint-import-resolver-webpack": "~0.13.2",
"eslint-plugin-import": "~2.27.5",
"prettier": "~2.8.4",
"webpack": "~5.76.2",
"webpack-cli": "~5.0.1"
},
"extensionDependencies": [
"ms-vscode.cpptools"
]
}