2022-08-19 16:13:03 +08:00
|
|
|
{
|
|
|
|
"name": "cmake-ls",
|
|
|
|
"displayName": "CMake IntelliSence",
|
|
|
|
"description": "CMake IntelliSence for Visual Studio Code",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.68.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
2022-08-23 16:50:59 +08:00
|
|
|
"Programming Languages",
|
|
|
|
"Snippets",
|
|
|
|
"Formatters"
|
2022-08-19 16:13:03 +08:00
|
|
|
],
|
|
|
|
"activationEvents": [
|
2022-08-23 16:50:59 +08:00
|
|
|
"onCommand:cmake-ls.helloWorld",
|
|
|
|
"onLanguage:cmake",
|
|
|
|
"workspaceContains:CMakeLists.txt"
|
2022-08-19 16:13:03 +08:00
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "cmake-ls.helloWorld",
|
|
|
|
"title": "Hello World"
|
|
|
|
}
|
2022-08-23 16:50:59 +08:00
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "cmake",
|
|
|
|
"scopeName": "source.cmake",
|
|
|
|
"path": "./syntaxes/cmake.tmLanguage.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "cmakecache",
|
|
|
|
"scopeName": "source.cmakecache",
|
|
|
|
"path": "./syntaxes/cmakecache.tmLanguage.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "cmake",
|
|
|
|
"extensions": [
|
|
|
|
".cmake"
|
|
|
|
],
|
|
|
|
"filenames": [
|
|
|
|
"CMakeLists.txt"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"CMake"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cmakecache",
|
|
|
|
"filenames": [
|
|
|
|
"CMakeCache.txt"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"CMakeCache"
|
|
|
|
]
|
|
|
|
}
|
2022-08-19 16:13:03 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run compile",
|
2022-08-23 16:50:59 +08:00
|
|
|
"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": "npm run grammar-cmake && npm run grammar-cmakecache",
|
|
|
|
"compile": "npm run grammar && tsc -p ./",
|
|
|
|
"watch": "npm run grammar && tsc -watch -p ./",
|
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"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/glob": "^7.2.0",
|
|
|
|
"@types/mocha": "^9.1.1",
|
|
|
|
"@types/node": "16.x",
|
2022-08-23 16:50:59 +08:00
|
|
|
"@types/vscode": "^1.68.0",
|
2022-08-19 16:13:03 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
|
|
"@typescript-eslint/parser": "^5.31.0",
|
2022-08-23 16:50:59 +08:00
|
|
|
"@vscode/test-electron": "^2.1.5",
|
2022-08-19 16:13:03 +08:00
|
|
|
"eslint": "^8.20.0",
|
|
|
|
"glob": "^8.0.3",
|
2022-08-23 16:50:59 +08:00
|
|
|
"js-yaml": "^4.1.0",
|
2022-08-19 16:13:03 +08:00
|
|
|
"mocha": "^10.0.0",
|
2022-08-23 16:50:59 +08:00
|
|
|
"typescript": "^4.7.4"
|
2022-08-19 16:13:03 +08:00
|
|
|
}
|
|
|
|
}
|