-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathpackage.json
78 lines (78 loc) · 1.94 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
{
"name": "@browserai/browserai",
"version": "1.0.21",
"private": false,
"description": "A library for running AI models directly in the browser",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"directories": {
"example": "examples"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
"prepublishOnly": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sauravpanda/BrowserAI.git"
},
"author": "Saurav Panda",
"license": "MIT",
"bugs": {
"url": "https://github.com/sauravpanda/BrowserAI/issues"
},
"homepage": "https://github.com/sauravpanda/BrowserAI#readme",
"dependencies": {
"@huggingface/jinja": "^0.3.2",
"@mlc-ai/web-llm": "^0.2.78",
"onnxruntime-web": "1.21.0-dev.20250114-228dd16893",
"phonemizer": "^1.2.1"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"devDependencies": {
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@webgpu/types": "^0.1.53",
"eslint": "^9.18.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.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"
],
"testMatch": ["<rootDir>/src/**/*.test.ts"],
"testPathIgnorePatterns": ["/node_modules/", "/examples/"]
}
}