-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
82 lines (82 loc) · 1.99 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
{
"name": "@aislamov/diffusers.js",
"version": "0.9.3",
"license": "MIT",
"author": {
"name": "Arthur Islamov",
"email": "[email protected]",
"url": "https://islamov.ai"
},
"type": "module",
"dependencies": {
"@aislamov/onnxruntime-web64": "^1.0.6",
"@huggingface/hub": "^0.8.5",
"@types/node": "^16.18.34",
"@xenova/transformers": "^2.6.2",
"cli-progress": "^3.12.0",
"idb": "^7.1.1",
"module-alias": "^2.2.3",
"onnxruntime-common": "1.16.1",
"onnxruntime-node": "1.16.1",
"seedrandom": "^3.0.5",
"sharp": "^0.32.6",
"wasm-feature-detect": "^1.5.1"
},
"scripts": {
"prepare": "npm run build",
"build": "npm run build:ts && npm run build:types",
"build:ts": "node scripts/build.js",
"build:types": "tsc --emitDeclarationOnly",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest",
"lint": "eslint --ext .ts,.tsx src"
},
"main": "dist/index.js",
"exports": {
".": {
"node": {
"require": "./dist/index-node.cjs",
"import": "./dist/index-node.esm.js"
},
"default": {
"require": "./dist/index.js",
"import": "./dist/index.esm.js"
}
}
},
"engines": {
"node": ">=18"
},
"browser": {
"fs": false,
"path": false,
"url": false,
"sharp": false,
"util": false,
"onnxruntime-node": false,
"cli-progress": false,
"stream/web": false
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.2",
"@types/jest": "^29.5.5",
"@types/lodash": "^4.14.195",
"@types/seedrandom": "^3.0.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"clang-format": "^1.8.0",
"esbuild": "0.19.4",
"eslint": "^8.52.0",
"eslint-config-standard": "^17.1.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"overrides": {
"@xenova/transformers": {
"onnxruntime-common": "1.16.1",
"onnxruntime-node": "1.16.1"
}
},
"_moduleAliases": {
"@": "src"
}
}