-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 4.71 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 4.71 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
{
"name": "blender-auto-3d-explode",
"version": "3.3.2",
"description": "Blender 自动拆解三维模型并自动做拆解教学 - 预览。基于 Three.js 构建的交互式 3D 拆解教学工具,支持鼠标拖拽旋转、滚轮缩放、滑块控制拆解程度。",
"main": "main.js",
"scripts": {
"dev": "npx serve .",
"server": "node server.js",
"start": "node server.js",
"test": "node tests/unit-test.mjs && node tests/provider-test.mjs && node tests/image-to-3d-router-test.mjs && node tests/ar-preview-test.mjs && node tests/export-panel-test.mjs && node tests/upload-panel-test.mjs && node tests/ai-paint-panel-test.mjs && node tests/config-check-test.mjs && node tests/config-test.mjs && node tests/explode-geometry-test.mjs && node tests/explode-controller-test.mjs && node tests/part-interactions-test.mjs && node tests/assembly-analysis-test.mjs && node tests/model-disposal-test.mjs && node tests/model-fit-test.mjs && node tests/custom-model-loader-test.mjs && node tests/model-loaders-test.mjs && node tests/custom-model-finalize-test.mjs && node tests/custom-model-panel-test.mjs && node tests/geometry-split-test.mjs && node tests/quest3-model-test.mjs && node tests/quest3-data-test.mjs && node tests/quest3-steps-test.mjs && node tests/quest3-parts-test.mjs && node tests/camera-fit-test.mjs && node tests/gltf-loader-test.mjs && node tests/lighting-test.mjs && node tests/lego-materials-test.mjs && node tests/model-style-test.mjs && node tests/status-ui-test.mjs && node tests/theme-toggle-test.mjs && node tests/style-toggle-test.mjs && node tests/image-features-test.mjs && node tests/generated-library-test.mjs && node tests/keyboard-shortcuts-test.mjs && node tests/sidebar-toggle-test.mjs && node tests/step-desc-test.mjs && node tests/render-loop-test.mjs && node tests/scene-setup-test.mjs && node tests/ai-config-test.mjs && node tests/static-server-test.mjs && node tests/dead-markup-test.mjs && node tests/blender-mcp-client-test.mjs && node tests/ai-call-test.mjs && node tests/proxy-detect-test.mjs && node tests/closed-loop-test.mjs && node tests/response-utils-test.mjs && node tests/blender-runner-test.mjs && node tests/routes-generate-test.mjs && node tests/routes-blender-test.mjs && node tests/glb-request-test.mjs && node tests/prompt-icon-test.mjs && node tests/vendor-three-test.mjs",
"test:unit": "node tests/unit-test.mjs",
"test:provider": "node tests/provider-test.mjs",
"test:py": "python3 -m unittest discover -s tests -p '*_test.py'",
"test:blender": "python3 scripts/ci_blender_smoke.py",
"test:vendor": "node tests/vendor-three-test.mjs",
"vendor:sync": "python3 scripts/vendor_three_sync.py",
"smoke:ui": "npm run smoke:parts && npm run smoke:sidebar && npm run smoke:narrow",
"smoke:parts": "node scripts/ci_parts_ui_smoke.mjs",
"smoke:sidebar": "node scripts/ci_sidebar_ui_smoke.mjs",
"smoke:narrow": "node scripts/ci_narrow_ui_smoke.mjs",
"test:e2e": "node tests/e2e-test.mjs",
"test:all": "npm run test && npm run test:e2e",
"lint": "npx eslint main.js server.js src/ tests/ --fix",
"lint:check": "npx eslint main.js server.js src/ tests/",
"format": "npx prettier --write \"main.js\" \"server.js\" \"src/**/*.js\" \"tests/**/*.mjs\"",
"lint:css": "npx stylelint \"style.css\" --fix",
"lint:css:check": "npx stylelint \"style.css\"",
"lint:all": "npm run lint && npm run lint:css",
"lint:all:check": "npm run lint:check && npm run lint:css:check",
"format:all": "npm run format && npm run lint:css",
"audit": "npm audit",
"upgrade": "npx npm-check-updates -u && npm install",
"serve:https": "npx serve . --ssl-cert .cert/cert.pem --ssl-key .cert/key.pem",
"build:analyze": "npx webpack --mode=production --env ANALYZE",
"build": "npx webpack --mode=production",
"build:dev": "npx webpack --mode=development",
"serve:dev": "npx webpack serve --mode=development",
"serve:prod": "npx serve dist/",
"validate": "npm run lint:all:check && npm test"
},
"keywords": [
"three.js",
"blender",
"glb",
"3d",
"exploded-view",
"webxr"
],
"author": "",
"license": "ISC",
"type": "module",
"dependencies": {
"three": "^0.186.0",
"undici": "^8.10.0"
},
"devDependencies": {
"compression-webpack-plugin": "^12.0.0",
"copy-webpack-plugin": "^14.0.0",
"css-minimizer-webpack-plugin": "^8.0.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"html-webpack-plugin": "^5.6.7",
"prettier": "^3.9.4",
"stylelint": "^17.14.0",
"stylelint-config-standard": "^40.0.0",
"terser-webpack-plugin": "^5.6.1",
"webpack": "^5.108.4",
"webpack-bundle-analyzer": "^5.3.0",
"webpack-cli": "^7.2.1"
}
}