-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 1.92 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": "use-transformers",
"type": "module",
"version": "0.0.10",
"packageManager": "[email protected]",
"description": "Easily use transformers.js with react in browser",
"author": "Brendan Dash <[email protected]> (https://aiwan.run)",
"license": "MIT",
"homepage": "https://github.com/Debbl/use-transformers#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Debbl/use-transformers.git"
},
"bugs": "https://github.com/Debbl/use-transformers/issues",
"keywords": [
"transformers",
"transformers.js",
"react",
"react-hooks",
"web-worker"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"test": "vitest",
"release": "pnpm build && bumpp && pnpm publish",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "simple-git-hooks"
},
"peerDependencies": {
"@huggingface/transformers": "^3.1.2",
"react": ">= 18",
"react-dom": ">= 18"
},
"dependencies": {
"birpc": "^0.2.19",
"use-rpc": "^0.0.3",
"use-rpc-worker": "^0.0.3"
},
"devDependencies": {
"@debbl/eslint-config": "^3.8.6",
"@huggingface/transformers": "^3.2.4",
"@types/node": "^22.10.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"bumpp": "^9.9.2",
"eslint": "^9.17.0",
"lint-staged": "^15.3.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}