{
"name": "CJMP",
"displayName": "CJMP",
"description": "CJMP support for IDE",
"version": "0.2.2",
"publisher": "Language-VM-Lab",
"icon": "images/cjmp_icon.png",
"engines": {
"vscode": "^1.65.0"
},
"repository": {
"type": "git",
"url": "https://gitcode.com/CJMP/IDE-Plugins.git"
},
"categories": [
"Debuggers",
"Programming Languages",
"Snippets",
"Linters",
"Formatters",
"Testing"
],
"activationEvents": [
"workspaceContains:pubspec.yaml",
"workspaceContains:*/pubspec.yaml",
"workspaceContains:*/*/pubspec.yaml",
"onStartupFinished",
"onDebugResolve:keels",
"onDebugDynamicConfigurations:keels",
"onView:cjmp.devtools.view"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"panel": [
{
"id": "Devtools",
"title": "DevTools",
"icon": "$(browser)"
}
]
},
"commands": [
{
"command": "cjmp.createCjmpProject",
"title": "Create CJMP Project",
"category": "CJMP"
},
{
"command": "cjmp.build",
"title": "CJMP Build",
"category": "CJMP",
"icon": "$(debug-coverage)"
},
{
"command": "cjmp.selectDevice",
"category": "CJMP",
"title": "Select CJMP Device"
},
{
"command": "cjmp.launchEmulator",
"category": "CJMP",
"title": "CJMP Launch Emulator"
}
],
"menus": {
"commandPalette": [
{
"command": "cjmp.createCjmpProject",
"group": "navigation"
}
],
"editor/title": [
{
"command": "cjmp.build",
"group": "navigation@0"
}
]
},
"configuration": {
"type": "object",
"title": "CJMP Configuration",
"properties": {
"CJMP.sdkPath": {
"type": "string",
"default": "",
"description": "Path to the CJMP SDK."
}
}
},
"debuggers": [
{
"type": "keels",
"label": "Keels Debug",
"program": "./dist/extension.js",
"languages": [
"Cangjie"
],
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"default": "${workspaceFolder}/lib/index.cj"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch",
"default": true
},
"deviceId": {
"type": "string",
"description": "The ID of the device to launch your CJMP app on. If not supplied, will use the selected device shown in the status bar."
},
"remotePlatform": {
"type": "string",
"description": "The platform of the remote device."
}
}
}
},
"initialConfigurations": [
{
"type": "keels",
"request": "launch",
"name": "Custom Debug"
}
],
"configurationSnippets": [
{
"label": "Keels: Launch",
"description": "Launch and debug a CJMP app",
"body": {
"type": "keels",
"request": "launch",
"name": "Custom Debug"
}
}
]
}
]
},
"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",
"test": "vscode-test"
},
"devDependencies": {
"@types/ini": "^4.1.1",
"@types/lodash": "^4.17.16",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.23.0",
"ts-loader": "^9.5.2",
"typescript": "^5.8.2",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"ini": "^5.0.0",
"json5": "^2.2.3",
"lodash": "^4.17.21",
"strip-ansi": "^7.1.0",
"vsce": "^2.15.0",
"vscode-debugadapter": "^1.51.0",
"vscode-debugprotocol": "^1.51.0"
}
}