-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.55 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.55 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@automatalabs/react-native-transformers",
"version": "0.1.6",
"description": "Use @huggingface/transformers in Expo and React Native apps through onnxruntime-react-native.",
"license": "MIT",
"author": "Automata Labs",
"homepage": "https://github.com/VikashLoomba/react-native-transformers#readme",
"bugs": {
"url": "https://github.com/VikashLoomba/react-native-transformers/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VikashLoomba/react-native-transformers.git"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"keywords": [
"expo",
"react-native",
"huggingface",
"transformers",
"onnxruntime",
"onnxruntime-react-native",
"mobile-ai",
"on-device-ai"
],
"scripts": {
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"build": "npm run clean && tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "eslint app.plugin.js app.plugin.ts eslint.config.mjs plugin src scripts types",
"check": "npm run check:transformers-peer && npm run lint && npm run typecheck && npm run build",
"check:transformers-peer": "node ./scripts/sync-transformers-peer.mjs",
"sync:transformers-peer": "node ./scripts/sync-transformers-peer.mjs --write",
"prepare": "npm run build",
"prepack": "npm run build",
"prepublishOnly": "npm run check",
"example": "npm --prefix example run start",
"example:ios": "npm --prefix example run ios"
},
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"react-native": "./dist/src/index.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"require": "./dist/src/index.js",
"default": "./dist/src/index.js"
},
"./metro": {
"types": "./dist/src/metro.d.ts",
"require": "./dist/src/metro.js",
"default": "./dist/src/metro.js"
},
"./plugin": {
"types": "./dist/plugin/src/index.d.ts",
"require": "./dist/plugin/src/index.js",
"default": "./dist/plugin/src/index.js"
},
"./transformers": {
"types": "./dist/src/transformers.d.ts",
"require": "./dist/src/transformers.js",
"default": "./dist/src/transformers.js"
},
"./adapter/onnxruntime-web-webgpu": {
"types": "./dist/src/adapter/onnxruntime-web-webgpu.d.ts",
"require": "./dist/src/adapter/onnxruntime-web-webgpu.js",
"default": "./dist/src/adapter/onnxruntime-web-webgpu.js"
},
"./app.plugin": {
"types": "./dist/app.plugin.d.ts",
"require": "./dist/app.plugin.js",
"default": "./dist/app.plugin.js"
},
"./app.plugin.js": "./app.plugin.js",
"./package.json": "./package.json"
},
"files": [
"dist",
"app.plugin.js",
"README.md",
"LICENSE"
],
"peerDependencies": {
"@huggingface/transformers": "^4.2.0",
"expo": "*",
"expo-file-system": "*",
"onnxruntime-react-native": ">=1.24.3 <2",
"react": "*",
"react-native": "*"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
},
"expo-file-system": {
"optional": true
}
},
"dependencies": {},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@huggingface/transformers": "^4.0.1",
"@types/node": "^25.5.2",
"@types/react": "^19.2.14",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"eslint": "^10.2.0",
"globals": "^17.4.0",
"onnxruntime-react-native": "^1.24.3",
"react": "^19.2.5",
"react-native": "^0.85.0",
"typescript": "^6.0.2"
}
}