remesh-threejs 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +271 -0
- package/dist/index.d.ts +2505 -0
- package/dist/remesh-threejs.cjs +2 -0
- package/dist/remesh-threejs.cjs.map +1 -0
- package/dist/remesh-threejs.js +4338 -0
- package/dist/remesh-threejs.js.map +1 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "remesh-threejs",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "TypeScript library for adaptive remeshing of non-manifold surfaces using Three.js",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/remesh-threejs.cjs",
|
|
7
|
+
"module": "./dist/remesh-threejs.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/remesh-threejs.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/remesh-threejs.cjs"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md",
|
|
24
|
+
"LICENSE"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "vite",
|
|
28
|
+
"build": "tsc --noEmit && vite build",
|
|
29
|
+
"test": "vitest",
|
|
30
|
+
"test:run": "vitest run",
|
|
31
|
+
"test:ui": "vitest --ui",
|
|
32
|
+
"test:coverage": "vitest --coverage",
|
|
33
|
+
"lint": "eslint src tests --ext .ts",
|
|
34
|
+
"lint:fix": "eslint src tests --ext .ts --fix",
|
|
35
|
+
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
36
|
+
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
37
|
+
"typecheck": "tsc --noEmit",
|
|
38
|
+
"docs": "typedoc --out docs/api src/index.ts",
|
|
39
|
+
"quality": "npm run lint && npm run format:check && npm run typecheck",
|
|
40
|
+
"quality:fix": "npm run lint:fix && npm run format",
|
|
41
|
+
"validate": "npm run quality && npm run test:run && npm run build",
|
|
42
|
+
"prepare": "husky",
|
|
43
|
+
"prepublishOnly": "npm run validate"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"remeshing",
|
|
47
|
+
"threejs",
|
|
48
|
+
"three.js",
|
|
49
|
+
"geometry",
|
|
50
|
+
"mesh",
|
|
51
|
+
"computational-geometry",
|
|
52
|
+
"non-manifold",
|
|
53
|
+
"surface-remeshing",
|
|
54
|
+
"triangle-mesh",
|
|
55
|
+
"halfedge",
|
|
56
|
+
"adaptive-remeshing",
|
|
57
|
+
"mesh-processing"
|
|
58
|
+
],
|
|
59
|
+
"author": "Ross Graeber",
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "https://github.com/RossGraeber/remesh-threejs.git"
|
|
64
|
+
},
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/RossGraeber/remesh-threejs/issues"
|
|
67
|
+
},
|
|
68
|
+
"homepage": "https://github.com/RossGraeber/remesh-threejs#readme",
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=18.0.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"three": ">=0.160.0"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@eslint/js": "^9.17.0",
|
|
77
|
+
"@types/node": "^22.10.2",
|
|
78
|
+
"@types/three": "^0.170.0",
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^8.18.2",
|
|
80
|
+
"@typescript-eslint/parser": "^8.18.2",
|
|
81
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
82
|
+
"@vitest/ui": "^2.1.8",
|
|
83
|
+
"eslint": "^9.17.0",
|
|
84
|
+
"eslint-config-prettier": "^9.1.0",
|
|
85
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
86
|
+
"husky": "^9.1.7",
|
|
87
|
+
"lint-staged": "^16.2.7",
|
|
88
|
+
"prettier": "^3.4.2",
|
|
89
|
+
"terser": "^5.44.1",
|
|
90
|
+
"three": "^0.170.0",
|
|
91
|
+
"typedoc": "^0.27.5",
|
|
92
|
+
"typescript": "^5.7.2",
|
|
93
|
+
"vite": "^6.0.5",
|
|
94
|
+
"vite-plugin-dts": "^4.3.0",
|
|
95
|
+
"vitest": "^2.1.8"
|
|
96
|
+
},
|
|
97
|
+
"lint-staged": {
|
|
98
|
+
"*.ts": [
|
|
99
|
+
"eslint --fix",
|
|
100
|
+
"prettier --write"
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|