Improved file extension handling, custom url modifiers, in asset import, add IObject3D.autoUpgradeChildren, IObject3D.acceptChildEvents, handle NaN in autoScale, center, camera near far, preRender, postRender events to RenderManager, use EventListener2 in some places, add modelRootScale to viewer options, Update Readme, some minor fixes,
преди 1 година |
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- {
- "name": "threepipe",
- "version": "0.0.52",
- "description": "A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.",
- "main": "dist/index.js",
- "module": "dist/index.mjs",
- "types": "dist/index.d.ts",
- "sources": "src/index.ts",
- "browser": "dist/index.js",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.mjs",
- "require": "./dist/index.js"
- },
- "./dist/": {
- "import": "./dist/",
- "require": "./dist/"
- },
- "./lib": {
- "types": "./lib/index.d.ts",
- "import": "./lib/index.js"
- },
- "./lib/": {
- "import": "./lib/",
- "require": "./lib/"
- }
- },
- "type": "module",
- "scripts": {
- "compile": "rimraf lib && npm run compile:esm && npm run copy:css",
- "compile:esm": "tsc -p ./src",
- "copy:css": "copyfiles -u 1 \"src/**/*.css\" lib",
- "new:pack": "npm run prepare && clean-package && npm pack && clean-package restore",
- "new:publish": "git diff --exit-code --name-only HEAD * && npm run prepare && clean-package && npm publish && clean-package restore && git tag v$npm_package_version",
- "build": "npm run update-version && npm run compile && vite build",
- "dev": "NODE_ENV=development vite build --watch",
- "vite": "NODE_ENV=development vite --config vite.examples.config.js",
- "build-examples": "npm run generate-example-env && tsc --project examples/tsconfig.build.json",
- "dev-examples": "npm run generate-example-env && tsc --project examples/tsconfig.build.json -w",
- "serve-docs": "ws -d docs -p 8080",
- "serve": "ws -d . -p 9229",
- "docs": "npx typedoc && npm run website:build",
- "docs-plugins": "node scripts/each-plugin.mjs run docs",
- "docs-all": "npm run docs && npm run docs-plugins",
- "build-plugins": "node scripts/each-plugin.mjs install -p",
- "prepare": "npm run build && npm run build-plugins && npm run build-examples",
- "update-version": "node scripts/update-version.mjs",
- "website:dev": "vitepress dev website",
- "website:build": "vitepress build website",
- "website:preview": "vitepress preview website",
- "build-site": "bash ./scripts/build-site.sh",
- "generate-example-env": "node ./scripts/generate-example-env.mjs"
- },
- "clean-package": {
- "remove": [
- "clean-package",
- "scripts",
- "optionalDependencies",
- "//"
- ]
- },
- "files": [
- "dist",
- "src",
- "lib",
- "plugins/*/dist",
- "plugins/*/src",
- "plugins/*/tsconfig.json",
- "tsconfig.json"
- ],
- "repository": {
- "type": "git",
- "url": "git://github.com/repalash/threepipe.git"
- },
- "keywords": [
- "3d",
- "three.js",
- "typescript",
- "javascipt",
- "browser",
- "esm",
- "rendering",
- "viewer",
- "webgl",
- "webgi",
- "canvas"
- ],
- "author": "repalash <palash@shaders.app>",
- "license": "Apache-2.0",
- "bugs": {
- "url": "https://github.com/repalash/threepipe/issues"
- },
- "homepage": "https://github.com/repalash/threepipe#readme",
- "devDependencies": {
- "@rollup/plugin-json": "^6.0.0",
- "@rollup/plugin-replace": "^5.0.2",
- "@types/node": "^22.10.2",
- "@types/stats.js": "^0.17.0",
- "@typescript-eslint/eslint-plugin": "^5.59.7",
- "@typescript-eslint/parser": "^5.59.5",
- "clean-package": "^2.2.0",
- "copyfiles": "^2.4.1",
- "dotenv": "^16.5.0",
- "eslint": "^8.40.0",
- "eslint-import-resolver-typescript": "^3.5.5",
- "eslint-plugin-deprecation": "^1.4.1",
- "eslint-plugin-html": "^7.1.0",
- "eslint-plugin-import": "^2.27.5",
- "local-web-server": "^5.3.0",
- "rimraf": "^5.0.1",
- "rollup-plugin-glsl": "^1.3.0",
- "rollup-plugin-license": "^3.0.1",
- "three": "file:./package.tgz",
- "tslib": "^2.5.0",
- "typedoc": "^0.28.4",
- "typescript": "5.8.3",
- "typescript-plugin-css-modules": "^5.0.1",
- "vite": "^6.3.5",
- "vite-plugin-dts": "^4.5.3",
- "vitepress": "^1.5.0",
- "vitepress-plugin-nprogress": "^0.0.4"
- },
- "dependencies": {
- "@types/three": "file:./type.package.tgz",
- "@types/webxr": "^0.5.1",
- "@types/wicg-file-system-access": "^2020.9.5",
- "popmotion": "^11.0.5",
- "stats.js": "^0.17.0",
- "ts-browser-helpers": "^0.17.1",
- "uiconfig.js": "^0.1.5"
- },
- "peerDependencies": {
- "three": "file:./package.tgz"
- },
- "peerDependenciesMeta": {
- "three": {
- "optional": true
- }
- },
- "//": {
- "dependencies": {
- "uiconfig.js": "^0.1.5",
- "ts-browser-helpers": "^0.17.1",
- "three": "https://github.com/repalash/three.js-modded/releases/download/v0.158.1004/package.tgz",
- "three-f": "https://github.com/repalash/three.js-modded/archive/refs/tags/v0.158.1004.tar.gz",
- "@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.158.1004/package.tgz",
- "@types/three-f": "https://github.com/repalash/three-ts-types/archive/refs/tags/v0.158.1004.tar.gz",
- "@types/three-pkg": "https://gitpkg.now.sh/repalash/three-ts-types/types/three?modded_three"
- },
- "local_dependencies": {
- "uiconfig.js": "^file:./../uiconfig",
- "ts-browser-helpers": "file:./../ts-browser-helpers",
- "three": "file:./../three.js",
- "@types/three": "file:./../three-ts-types/types/three"
- }
- },
- "overrides": {
- "ts-browser-helpers": "$ts-browser-helpers",
- "three": "$three",
- "@types/three": "$@types/three"
- },
- "optionalDependencies": {
- "win-node-env": "^0.6.1"
- },
- "browserslist": [
- "defaults"
- ],
- "sideEffects": false
- }
|