forked from jonrhall/openai-streaming-hooks
/
package.json
56 lines (56 loc) · 1.64 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
{
"name": "openai-streaming-hooks-chrome-fix",
"version": "3.0.0",
"description": "React Hooks for streaming connections to OpenAI APIs - this is a fork of the original package with a fix for the chrome browser",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/Rvey/openai-streaming-hooks"
},
"scripts": {
"lint": "eslint src/ --ext .ts",
"build": "tsc",
"clean": "rm -rf node_modules/ dist/ coverage/",
"prepare": "npm run build",
"example": "vite serve example",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"prettier": "prettier --write ."
},
"keywords": ["react", "react-hooks", "openai"],
"author": "jonrhall",
"contributors": [
{
"name": "Michael Flohr",
"url": "https://github.com/MatchuPitchu"
}
],
"license": "MIT",
"dependencies": {
"react": "^18.2.0",
"web-streams-polyfill": "^3.2.1"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@types/react": "^18.0.29",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.31.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"jsdom": "^21.1.1",
"prettier": "2.8.8",
"react-dom": "^18.2.0",
"typescript": "^5.0.2",
"vite": "^4.2.1",
"vitest": "^0.31.0"
}
}