UNPKG

2.97 kBJSONView Raw
1{
2 "name": "@visheratin/web-ai",
3 "version": "1.2.3",
4 "description": "Run modern deep learning models in the browser.",
5 "files": [
6 "browser/**/*.d.ts",
7 "browser/**/*.js",
8 "browser/**/*.js.map",
9 "common/**/*.d.ts",
10 "common/**/*.js",
11 "common/**/*.js.map",
12 "image/**/*.d.ts",
13 "image/**/*.js",
14 "image/**/*.js.map",
15 "multimodal/**/*.d.ts",
16 "multimodal/**/*.js",
17 "multimodal/**/*.js.map",
18 "text/**/*.d.ts",
19 "text/**/*.js",
20 "text/**/*.js.map",
21 "common.js",
22 "common.js.map",
23 "common.d.ts",
24 "image.js",
25 "image.js.map",
26 "image.d.ts",
27 "index.js",
28 "index.js.map",
29 "index.d.ts",
30 "multimodal.js",
31 "multimodal.js.map",
32 "multimodal.d.ts",
33 "text.js",
34 "text.js.map",
35 "text.d.ts"
36 ],
37 "exports": {
38 ".": {
39 "types": "./index.d.ts",
40 "import": "./index.js"
41 },
42 "./common": {
43 "types": "./common.d.ts",
44 "import": "./common.js"
45 },
46 "./image": {
47 "types": "./image.d.ts",
48 "import": "./image.js"
49 },
50 "./multimodal": {
51 "types": "./multimodal.d.ts",
52 "import": "./multimodal.js"
53 },
54 "./text": {
55 "types": "./text.d.ts",
56 "import": "./text.js"
57 },
58 "./package.json": "./package.json"
59 },
60 "scripts": {
61 "build": "npm run build:browser && npm run build:node",
62 "build:browser": "bash build-browser.sh",
63 "build:node": "bash build-node.sh",
64 "lint": "eslint \"**/*.ts*\"",
65 "publish": "cd build-browser && npm publish && cd ../build-node && npm publish"
66 },
67 "dependencies": {
68 "comlink": "4.3.1",
69 "localforage": "1.10.0",
70 "onnxruntime-common": "1.15.1",
71 "pako": "2.1.0"
72 },
73 "peerDependencies": {
74 "@visheratin/tokenizers": "0.1.5",
75 "@visheratin/tokenizers-node": "0.1.5",
76 "jimp": "0.16.2",
77 "node-fetch": "2.6.12",
78 "onnxruntime-node": "1.15.1",
79 "onnxruntime-web": "1.15.1"
80 },
81 "peerDependenciesMeta": {
82 "jimp": {
83 "optional": true
84 },
85 "onnxruntime-web": {
86 "optional": true
87 },
88 "onnxruntime-node": {
89 "optional": true
90 },
91 "@visheratin/tokenizers": {
92 "optional": true
93 },
94 "@visheratin/tokenizers-node": {
95 "optional": true
96 },
97 "node-fetch": {
98 "optional": true
99 }
100 },
101 "devDependencies": {
102 "@types/node": "^20.3.3",
103 "@types/node-fetch": "^2.6.4",
104 "@types/pako": "^2.0.0",
105 "@typescript-eslint/eslint-plugin": "^5.61.0",
106 "@typescript-eslint/parser": "^5.61.0",
107 "eslint": "^8.44.0",
108 "prettier": "^2.8.0",
109 "typescript": "^5.0.4"
110 },
111 "repository": {
112 "type": "git",
113 "url": "git+https://github.com/visheratin/web-ai.git"
114 },
115 "keywords": [
116 "deep-learning",
117 "AI",
118 "NLP",
119 "CV",
120 "computer-vision"
121 ],
122 "author": "Alexander Visheratin",
123 "license": "MIT",
124 "bugs": {
125 "url": "https://github.com/visheratin/web-ai/issues"
126 },
127 "homepage": "https://github.com/visheratin/web-ai#readme"
128}
\No newline at end of file