mirror of
https://github.com/fluencelabs/aqua-vscode
synced 2025-03-15 22:00:52 +00:00
156 lines
5.3 KiB
JSON
156 lines
5.3 KiB
JSON
{
|
|
"name": "aqua",
|
|
"displayName": "Aqua",
|
|
"description": "Aqua language support powered by the Aqua Language Server",
|
|
"author": "Fluence Labs",
|
|
"version": "1.1.0",
|
|
"publisher": "FluenceLabs",
|
|
"icon": "icon.png",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/fluencelabs/aqua"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"keywords": [
|
|
"aqua vscode extension"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.63.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:aqua"
|
|
],
|
|
"main": "./client/out/extension",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "aqua",
|
|
"aliases": [
|
|
"aqua"
|
|
],
|
|
"extensions": [
|
|
".aqua"
|
|
],
|
|
"configuration": "./language-configurations/aqua.json"
|
|
},
|
|
{
|
|
"id": "air",
|
|
"aliases": [
|
|
"AIR"
|
|
],
|
|
"extensions": [
|
|
".air"
|
|
],
|
|
"configuration": "./language-configurations/air.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "aqua",
|
|
"scopeName": "source.aqua",
|
|
"path": "./syntaxes/aqua.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "air",
|
|
"scopeName": "source.air",
|
|
"path": "./syntaxes/air.tmLanguage.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Aqua",
|
|
"properties": {
|
|
"aquaSettings.imports": {
|
|
"definitions": {
|
|
"legacyImports": {
|
|
"description": "Legacy format of imports - just an array of paths",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"structuredImports": {
|
|
"description": "Structured format of imports - dict of settings for path prefixes",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"description": "Settings for path prefix - dict of locations for import prefixes",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"description": "Location for import prefix",
|
|
"type": [
|
|
"string",
|
|
"array"
|
|
],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scope": "resource",
|
|
"type": [
|
|
"object",
|
|
"array"
|
|
],
|
|
"if": {
|
|
"type": "object"
|
|
},
|
|
"then": {
|
|
"$ref": "#/definitions/structuredImports"
|
|
},
|
|
"else": {
|
|
"$ref": "#/definitions/legacyImports"
|
|
},
|
|
"default": {},
|
|
"description": "Adds imports for aqua file or project"
|
|
},
|
|
"aquaSettings.fluencePath": {
|
|
"scope": "resource",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"description": "Path to fluence CLI executable"
|
|
},
|
|
"aquaSettings.fluenceCallDelay": {
|
|
"scope": "resource",
|
|
"type": "number",
|
|
"default": 5000,
|
|
"description": "Minimal delay (ms) between calls to fluence CLI (for one file)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"before-tests": "bash integration-tests/before-tests.sh",
|
|
"test": "npm run compile && vscode-test",
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -b",
|
|
"watch": "tsc -b -w",
|
|
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/node16-strictest": "^1.0.1",
|
|
"@types/mocha": "^9.1.0",
|
|
"@types/node": "^14.17.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
"@typescript-eslint/parser": "^5.23.0",
|
|
"@vscode/test-cli": "^0.0.4",
|
|
"@vscode/test-electron": "^2.3.8",
|
|
"@types/vscode": "^1.63.0",
|
|
"eslint": "^8.15.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-standard": "^17.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-n": "^15.2.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"mocha": "^9.2.1",
|
|
"prettier": "2.6.2",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
} |