-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
107 lines (107 loc) · 2.77 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
{
"name": "react-native-transformers",
"version": "1.0.0-alpha.0",
"description": "Run LLM from huggingface on react-native and Expo locally with onnxruntime.",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
"types": "./lib/typescript/index.d.ts",
"exports": {
".": {
"types": "./lib/typescript/index.d.ts",
"import": "./lib/module/index.js",
"require": "./lib/commonjs/index.js"
}
},
"scripts": {
"example": "yarn workspace react-native-transformers-example",
"test": "jest --coverage",
"lint": "eslint . --fix",
"prepare": "bob build",
"release": "release-it",
"docs": "typedoc src/index.tsx"
},
"keywords": [
"react-native",
"onnxruntime",
"transformers"
],
"repository": {
"type": "git",
"url": "git+https://github.com/daviddaytw/react-native-transformers.git"
},
"author": "David Day <[email protected]> (https://github.com/daviddaytw)",
"license": "MIT",
"bugs": {
"url": "https://github.com/daviddaytw/react-native-transformers/issues"
},
"homepage": "https://github.com/daviddaytw/react-native-transformers#readme",
"peerDependencies": {
"onnxruntime-react-native": "*",
"react": "*",
"react-native": "*"
},
"dependencies": {
"@xenova/transformers": "^2.17.2",
"babel-plugin-transform-import-meta": "^2.2.1",
"text-encoding-polyfill": "^0.6.7"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-class-properties": "^7.25.9",
"@babel/plugin-transform-private-methods": "^7.25.9",
"@babel/plugin-transform-private-property-in-object": "^7.25.9",
"@react-native/eslint-config": "^0.74.85",
"@release-it/conventional-changelog": "^8.0.1",
"@tsconfig/react-native": "^3.0.5",
"@types/jest": "^29.5.12",
"@types/react": "~18.2.45",
"@types/react-test-renderer": "^18.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"onnxruntime-react-native": "^1.18.0",
"prettier": "^3.3.3",
"react": "^18.2.0",
"react-native": "^0.74.3",
"react-native-builder-bob": "^0.28.1",
"release-it": "^17.6.0",
"typedoc": "^0.26.7",
"typescript": "^5.1.3"
},
"workspaces": [
"example"
],
"packageManager": "[email protected]",
"module": "./lib/module/index.js",
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
"typescript"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}