UNPKG

three-wfc

Version:

A blazing fast Wave Function Collapse engine for three.js, built for real-time 2D, 2.5D, and 3D procedural world generation at scale.

210 lines (209 loc) 5.88 kB
{ "name": "three-wfc", "version": "0.1.0", "description": "A blazing fast Wave Function Collapse engine for three.js, built for real-time 2D, 2.5D, and 3D procedural world generation at scale.", "keywords": [ "three", "three.js", "wfc", "2D", "2.5D", "3D" ], "homepage": "https://github.com/Fennec-hub/three-wfc#readme", "bugs": { "url": "https://github.com/Fennec-hub/three-wfc/issues" }, "repository": { "type": "git", "url": "git+https://github.com/Fennec-hub/three-wfc.git" }, "license": "MIT", "author": "Fennec", "type": "module", "exports": { ".": { "import": "./dist/three-wfc.js", "require": "./dist/three-wfc.umd.cjs" } }, "main": "./dist/three-wfc.umd.cjs", "types": "./dist/index.d.ts", "directories": { "doc": "docs", "lib": "lib" }, "files": [ "dist", "lib" ], "scripts": { "dev": "npm run dev:live", "dev:live": "vite --config vite.config.live.js", "build:live": "vite build --config vite.config.live.js", "preview:live": "vite preview --config vite.config.live.js", "dev:docs": "vitepress dev docs", "build:docs": "vitepress build docs", "preview:docs": "vitepress serve docs", "build:lib": "vite build && tsc --emitDeclarationOnly --outDir dist", "build": "npm run build:lib", "test": "vitest", "test:ui": "vitest --ui", "coverage": "vitest run --coverage" }, "dependencies": { "acorn": "^8.14.1", "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "ajv-formats": "^3.0.1", "algoliasearch": "^5.23.4", "alien-signals": "^0.4.14", "argparse": "^1.0.10", "assertion-error": "^2.0.1", "balanced-match": "^1.0.2", "birpc": "^2.3.0", "brace-expansion": "^1.1.11", "cac": "^6.7.14", "ccount": "^2.0.1", "chai": "^5.2.0", "character-entities-html4": "^2.1.0", "character-entities-legacy": "^3.0.0", "check-error": "^2.1.1", "comma-separated-tokens": "^2.0.3", "compare-versions": "^6.1.1", "concat-map": "^0.0.1", "confbox": "^0.2.2", "copy-anything": "^3.0.5", "csstype": "^3.1.3", "de-indent": "^1.0.2", "debug": "^4.4.0", "deep-eql": "^5.0.2", "dequal": "^2.0.3", "devlop": "^1.1.0", "emoji-regex-xs": "^1.0.0", "entities": "^4.5.0", "es-module-lexer": "^1.7.0", "esbuild": "^0.25.3", "estree-walker": "^2.0.2", "expect-type": "^1.2.1", "exsolve": "^1.0.5", "fast-deep-equal": "^3.1.3", "fdir": "^6.4.4", "fflate": "^0.8.2", "focus-trap": "^7.6.4", "fs-extra": "^11.3.0", "function-bind": "^1.1.2", "graceful-fs": "^4.2.11", "has-flag": "^4.0.0", "hasown": "^2.0.2", "hast-util-to-html": "^9.0.5", "hast-util-whitespace": "^3.0.0", "he": "^1.2.0", "hookable": "^5.5.3", "html-void-elements": "^3.0.0", "import-lazy": "^4.0.0", "is-core-module": "^2.16.1", "is-what": "^4.1.16", "jju": "^1.4.0", "json-schema-traverse": "^1.0.0", "jsonfile": "^6.1.0", "kolorist": "^1.8.0", "local-pkg": "^1.1.1", "lodash": "^4.17.21", "loupe": "^3.1.3", "lru-cache": "^6.0.0", "magic-string": "^0.30.17", "mark.js": "^8.11.1", "mdast-util-to-hast": "^13.2.0", "meshoptimizer": "^0.18.1", "micromark-util-character": "^2.1.1", "micromark-util-encode": "^2.0.1", "micromark-util-sanitize-uri": "^2.0.1", "micromark-util-symbol": "^2.0.1", "micromark-util-types": "^2.0.2", "minimatch": "^3.0.8", "minisearch": "^7.1.2", "mitt": "^3.0.1", "mlly": "^1.7.4", "ms": "^2.1.3", "muggle-string": "^0.4.1", "nanoid": "^3.3.11", "oniguruma-to-es": "^3.1.1", "path-browserify": "^1.0.1", "path-parse": "^1.0.7", "pathe": "^2.0.3", "pathval": "^2.0.0", "perfect-debounce": "^1.0.0", "picocolors": "^1.1.1", "picomatch": "^4.0.2", "pkg-types": "^2.1.0", "postcss": "^8.5.3", "preact": "^10.26.5", "property-information": "^7.0.0", "punycode": "^2.3.1", "quansync": "^0.2.10", "regex": "^6.0.1", "regex-recursion": "^6.0.2", "regex-utilities": "^2.3.0", "require-from-string": "^2.0.2", "resolve": "^1.22.10", "rfdc": "^1.4.1", "rollup": "^4.40.0", "search-insights": "^2.17.3", "semver": "^7.5.4", "shiki": "^2.5.0", "siginfo": "^2.0.0", "source-map": "^0.6.1", "source-map-js": "^1.2.1", "space-separated-tokens": "^2.0.2", "speakingurl": "^14.0.1", "sprintf-js": "^1.0.3", "stackback": "^0.0.2", "std-env": "^3.9.0", "string-argv": "^0.3.2", "stringify-entities": "^4.0.4", "strip-json-comments": "^3.1.1", "superjson": "^2.2.2", "supports-color": "^8.1.1", "supports-preserve-symlinks-flag": "^1.0.0", "tabbable": "^6.2.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.13", "tinypool": "^1.0.2", "tinyrainbow": "^2.0.0", "tinyspy": "^3.0.2", "trim-lines": "^3.0.1", "ufo": "^1.6.1", "undici-types": "^6.19.8", "unist-util-is": "^6.0.0", "unist-util-position": "^5.0.0", "unist-util-stringify-position": "^4.0.0", "unist-util-visit": "^5.0.0", "unist-util-visit-parents": "^6.0.1", "universalify": "^2.0.1", "uri-js": "^4.4.1", "vfile": "^6.0.3", "vfile-message": "^4.0.2", "vite-node": "^3.1.2", "vscode-uri": "^3.1.0", "why-is-node-running": "^2.3.0", "yallist": "^4.0.0", "zwitch": "^2.0.4" }, "devDependencies": { "@types/node": "^20.17.31", "@types/three": "^0.176.0", "three": "^0.176.0", "typescript": "^5.8.3", "vite": "^6.3.3", "vite-plugin-dts": "^4.5.3", "vitepress": "^1.6.3", "vitest": "^3.1.2", "vue": "^3.5.13" }, "peerDependencies": { "three": ">=0.170.0" }, "module": "./dist/three-wfc.js" }