cmake-intellisence/package.json

132 lines
3.5 KiB
JSON
Raw Normal View History

2022-08-19 16:13:03 +08:00
{
2022-08-30 18:55:32 +08:00
"name": "cmake-intellisence",
2022-08-19 16:13:03 +08:00
"displayName": "CMake IntelliSence",
"description": "CMake IntelliSence for Visual Studio Code",
"version": "0.0.1",
"engines": {
"vscode": "^1.68.0"
},
"repository": {
"type": "git",
"url": "https://gitee.com/openkylin/cmake-intellisence"
},
2022-08-19 16:13:03 +08:00
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
2022-08-19 16:13:03 +08:00
],
"activationEvents": [
"onLanguage:cmake",
"workspaceContains:CMakeLists.txt"
2022-08-19 16:13:03 +08:00
],
"main": "./client/out/extension",
2022-08-19 16:13:03 +08:00
"contributes": {
"grammars": [
{
"language": "cmake",
"scopeName": "source.cmake",
"path": "./syntaxes/cmake.tmLanguage.json"
},
{
"language": "cmakecache",
"scopeName": "source.cmakecache",
"path": "./syntaxes/cmakecache.tmLanguage.json"
},
{
"language": "cmdsignature",
"scopeName": "source.cmdsignature",
"path": "./syntaxes/cmdsignature.tmLanguage.json"
}
],
"languages": [
{
"id": "cmake",
"extensions": [
".cmake"
],
"filenames": [
"CMakeLists.txt"
],
"aliases": [
"CMake"
],
"configuration": "./language-configuration.json"
},
{
"id": "cmakecache",
"filenames": [
"CMakeCache.txt"
],
"aliases": [
"CMakeCache"
]
},
{
"id": "cmdsignature"
}
2022-08-24 12:30:14 +08:00
],
"snippets": [
{
"language": "cmake",
"path": "./snippets.json"
}
2022-08-30 18:55:32 +08:00
],
"configuration": [
2022-08-30 18:55:32 +08:00
{
"title": "CMake IntelliSence",
"properties": {
"cmakeIntelliSence.languageServerPath": {
"type": "string",
"default": "cmakels",
"description": "Path to CMake Language Server"
2022-09-03 11:03:41 +08:00
},
"cmakeIntelliSence.loggingLevel": {
"type": "string",
"enum": [
"Off",
"Error",
"Warnning",
"Info",
"Debug"
],
"default": "Info",
"markdownDescription": "Control the logging level"
},
"cmakeIntelliSence.trace.server": {
"type": "string",
"enum": [
"verbose",
"message",
"off"
],
"default": "verbose"
2022-08-30 18:55:32 +08:00
}
}
}
2022-08-19 16:13:03 +08:00
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npm run grammar && tsc -b . --verbose",
"watch": "npm run grammar && tsc -watch -b . --verbose",
2022-08-19 16:13:03 +08:00
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"grammar-cmake": "npx js-yaml ./syntaxes/cmake.tmLanguage.yml > ./syntaxes/cmake.tmLanguage.json",
"grammar-cmakecache": "npx js-yaml ./syntaxes/cmakecache.tmLanguage.yml > ./syntaxes/cmakecache.tmLanguage.json",
"grammar-cmdsignature": "npx js-yaml ./syntaxes/cmdsignature.tmLanguage.yml > ./syntaxes/cmdsignature.tmLanguage.json",
"grammar": "node ./build/yaml-to-json.mjs"
2022-08-19 16:13:03 +08:00
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"js-yaml": "^4.1.0",
2022-08-19 16:13:03 +08:00
"mocha": "^10.0.0",
"typescript": "^4.8.4"
2022-08-19 16:13:03 +08:00
}
}