-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
58 lines (58 loc) · 2.35 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
{
"name": "@amzn/monorepo-language-servers",
"version": "1.0.0",
"description": "A monorepo for Language Servers for AWS",
"private": true,
"workspaces": [
"app/*",
"client/**",
"chat-client",
"core/*",
"server/*",
"server/**"
],
"scripts": {
"prepare": "husky .husky",
"lint": "eslint app/ chat-client/ client/ core/ script/ server/ --ext .ts,.tsx --ignore-path .gitignore && prettier --check .",
"check:formatting": "prettier --check .",
"format": "prettier --write .",
"format-staged": "npx pretty-quick --staged",
"clean": "ts-node ./script/clean.ts && npm run clean --workspaces --if-present && sh ./script/git-clean.sh",
"precompile": "npm run precompile --workspaces --if-present && npm run compile:core",
"compile": "tsc --build --verbose && npm run compile:core && npm run compile:servers && npm run compile:rest",
"compile:core": "npm run compile --workspace=core --if-present && npm run build --workspace=core --if-present",
"compile:servers": "npm run compile --workspace=server --if-present",
"compile:rest": "npm run compile --workspace app --workspace client --workspace chat-client --if-present",
"watch": "tsc --build --watch",
"test": "npm run compile && npm run test --workspaces --if-present",
"test-integ": "npm run compile && npm run test-integ --workspaces --if-present",
"test-unit": "npm run compile && npm run test-unit --workspaces --if-present",
"package": "npm run compile && npm run package --workspaces --if-present"
},
"dependencies": {
"typescript": "^5.5.3"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"eslint": "^8.42.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^9.1.1",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"shx": "^0.3.4",
"ts-node": "^10.9.1"
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 4,
"singleQuote": true,
"semi": false,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "lf"
}
}