{ "name": "three-loader-3dtiles", "version": "1.2.7", "description": "A 3D Tiles loader for Three.js", "main": "dist/lib/three-loader-3dtiles.umd.cjs", "module": "dist/lib/three-loader-3dtiles.js", "typings": "dist/lib/three-loader-3dtiles.d.ts", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/nytimes/three-loader-3dtiles.git" }, "homepage": "https://github.com/nytimes/three-loader-3dtiles", "directories": { "example": "examples" }, "files": [ "/src", "dist" ], "type": "module", "exports": { ".": { "types": "./dist/lib/three-loader-3dtiles.d.ts", "node": { "require": "./dist/lib/three-loader-3dtiles.umd.cjs", "default": "./dist/lib/three-loader-3dtiles.js" }, "default": { "require": "./dist/lib/three-loader-3dtiles.umd.cjs", "default": "./dist/lib/three-loader-3dtiles.js" } } }, "scripts": { "build": "npm run build:lib && npm run build:types && npm run build:examples", "build:lib": "vite --config vite.config.lib.js build", "build:lib:watch": "vite --config vite.config.lib.js build --watch", "build:examples": "vite --config vite.config.examples.js build", "dev": "vite --config vite.config.examples.js", "build:types": "tsc --declaration --emitDeclarationOnly --declarationMap --declarationDir dist/lib/", "api:extract": "api-extractor run --local --verbose", "api:extract:production": "api-extractor run", "api:generate": "api-documenter markdown --input-folder temp --output-folder docs/", "docs": "npm run build:types && npm run api:extract && npm run api:generate", "docs:production": "npm run build:types && npm run api:extract:production && npm run api:generate", "build:production": "export NODE_ENV=production || set NODE_ENV=production && npm run build", "test": "mocha --experimental-specifier-resolution=node --loader=ts-node/esm test/**/*.spec.ts" }, "browserslist": [ "last 2 versions", "not ie <= 11", "not dead" ], "peerDependencies": { "three": ">=0.160.0" }, "devDependencies": { "@loaders.gl/3d-tiles": "^4.1.0", "@loaders.gl/core": "^4.1.0", "@loaders.gl/json": "^4.1.0", "@loaders.gl/polyfills": "^4.1.0", "@loaders.gl/schema": "^4.1.0", "@loaders.gl/tiles": "^4.3.0-alpha.4", "@math.gl/core": "^4.0.0", "@math.gl/culling": "^4.0.0", "@math.gl/geospatial": "^4.0.0", "@microsoft/api-documenter": "^7.23.16", "@microsoft/api-extractor": "^7.39.1", "@probe.gl/stats-widget": "^4.0.4", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-eslint": "^9.0.5", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@types/chai": "^4.2.19", "@types/chai-as-promised": "^7.1.4", "@types/mocha": "^8.2.2", "@types/node": "^18.0.0", "@types/offscreencanvas": "^2019.6.4", "@types/three": "^0.160.0", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "concurrently": "^6.2.0", "ecstatic": ">=4.1.3", "geo-three": "^0.1.14", "http-server": "^14.1.1", "jpeg-js": ">=0.4.0", "meshline": "^3.3.1", "mocha": "^9.0.1", "ocular-dev-tools": "^2.0.0-alpha.15", "prettier": "2.3.0", "rollup": "^4.9.0", "rollup-plugin-node-externals": "^2.2.0", "rollup-plugin-typescript2": "^0.36.0", "sinon": "^11.1.1", "three": "^0.160.0", "three-story-controls": "^1.0.6", "ts-node": "^10.0.0", "typescript": "^4.3.2", "vite": "^5.0.9", "vite-plugin-node-polyfills": "^0.17.0", "xmldom": "github:xmldom/xmldom#0.7.0" } }