-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
83 lines (83 loc) · 2.08 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
83
{
"name": "ranuts",
"version": "0.1.0-alpha.17",
"description": "lib",
"main": "dist/index.umd.cjs",
"module": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"engines": {
"node": "^16.20.2 || >=18.0.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/umd/index.umd.cjs"
},
"./react": {
"types": "./dist/src/react/index.d.ts",
"import": "./dist/src/react/index.js",
"require": "./dist/umd/react/react.umd.cjs"
},
"./node": {
"types": "./dist/src/node/index.d.ts",
"import": "./dist/src/node/index.js",
"require": "./dist/umd/node/node.umd.cjs"
},
"./utils": {
"types": "./dist/src/utils/index.d.ts",
"import": "./dist/src/utils/index.js",
"require": "./dist/umd/utils/utils.umd.cjs"
},
"./wasm": {
"types": "./dist/src/wasm/index.d.ts",
"import": "./dist/src/wasm/index.js",
"require": "./dist/umd/wasm/wasm.umd.cjs"
},
"./ml": {
"types": "./dist/src/ml/index.d.ts",
"import": "./dist/src/ml/index.js",
"require": "./dist/umd/ml/ml.umd.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/chaxus/ran",
"directory": "packages/ranuts"
},
"bugs": {
"url": "https://github.com/chaxus/ran/issues"
},
"homepage": "https://github.com/chaxus/ran/tree/main/packages/ranuts/docs",
"files": [
"dist",
"typings.d.ts"
],
"scripts": {
"build": "sh ./bin/build.sh",
"test": "vitest run",
"tsc": "tsc --noEmit",
"dev": "vite --host",
"prepublish": "npm run build"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/parser": "^7.24.5",
"@types/earcut": "^2.1.4",
"@types/node": "^20.12.11",
"@types/react": "^18.3.1",
"@webgpu/types": "^0.1.49",
"react": "^18.3.1",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^2.1.1"
},
"dependencies": {
"earcut": "^3.0.0",
"magic-string": "^0.27.0",
"tesseract.js": "^5.1.0"
}
}