-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
106 lines (106 loc) · 3.6 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
{
"name": "weaviate-client",
"version": "3.3.1",
"description": "JS/TS client for Weaviate",
"main": "dist/node/cjs/index.js",
"type": "module",
"exports": {
".": {
"types": {
"require": "./dist/node/cjs/index.d.ts",
"default": "./dist/node/esm/index.d.ts"
},
"default": {
"require": "./dist/node/cjs/index.js",
"default": "./dist/node/esm/index.js"
}
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"test": "jest --no-cache --useStderr --runInBand --detectOpenHandles",
"test:coverage": "npm run test -- --coverage",
"build": "npm run build:node",
"build:web": "tsup",
"build:cjs": "tsc --module commonjs --moduleResolution node10 --outDir dist/node/cjs && touch dist/node/cjs/package.json && echo '{\"type\": \"commonjs\"}' > dist/node/cjs/package.json",
"build:esm": "tsc --outDir dist/node/esm && touch dist/node/esm/package.json && echo '{\"type\": \"module\"}' > dist/node/esm/package.json",
"build:node": "npm run lint && npm run build:cjs && npm run build:esm && prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'",
"prepack": "npm run build",
"lint": "eslint --ext .ts,.js .",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --write --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",
"format:check": "prettier --check --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",
"format:dist": "prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'",
"schema": "./tools/refresh_schema.sh",
"protos": "./tools/refresh_protos.sh",
"docs": "typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --out docs/ src/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/weaviate/typescript-client.git"
},
"keywords": [
"weaviate"
],
"author": "Weaviate",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/weaviate/typescript-client/issues"
},
"homepage": "https://github.com/weaviate/typescript-client#readme",
"dependencies": {
"abort-controller-x": "^0.4.3",
"graphql": "^16.9.0",
"graphql-request": "^6.1.0",
"long": "^5.2.3",
"nice-grpc": "^2.1.10",
"nice-grpc-client-middleware-retry": "^3.1.9",
"nice-grpc-common": "^2.0.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.20.7",
"@curveball/bodyparser": "0.5.0",
"@curveball/core": "0.20.0",
"@curveball/kernel": "0.20.1",
"@rollup/plugin-babel": "^5.3.1",
"@testcontainers/weaviate": "^10.14.0",
"@types/express": "^4.17.21",
"@types/isomorphic-fetch": "^0.0.36",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.0",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-jest": "^29.4.3",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"express": "^4.19.2",
"grpc-tools": "^1.12.4",
"husky": "^8.0.3",
"jest": "^29.4.3",
"lint-staged": "^13.2.0",
"openapi-typescript": "^5.4.1",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^3.2.4",
"protobufjs": "^7.2.6",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.2",
"ts-proto": "^1.163.0",
"tsup": "^8.0.2",
"typedoc": "^0.25.12",
"typedoc-plugin-extras": "^3.0.0",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{ts,js}": [
"npm run format:check",
"npm run lint -- --cache"
]
}
}