{ "name": "perlnavigator", "displayName": "Perl Navigator", "description": "Code navigation, autocompletion, syntax checking, and linting for Perl", "author": "bscan", "license": "MIT", "version": "0.4.1", "icon": "images/camel_icon.png", "repository": { "type": "git", "url": "https://github.com/bscan/PerlNavigator" }, "publisher": "bscan", "categories": [], "keywords": [ "multi-root ready" ], "engines": { "vscode": "^1.43.0" }, "activationEvents": [ "onLanguage:perl" ], "main": "./client/out/extension", "contributes": { "configuration": { "type": "object", "title": "Perl Navigator", "properties": { "perlnavigator.perlPath": { "scope": "resource", "type": "string", "default": "perl", "description": "Full path to the perl executable (no aliases, .bat files or ~/)" }, "perlnavigator.enableWarnings": { "scope": "resource", "type": "boolean", "default": true, "description": "Enable warnings using -Mwarnings command switch" }, "perlnavigator.perlimportsLintEnabled": { "scope": "resource", "type": "boolean", "default": false, "description": "Enable perlimports as a linter." }, "perlnavigator.perlimportsTidyEnabled": { "scope": "resource", "type": "boolean", "default": false, "description": "Enable perlimports as a tidier." }, "perlnavigator.perlimportsProfile": { "scope": "resource", "type": "string", "default": "", "description": "Path to perlimports.toml (no aliases, .bat files or ~/)" }, "perlnavigator.perltidyProfile": { "scope": "resource", "type": "string", "default": "", "description": "Path to perl tidy profile (no aliases, .bat files or ~/)" }, "perlnavigator.perltidyEnabled": { "scope": "resource", "type": "boolean", "default": true, "description": "Enable perl tidy." }, "perlnavigator.perlcriticProfile": { "scope": "resource", "type": "string", "default": "", "description": "Path to perl critic profile. Otherwise perlcritic itself will default to ~/.perlcriticrc. (no aliases, .bat files or ~/)" }, "perlnavigator.perlcriticEnabled": { "scope": "resource", "type": "boolean", "default": true, "description": "Enable perl critic." }, "perlnavigator.severity5": { "scope": "resource", "type": "string", "enum": [ "error", "warning", "info", "hint", "none" ], "default": "warning", "description": "Editor Diagnostic severity level for Critic severity 5" }, "perlnavigator.severity4": { "scope": "resource", "type": "string", "enum": [ "error", "warning", "info", "hint", "none" ], "default": "info", "description": "Editor Diagnostic severity level for Critic severity 4" }, "perlnavigator.severity3": { "scope": "resource", "type": "string", "enum": [ "error", "warning", "info", "hint", "none" ], "default": "hint", "description": "Editor Diagnostic severity level for Critic severity 3" }, "perlnavigator.severity2": { "scope": "resource", "type": "string", "enum": [ "error", "warning", "info", "hint", "none" ], "default": "hint", "description": "Editor Diagnostic severity level for Critic severity 2" }, "perlnavigator.severity1": { "scope": "resource", "type": "string", "enum": [ "error", "warning", "info", "hint", "none" ], "default": "hint", "description": "Editor Diagnostic severity level for Critic severity 1" }, "perlnavigator.includePaths": { "scope": "resource", "type": "array", "default": [], "description": "Array of paths added to @INC. You can use $workspaceFolder as a placeholder." }, "perlnavigator.includeLib": { "scope": "resource", "type": "boolean", "default": true, "description": "Boolean to indicate if $project/lib should be added to the path by default" }, "perlnavigator.logging": { "scope": "resource", "type": "boolean", "default": true, "description": "Log to stdout from the navigator. Viewable in the Perl Navigator LSP log" }, "perlnavigator.trace.server": { "scope": "window", "type": "string", "enum": [ "off", "messages", "verbose" ], "default": "messages", "description": "Traces the communication between VS Code and the language server." } } }, "grammars": [ { "injectTo": [ "source.perl" ], "scopeName": "source.perl.frameworks", "path": "./syntaxes/perl-scopes.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.moose", "path": "./syntaxes/moose.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.dataclass", "path": "./syntaxes/dataclass.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.objectpad", "path": "./syntaxes/object-pad.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.moops", "path": "./syntaxes/moops.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.zydeco", "path": "./syntaxes/zydeco.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.mars", "path": "./syntaxes/mars.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.async", "path": "./syntaxes/async.json" }, { "injectTo": [ "source.perl" ], "scopeName": "source.perl.package.funcparams", "path": "./syntaxes/funcparams.json" } ] }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -b", "watch": "tsc -b -w", "install-client": "cd client && npm install", "install-server": "cd server && npm install", "postinstall": "npm run-script install-client && npm run-script install-server", "ci-client": "cd client && npm ci", "ci-server": "cd server && npm ci", "ci-all": "npm ci && npm run ci-client && npm run ci-server", "clean": "rm -rf ./node-modules ./server/node-modules ./client/node-modules", "foo": "(cd client && npm ci && cd ../); (cd server && npm c )", "test": "sh ./scripts/e2e.sh", "build-binary": "tsc -b && pkg ." }, "devDependencies": { "@types/mocha": "^10.0.1", "@types/node": "^12.12.0", "@typescript-eslint/eslint-plugin": "^4.23.0", "@typescript-eslint/parser": "^4.23.0", "eslint": "^7.26.0", "mocha": "^10.1.0", "pkg": "^5.5.2", "typescript": "^4.2.3" }, "bin": "server/out/server.js", "pkg": { "scripts": "server/out/server.js", "assets": "server/src/**/*", "targets": [ "node14-linux-x64", "node14-macos-x64", "node14-win-x64" ], "outputPath": "dist" } }