-
Notifications
You must be signed in to change notification settings - Fork 128
/
package.json
80 lines (80 loc) · 2.31 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
{
"private": true,
"scripts": {
"clean": "rm -rf *.log */*.log */out node_modules vscode-client/node_modules server/node_modules",
"preinstall": "npx only-allow pnpm",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "pnpm lint:bail --fix",
"lint:bail": "eslint . --ext js,ts,tsx --cache",
"test": "jest --runInBand",
"test:coverage": "pnpm run test --coverage",
"test:watch": "pnpm run test --watch",
"verify": "pnpm lint && pnpm compile && pnpm run test",
"verify:bail": "pnpm lint:bail && pnpm compile && pnpm test:coverage",
"reinstall-server": "npm uninstall -g bash-language-server && pnpm compile && npm i -g ./server",
"link-server": "npm uninstall -g bash-language-server && pnpm compile && pnpm unlink --dir=vscode-client bash-language-server && cd server && pnpm link . && cd ../vscode-client && pnpm link bash-language-server",
"postinstall": "pnpm --dir=vscode-client install --ignore-workspace"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@types/node": "18.19.68",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-sort-class-members": "1.21.0",
"jest": "29.7.0",
"prettier": "2.8.8",
"ts-jest": "29.2.5",
"typescript": "5.6.3",
"vscode-languageserver": "8.0.2",
"vscode-languageserver-textdocument": "1.0.12"
},
"resolutions": {
"@types/vscode": "1.96.0"
},
"engines": {
"node": ">=16",
"pnpm": ">=9.x"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"clearMocks": true,
"moduleFileExtensions": [
"js",
"json",
"node",
"ts"
],
"modulePathIgnorePatterns": [
"<rootDir>/server/out",
"<rootDir>/vscode-client/out"
],
"transform": {
"\\.ts$": [
"ts-jest",
{
"tsconfig": "./server/tsconfig.json"
}
]
},
"testMatch": [
"<rootDir>/**/__tests__/*.ts"
],
"collectCoverageFrom": [
"**/*.ts",
"!**/__test__/*",
"!testing/*"
],
"coverageReporters": [
"text-summary",
"lcov",
"html"
]
}
}