forked from Azure-Samples/serverless-chat-langchainjs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
118 lines (118 loc) · 3.33 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
{
"name": "serverless-chat-langchainjs",
"version": "1.0.0",
"description": "Build your own serverless AI chat with Retrieval-Augmented-Generation using LangChain.js, TypeScript and Azure",
"private": true,
"type": "module",
"scripts": {
"start": "concurrently \"npm:start:*\" --kill-others",
"start:webapp": "npm run dev --workspace=webapp",
"start:api": "npm run start --workspace=api",
"build": "npm run build --workspaces --if-present",
"build:webapp": "npm run build --workspace=webapp",
"build:api": "npm run build --workspace=api",
"clean": "npm run clean --workspaces --if-present",
"upload:docs": "node scripts/upload-documents.js http://localhost:7071",
"lint": "xo",
"lint:fix": "xo --fix",
"format": "prettier --list-different --write .",
"prepare": "simple-git-hooks || echo 'simple-git-hooks install skipped'"
},
"repository": {
"type": "git",
"url": "https://github.com/Azure-Samples/serverless-chat-langchainjs.git"
},
"homepage": "https://github.com/Azure-Samples/serverless-chat-langchainjs",
"bugs": {
"url": "https://github.com/Azure-Samples/serverless-chat-langchainjs/issues"
},
"keywords": [
"langchainjs",
"chatbot",
"retrieval-augmented-generation",
"serverless",
"typescript",
"azure",
"azure-functions",
"azure-static-web-apps",
"azure-cosmos-db",
"mongodb"
],
"author": "Microsoft",
"license": "MIT",
"workspaces": [
"packages/*"
],
"devDependencies": {
"concurrently": "^8.2.2",
"lint-staged": "^15.2.2",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"xo": "^0.58.0"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,md,yaml,yml,html,css}": "prettier --write",
"*.{js,ts}": "xo --fix",
"packages/webapp/src/components/*.{js,ts}": "npx lit-analyzer"
},
"xo": {
"space": true,
"prettier": true,
"envs": [
"node"
],
"rules": {
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-floating-promises": "off",
"import/no-unassigned-import": "off",
"import/extensions": "off",
"n/prefer-global/process": "off",
"unicorn/prefer-module": "off",
"unicorn/no-new-array": "off",
"unicorn/prevent-abbreviations": [
"error",
{
"allowList": {
"combineDocsChain": true,
"env": true
}
}
]
}
},
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 120,
"bracketSpacing": true,
"overrides": [
{
"files": [
"*.json"
],
"options": {
"parser": "json"
}
}
]
}
}