openhab-vscode/client/package.json

31 lines
944 B
JSON
Raw Normal View History

Local LSP server that improves functionality like item completion (#122) * Initial commit with LSP from MS examples * Code quality fixes * added remote LSP server to run parallel to local LSP server * removed lspEnabled check as its done in extension already * Removed completion from REST * removed comments * Turned Server into a class and extracted validation * Removed log output * WIP: Added items completion in LSP server Items are taken from REST API at start and are getting cached in LSP Server. Their values are updated from SSE (/rest/events). When Items are added or removed the cache is updated. So now we have a very responsive completion list. * Code quality changes * made code more robust * Added parsing of StateChange and uItemUdate events * Fixed wrongly called cb(error) * removed log output * Cleaned up validation to not return anything * Cleaned up and added bit more docs * Fixed capital letter of class in import - worked on win but not in linux * Same as before * Removed unused getter * Code Quality * Moved @types dependencies to root package.json and cleaned up tsconfig files * Test commit for sign off * Added author in docs * Added pure JS impl of server and wrote tests with jest Coverage is not goot yet, ItemCompletionProvider and Item still miss some tests. Other files are good already. * Added more tests, use of preomise instead of callbacks in completionitem * Moved tests to unit folder * Added more tests * Cleaned up and removed TS impl * Fixed compile problems by increasing vscode version * Fallback to empty array if no items map is present * More tests * Improved npm scripts npm run build builds a .vsix npm run publish publishes the extension both commands run tests before to make sure a working version is built/deployed * use bind() instead of anonymous function * improved scripts * Renamed config properties and removed useRestCompletions as its not needed anymre * changed config in remote language client * removed TODO comment * added changelog and fixed description for settings * fixed typo * Removed commented code Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2019-01-11 10:01:45 +00:00
{
"name": "openhab-vscode-extension",
"displayName": "openHAB Visual Studio Code Extension - Client Part",
Local LSP server that improves functionality like item completion (#122) * Initial commit with LSP from MS examples * Code quality fixes * added remote LSP server to run parallel to local LSP server * removed lspEnabled check as its done in extension already * Removed completion from REST * removed comments * Turned Server into a class and extracted validation * Removed log output * WIP: Added items completion in LSP server Items are taken from REST API at start and are getting cached in LSP Server. Their values are updated from SSE (/rest/events). When Items are added or removed the cache is updated. So now we have a very responsive completion list. * Code quality changes * made code more robust * Added parsing of StateChange and uItemUdate events * Fixed wrongly called cb(error) * removed log output * Cleaned up validation to not return anything * Cleaned up and added bit more docs * Fixed capital letter of class in import - worked on win but not in linux * Same as before * Removed unused getter * Code Quality * Moved @types dependencies to root package.json and cleaned up tsconfig files * Test commit for sign off * Added author in docs * Added pure JS impl of server and wrote tests with jest Coverage is not goot yet, ItemCompletionProvider and Item still miss some tests. Other files are good already. * Added more tests, use of preomise instead of callbacks in completionitem * Moved tests to unit folder * Added more tests * Cleaned up and removed TS impl * Fixed compile problems by increasing vscode version * Fallback to empty array if no items map is present * More tests * Improved npm scripts npm run build builds a .vsix npm run publish publishes the extension both commands run tests before to make sure a working version is built/deployed * use bind() instead of anonymous function * improved scripts * Renamed config properties and removed useRestCompletions as its not needed anymre * changed config in remote language client * removed TODO comment * added changelog and fixed description for settings * fixed typo * Removed commented code Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2019-01-11 10:01:45 +00:00
"description": "Robust tool for openHAB textual configurations. Includes code snippets, syntax highlighting, language server integration and more.",
"version": "0.8.0",
Local LSP server that improves functionality like item completion (#122) * Initial commit with LSP from MS examples * Code quality fixes * added remote LSP server to run parallel to local LSP server * removed lspEnabled check as its done in extension already * Removed completion from REST * removed comments * Turned Server into a class and extracted validation * Removed log output * WIP: Added items completion in LSP server Items are taken from REST API at start and are getting cached in LSP Server. Their values are updated from SSE (/rest/events). When Items are added or removed the cache is updated. So now we have a very responsive completion list. * Code quality changes * made code more robust * Added parsing of StateChange and uItemUdate events * Fixed wrongly called cb(error) * removed log output * Cleaned up validation to not return anything * Cleaned up and added bit more docs * Fixed capital letter of class in import - worked on win but not in linux * Same as before * Removed unused getter * Code Quality * Moved @types dependencies to root package.json and cleaned up tsconfig files * Test commit for sign off * Added author in docs * Added pure JS impl of server and wrote tests with jest Coverage is not goot yet, ItemCompletionProvider and Item still miss some tests. Other files are good already. * Added more tests, use of preomise instead of callbacks in completionitem * Moved tests to unit folder * Added more tests * Cleaned up and removed TS impl * Fixed compile problems by increasing vscode version * Fallback to empty array if no items map is present * More tests * Improved npm scripts npm run build builds a .vsix npm run publish publishes the extension both commands run tests before to make sure a working version is built/deployed * use bind() instead of anonymous function * improved scripts * Renamed config properties and removed useRestCompletions as its not needed anymre * changed config in remote language client * removed TODO comment * added changelog and fixed description for settings * fixed typo * Removed commented code Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2019-01-11 10:01:45 +00:00
"publisher": "openhab",
"icon": "../openhab.png",
"repository": {
"type": "git",
"url": "https://github.com/openhab/openhab-vscode.git"
},
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.37.0"
Local LSP server that improves functionality like item completion (#122) * Initial commit with LSP from MS examples * Code quality fixes * added remote LSP server to run parallel to local LSP server * removed lspEnabled check as its done in extension already * Removed completion from REST * removed comments * Turned Server into a class and extracted validation * Removed log output * WIP: Added items completion in LSP server Items are taken from REST API at start and are getting cached in LSP Server. Their values are updated from SSE (/rest/events). When Items are added or removed the cache is updated. So now we have a very responsive completion list. * Code quality changes * made code more robust * Added parsing of StateChange and uItemUdate events * Fixed wrongly called cb(error) * removed log output * Cleaned up validation to not return anything * Cleaned up and added bit more docs * Fixed capital letter of class in import - worked on win but not in linux * Same as before * Removed unused getter * Code Quality * Moved @types dependencies to root package.json and cleaned up tsconfig files * Test commit for sign off * Added author in docs * Added pure JS impl of server and wrote tests with jest Coverage is not goot yet, ItemCompletionProvider and Item still miss some tests. Other files are good already. * Added more tests, use of preomise instead of callbacks in completionitem * Moved tests to unit folder * Added more tests * Cleaned up and removed TS impl * Fixed compile problems by increasing vscode version * Fallback to empty array if no items map is present * More tests * Improved npm scripts npm run build builds a .vsix npm run publish publishes the extension both commands run tests before to make sure a working version is built/deployed * use bind() instead of anonymous function * improved scripts * Renamed config properties and removed useRestCompletions as its not needed anymre * changed config in remote language client * removed TODO comment * added changelog and fixed description for settings * fixed typo * Removed commented code Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2019-01-11 10:01:45 +00:00
},
"scripts": {
"test": "echo \"No tests in client yet!\""
},
"dependencies": {
"ascii-table": "0.0.9",
"copy-paste": "^1.3.0",
"lodash": "^4.17.20",
"request": "^2.88.2",
"request-promise-native": "^1.0.9",
"vscode-languageclient": "6.0.0-next.1"
},
"devDependencies": {
"@types/vscode": "^1.14.0"
Local LSP server that improves functionality like item completion (#122) * Initial commit with LSP from MS examples * Code quality fixes * added remote LSP server to run parallel to local LSP server * removed lspEnabled check as its done in extension already * Removed completion from REST * removed comments * Turned Server into a class and extracted validation * Removed log output * WIP: Added items completion in LSP server Items are taken from REST API at start and are getting cached in LSP Server. Their values are updated from SSE (/rest/events). When Items are added or removed the cache is updated. So now we have a very responsive completion list. * Code quality changes * made code more robust * Added parsing of StateChange and uItemUdate events * Fixed wrongly called cb(error) * removed log output * Cleaned up validation to not return anything * Cleaned up and added bit more docs * Fixed capital letter of class in import - worked on win but not in linux * Same as before * Removed unused getter * Code Quality * Moved @types dependencies to root package.json and cleaned up tsconfig files * Test commit for sign off * Added author in docs * Added pure JS impl of server and wrote tests with jest Coverage is not goot yet, ItemCompletionProvider and Item still miss some tests. Other files are good already. * Added more tests, use of preomise instead of callbacks in completionitem * Moved tests to unit folder * Added more tests * Cleaned up and removed TS impl * Fixed compile problems by increasing vscode version * Fallback to empty array if no items map is present * More tests * Improved npm scripts npm run build builds a .vsix npm run publish publishes the extension both commands run tests before to make sure a working version is built/deployed * use bind() instead of anonymous function * improved scripts * Renamed config properties and removed useRestCompletions as its not needed anymre * changed config in remote language client * removed TODO comment * added changelog and fixed description for settings * fixed typo * Removed commented code Signed-off-by: Samuel Brucksch <sasliga@freenet.de> (github: SamuelBrucksch)
2019-01-11 10:01:45 +00:00
}
}