-
Notifications
You must be signed in to change notification settings - Fork 137
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.47 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.47 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
{
"name": "@browserai/browserai",
"version": "2.2.0",
"private": false,
"description": "A library for running AI models directly in the browser",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./demucs": {
"import": {
"types": "./dist/demucs.d.ts",
"default": "./dist/demucs.mjs"
},
"require": {
"types": "./dist/demucs.d.cts",
"default": "./dist/demucs.cjs"
}
}
},
"directories": {
"example": "examples"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"build": "tsup --format esm,cjs --dts --clean",
"dev": "tsup --format esm,cjs --dts --watch",
"prepublishOnly": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Cloud-Code-AI/BrowserAI.git"
},
"author": "Saurav Panda",
"license": "MIT",
"bugs": {
"url": "https://github.com/Cloud-Code-AI/BrowserAI/issues"
},
"homepage": "https://github.com/Cloud-Code-AI/BrowserAI#readme",
"dependencies": {
"@huggingface/jinja": "^0.3.3",
"@mlc-ai/web-llm": "^0.2.79",
"@sauravpanda/flare": "^0.2.11",
"@types/pdfjs-dist": "^2.10.378",
"mammoth": "^1.9.0",
"onnxruntime-web": "^1.21.0",
"pdfjs-dist": "^4.10.38",
"phonemizer": "^1.2.1",
"tesseract.js": "^6.0.0"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"devDependencies": {
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@webgpu/types": "^0.1.53",
"eslint": "^9.18.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5",
"tsup": "^8.3.5",
"typescript": "^5.7.3"
},
"files": [
"dist"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"testMatch": [
"<rootDir>/src/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/examples/"
]
}
}