-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
executable file
·137 lines (137 loc) · 4.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"author": "ndonfris",
"license": "Apache-2.0",
"name": "fish-lsp",
"version": "1.0.3",
"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": "https://github.com/ndonfris/fish-lsp.git"
},
"bin": "./bin/fish-lsp",
"main": "./out/out.js",
"typings": "./out/server.d.ts",
"scripts": {
"setup": "yarn run sh:setup",
"postinstall": "yarn run sh:build-wasm && yarn run sh:build-time && yarn run compile && yarn run sh:relink && yarn run sh:build-completions",
"sh:build-completions": "fish ./scripts/build-completions.fish",
"sh:build-logs": "fish ./scripts/build-logs.fish",
"sh:build-time": "fish ./scripts/build-time.fish",
"sh:setup": "fish ./scripts/setup.fish",
"sh:build-wasm": "fish ./scripts/build-fish-wasm.fish",
"sh:relink": "fish ./scripts/relink-locally.fish",
"pre:clean": "yarn exec rimraf lib *.tsbuildinfo out",
"clean": "yarn run pre:clean && yarn install",
"clean-nodemodules": "yarn rimraf out *.tsbuildinfo node_modules && yarn install",
"clean:all": "yarn exec rimraf out *.tsbuildinfo node_modules tree-sitter-fish.wasm",
"fresh": "yarn run clean:all && yarn install && yarn run setup",
"pretest-hook": "yarn clean:all && yarn install --ignore-scripts && yarn run sh:setup",
"test-hook": "yarn jest document.test.ts node-types.test.ts fish-syntax-node.test.ts exec.test.ts logger.test.ts parser.test.ts",
"test": "yarn jest --runInBand",
"compile": "yarn tsc -b",
"watch": "yarn tsc -b -w",
"refactor": "yarn knip",
"lint:verbose": "yarn run prelint && yarn eslint .",
"lint": "yarn eslint . --fix && yarn compile",
"prelint": "yarn clean:all && yarn install --ignore-scripts && yarn run sh:setup",
"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"
},
"man": "./docs/man/fish-lsp.1",
"enabledApiProposals": [
"inlineCompletions"
],
"eslintIgnore": [
"!.eslintrc.cjs"
],
"husky": {
"hooks": {
"pre-commit": "yarn run clean",
"post-merge": "yarn"
}
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
],
"modulePathIgnorePatterns": [
"<rootDir>/out"
],
"bail": 1,
"moduleNameMapper": {
"^completion/(.*)$": "<rootDir>/src/utils/completion/$1",
"^utils/(.*)$": "<rootDir>/src/utils/$1",
"^test-data/(.*)$": "<rootDir>/test-data/$1"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"transform": {
"^.+\\.ts?$": "ts-jest",
"^.+\\.js?$": "babel-jest"
},
"testRegex": "\\.test\\.ts$",
"testTimeout": 8000
},
"dependencies": {
"@esdmr/tree-sitter-fish": "^3.5.1",
"colors": "^1.4.0",
"commander": "^12.0.0",
"deepmerge": "^4.3.1",
"fs-extra": "11.2.0",
"husky": "^9.0.11",
"lua-json": "^1.0.1",
"marked-man": "^1.3.5",
"tree-sitter": "^0.21.0",
"ts-jest": "^29.1.2",
"tsc": "^2.0.4",
"typescript": "*",
"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.5"
},
"peerDependencies": {
"typescript": "^5.4.3"
},
"devDependencies": {
"@tsconfig/node-lts": "^20.1.3",
"@types/chai": "^4.3.14",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/lua-json": "^1.0.3",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.4.0",
"all-contributors-cli": "^6.26.1",
"chai": "^5.1.0",
"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",
"fast-glob": "^3.3.2",
"jest": "^29.7.0",
"knip": "^5.7.0",
"pkg": "^5.8.1",
"rimraf": "^5.0.5",
"tree-sitter-cli": "^0.22.2",
"tree-sitter-fish": "https://github.com/ram02z/tree-sitter-fish"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}