mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-16 22:52:41 +03:00
0fc96368d3
The vscode library is deprecated in favor of @types/vscode. See https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode This also add vsce as a devDependency, so you don't need to install it globally. Instead you can run it via npm run vscepackage. This simplifies the README (or future "hacking" instructions when the extension is published)
70 lines
1.5 KiB
JSON
70 lines
1.5 KiB
JSON
{
|
|
"name": "ghcide",
|
|
"displayName": "ghcide",
|
|
"publisher": "digitalasset",
|
|
"repository": {
|
|
"type" : "git",
|
|
"url" : "https://github.com/digitalasset/daml.git"
|
|
},
|
|
"description": "A simple extension to test out haskell ide core",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.35.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:haskell"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"languages": [{
|
|
"id": "haskell",
|
|
"extensions": [
|
|
"hs",
|
|
"hs-boot",
|
|
"lhs-boot",
|
|
"lhs"
|
|
]
|
|
}],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Haskell IDE Core Configuration",
|
|
"properties": {
|
|
"hic.executablePath": {
|
|
"type": "string",
|
|
"default": "ghcide",
|
|
"description": "The location of your ghcide executable"
|
|
},
|
|
"hic.arguments": {
|
|
"type": "string",
|
|
"default": "--lsp",
|
|
"description": "The arguments you would like to pass to the executable"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"test": "npm run compile && node ./node_modules/vscode/bin/test",
|
|
"vscepackage": "vsce package"
|
|
},
|
|
"extensionDependencies": [
|
|
"justusadam.language-haskell"
|
|
],
|
|
"dependencies": {
|
|
"vscode-languageclient": "^4.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^2.2.42",
|
|
"@types/node": "^10.12.21",
|
|
"@types/vscode": "1.35.0",
|
|
"tslint": "^5.12.1",
|
|
"typescript": "^3.3.1",
|
|
"vsce": "^1.66.0"
|
|
}
|
|
}
|