generated from arvinxx/vercel-serverless-api-template
-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
83 lines (83 loc) · 2.1 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
{
"name": "@lobehub/chat-plugins-gateway",
"version": "1.9.0",
"description": "Lobe Chat Plugin Market",
"repository": "https://github.com/lobehub/chat-plugins-gateway.git",
"author": "LobeHub <[email protected]>",
"sideEffects": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"ci": "npm run lint && npm run type-check && npm run doctor",
"doctor": "father doctor",
"lint": "eslint \"{src,api,docs}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --frail --output",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
"start": "vercel dev",
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:update": "vitest -u",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.md": [
"remark --quiet --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"eslint --fix"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": {
"@babel/runtime": "^7",
"@cfworker/json-schema": "^1",
"@lobehub/chat-plugin-sdk": "^1",
"ajv": "^8",
"swagger-client": "^3",
"zod": "^3"
},
"devDependencies": {
"@commitlint/cli": "^17",
"@lobehub/lint": "latest",
"@vercel/node": "^2",
"@vitest/coverage-v8": "0.34.6",
"commitlint": "^17",
"cross-env": "^7",
"eslint": "^8",
"father": "4.3.1",
"husky": "^8",
"lint-staged": "^13",
"prettier": "^3",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"typescript": "^5",
"vercel": "^32.7.1",
"vitest": "0.34.6"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}