138 lines
4.0 KiB
JSON
138 lines
4.0 KiB
JSON
{
|
|
"name": "cmake-intellisence",
|
|
"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"
|
|
},
|
|
"categories": [
|
|
"Programming Languages",
|
|
"Snippets",
|
|
"Formatters"
|
|
],
|
|
"publisher": "quanzhuo",
|
|
"icon": "images/icon.png",
|
|
"activationEvents": [
|
|
"onLanguage:cmake",
|
|
"workspaceContains:CMakeLists.txt"
|
|
],
|
|
"main": "./dist/client",
|
|
"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"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "cmake",
|
|
"path": "./snippets.json"
|
|
}
|
|
],
|
|
"configuration": [
|
|
{
|
|
"title": "CMake IntelliSence",
|
|
"properties": {
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run grammar && npm run package",
|
|
"compile": "npm run grammar && tsc -b . --verbose",
|
|
"webpack": "npm run grammar && npm run webpack-client && npm run webpack-server",
|
|
"package": "npm run package-client && npm run package-server",
|
|
"watch": "npm run grammar && tsc -watch -b . --verbose",
|
|
"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",
|
|
"webpack-client": "webpack --mode development --config webpack.config.client.js",
|
|
"webpack-server": "webpack --mode development --config webpack.config.server.js",
|
|
"package-client": "webpack --mode production --config webpack.config.client.js --devtool hidden-source-map",
|
|
"package-server": "webpack --mode production --config webpack.config.server.js --devtool hidden-source-map"
|
|
},
|
|
"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",
|
|
"mocha": "^10.0.0",
|
|
"ts-loader": "^9.4.1",
|
|
"typescript": "^4.8.4",
|
|
"webpack": "^5.74.0",
|
|
"webpack-cli": "^4.10.0"
|
|
}
|
|
}
|