UNPKG

fish-lsp

Version:

LSP implementation for fish/fish-shell

185 lines 4.92 kB
{ "author": "ndonfris", "license": "MIT", "name": "fish-lsp", "version": "1.0.8-4", "description": "LSP implementation for fish/fish-shell", "keywords": [ "lsp", "fish", "fish-shell", "language-server-protocol", "language-server" ], "homepage": "https://fish-lsp.dev", "repository": { "type": "git", "url": "git+https://github.com/ndonfris/fish-lsp.git" }, "bin": { "fish-lsp": "bin/fish-lsp" }, "man": "./docs/man/fish-lsp.1", "engines": { "node": ">=18.0.0" }, "directories": { "bin": "./bin/fish-lsp", "man": "./docs/man/" }, "files": [ "tree-sitter-fish.wasm", "package.json", "out", "src", "docs/MAN_FILE.md", "docs/man/fish-lsp.1", "bin", "scripts", "fish_files", "tsconfig.json", "README.md", "LICENSE.md" ], "scripts": { "prepare": "husky", "setup": "run-s sh:build-time sh:build-wasm compile sh:relink sh:build-completions", "dev": "run-s setup compile", "dev:watch": "run-s setup watch", "postinstall": "run-s sh:build-time", "prepack": "run-s lint:check generate-man-page sh:build-wasm compile", "compile": "tsc -b", "watch": "tsc -b -w", "sh:build-completions": "fish ./scripts/build-completions.fish", "sh:build-time": "fish ./scripts/build-time.fish", "sh:build-wasm": "fish ./scripts/build-fish-wasm.fish", "sh:relink": "fish ./scripts/relink-locally.fish", "sh:build-release": "fish ./scripts/build-release.fish", "clean": "rimraf out node_modules .tsbuildinfo", "clean:all": "rimraf out .tsbuildinfo node_modules tree-sitter-fish.wasm logs.txt build", "clean:build": "rimraf build .tsbuildinfo *.tgz", "test": "env -i HOME=$HOME PATH=$PATH NODE_ENV=test jest", "refactor": "knip", "lint:check": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix ", "lint:check-fix": "eslint . --ext .ts --fix-dry-run", "generate-man-page": "mkdir -p ./docs/man && cat docs/MAN_FILE.md | npx marked-man --date \"$(date +'%e %B %+4Y')\" --manual fish-lsp --section 1 --name fish-lsp > ./docs/man/fish-lsp.1" }, "enabledApiProposals": [ "inlineCompletions" ], "lint-staged": { "**/*.ts": [ "eslint --fix" ] }, "eslintIgnore": [ "!.eslintrc.cjs" ], "contributes": { "commands": [ { "command": "fish-lsp.createTheme", "title": "create a new theme" }, { "command": "fish-lsp.executeBuffer", "title": "execute the buffer" }, { "command": "fish-lsp.execute", "title": "execute the buffer" }, { "command": "fish-lsp.executeLine", "title": "execute the line" } ] }, "dependencies": { "commander": "^12.0.0", "deepmerge": "^4.3.1", "fast-glob": "^3.3.2", "husky": "^9.0.11", "npm-run-all": "^4.1.5", "tree-sitter": "^0.21.0", "vscode-languageserver": "^9.0.1", "vscode-languageserver-protocol": "3.17.5", "vscode-languageserver-textdocument": "1.0.11", "vscode-uri": "^3.0.8", "web-tree-sitter": "^0.22.2", "zod": "^3.23.6" }, "devDependencies": { "@commitlint/cli": "^19.6.0", "@commitlint/config-conventional": "^19.6.0", "@esdmr/tree-sitter-fish": "3.5.2-0", "@tsconfig/node-lts": "^20.1.3", "@types/jest": "^29.5.12", "@types/node": "^20.11.30", "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^7.4.0", "all-contributors-cli": "^6.26.1", "eslint": "^8.0.1", "eslint-config-love": "^44.0.0", "eslint-plugin-import": "^2.25.2", "eslint-plugin-n": "^15.0.0", "eslint-plugin-promise": "^6.0.0", "jest": "^29.7.0", "knip": "^5.7.0", "lint-staged": "^15.2.7", "marked-man": "^1.3.5", "pinst": "^3.0.0", "rimraf": "^5.0.5", "tree-sitter-cli": "^0.22.2", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tsc": "^2.0.4", "typescript": "5.5.4" }, "pkg": { "scripts": [ "bin/fish-lsp", "out/**/*" ], "assets": [ "tree-sitter-fish.wasm", "fish_files/**/*", "out/build-time.txt", "scripts/**/*", "docs/man/fish-lsp.1", "package.json" ], "ignore": [ "**/*.d.ts", "**/*.map", "**/*.test.js", "**/*.spec.js", "**/fish-lsp*.tgz", "**/*.tsbuildinfo", "**/*.npmignore", "renovate.json", "tsconfig*.json", "src/**/*", ".all-contributorsrc", ".eslintrc.cjs", ".gitattributes", ".editorconfig", ".github/**", ".gitignore", "LICENSE.md", "README.md", "jest-config.js", "yarn.lock", ".nvmrc", ".git/**" ], "targets": [ "linux-x64", "linux-arm64", "macos-x64", "macos-arm64" ], "outputPath": "build" } }