Initial commit

This commit is contained in:
Robert Nasarek 2026-06-25 09:11:23 +02:00
commit 05c65aad4d
155 changed files with 93617 additions and 0 deletions

50
package.json Executable file
View file

@ -0,0 +1,50 @@
{
"name": "dfg-3dviewer",
"version": "1.0.2",
"description": "DFG 3D Viewer — three.js library for web and Drupal",
"type": "module",
"scripts": {
"dev:test": "cross-env BUILD_SOURCE=IIIF BUILD=test parcel index.html --port 1234",
"dev:dev": "cross-env BUILD_SOURCE='' BUILD=test parcel index.html --port 1234",
"build:test": "cross-env BUILD_SOURCE='' BUILD=test rollup -c",
"build:dev": "cross-env BUILD_SOURCE='IIIF' BUILD=dev rollup -c",
"build:prod": "cross-env BUILD_SOURCE='' BUILD=prod rollup -c",
"build:library": "cross-env BUILD_SOURCE='' BUILD=library IS_PROD=true rollup -c",
"pack:library": "node ./scripts/pack-library.js",
"pack-dist": "node ./scripts/pack-dist.js",
"serve:dist": "cross-env BUILD=test serve dist",
"test:local": "sh ./scripts/run-local-tests.sh",
"watch": "cross-env BUILD_SOURCE=IIIF BUILD=test rollup -c -w",
"dev:tauri": "npm run build:dev && npx serve ./dist/dev -l 1234",
"tauri:dev": "tauri dev",
"tauri:build": "tauri build"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-url": "^8.0.2",
"@types/node": "^25.7.0",
"concurrently": "^10.0.3",
"cross-env": "^10.1.0",
"parcel": "^2.16.4",
"rollup": "^4.60.3",
"serve": "^14.2.6"
},
"dependencies": {
"@iiif/3d-manifesto-dev": "^0.7.0",
"@rollup/plugin-alias": "^6.0.0",
"@tauri-apps/api": "^2.11.0",
"@tauri-apps/cli": "^2.11.1",
"fflate": "^0.8.3",
"jquery": "^4.0.0",
"lru-cache": "^11.3.6",
"stats.js": "^0.17.0",
"three": "^0.184.0",
"toastify-js": "^1.12.0",
"web-ifc": "^0.0.77"
}
}