{
  "name": "@bldrs-ai/conway",
  "description": "bldrs.ai datamodel",
  "author": "bldrs.ai",
  "license": "AGPL-3.0",
  "version": "0.23.977",
  "repository": "https://github.com/bldrs-ai/conway",
  "files": [
    "./compiled/**/*"
  ],
  "main": "./compiled/src/index.js",
  "types": "./compiled/src/index.d.ts",
  "bin": {
    "cli": "./compiled/examples/cli-bundled.cjs",
    "browser": "./compiled/examples/browser-bundled.js",
    "validator": "./compiled/examples/validator-bundled.js"
  },
  "exports": {
    ".": {
      "types": "./compiled/src/index.d.ts",
      "require": "./compiled/src/index.js",
      "import": "./compiled/src/index.js"
    },
    "./src/*": "./compiled/src/*.js",
    "./dependencies/conway-geom": "./dependencies/conway-geom/index.js",
    "./package.json": "./package.json"
  },
  "imports": {
    "#three": "/node_modules/three/build/three.module.js",
    "#three/addons/": "/node_modules/three/examples/jsm/"
  },
  "targets": {
    "types": false,
    "main": false,
    "modern": {
      "engines": {
        "browsers": ">= 50%"
      }
    }
  },
  "scripts": {
    "setup": "yarn install && yarn submodule-update && yarn extract-wasm-dependencies",
    "codex-setup-emsdk": "bash ./scripts/setup-emsdk.sh",
    "clean": "run-script-os",
    "clean:win32": "rd /s /q compiled & rd /s /q \"dependencies/conway-geom/bin/release\" & del /q \"dependencies/conway-geom/Dist/*.map\" && del /q \"dependencies/conway-geom/Dist/*.js\" & yarn \"clean-conway_geom\"",
    "clean:darwin": "rm -rf compiled && rm -rf dependencies/conway-geom/bin/release && rm -rf dependencies/conway-geom/Dist/*.{map,js} && yarn clean-conway_geom",
    "clean:default": "rm -rf compiled && rm -rf dependencies/conway-geom/bin/release && rm -rf dependencies/conway-geom/Dist/*.{map,js} && yarn clean-conway_geom",
    "build": "yarn clean && yarn update-version && yarn build-all-release-node && yarn build-all-release-node-MT && yarn build-all-release-web && yarn build-all-release-web-MT && yarn bundle-examples",
    "build-single-thread": "yarn clean && yarn update-version && yarn build-all-release-node && yarn build-all-release-web",
    "build-MT": "yarn clean && yarn update-version && yarn build-all-release-node-MT && yarn build-all-release-web-MT",
    "build-web": "yarn clean && yarn update-version && yarn build-all-release-web",
    "build-node": "yarn clean && yarn update-version && yarn build-all-release-node",
    "build-web-MT": "yarn clean && yarn update-version && yarn build-all-release-web-MT",
    "build-node-MT": "yarn clean && yarn update-version && yarn build-all-release-node-MT",
    "build-and-serve": "yarn build-incremental && yarn build-conway_geom-web && yarn build-conway_geom-web-MT && yarn serve",
    "serve": "yarn parcel index.html",
    "build-GHA-base": "scripts/build-gha.sh",
    "build-GHA-all": "yarn run build-GHA-base ConwayGeomWasmNode ConwayGeomWasmNodeMT ConwayGeomWasmWeb ConwayGeomWasmWebMT && yarn bumpMinor",
    "build-GHA-MT": "yarn run build-GHA-base ConwayGeomWasmNodeMT",
    "build-codex-base": "scripts/build-codex.sh",
    "build-codex-all": "yarn run build-codex-base ConwayGeomWasmNode ConwayGeomWasmNodeMT ConwayGeomWasmWeb ConwayGeomWasmWebMT && yarn bumpMinor",
    "build-codex-MT": "yarn run build-codex-base ConwayGeomWasmNodeMT",
    "bundle": "yarn esbuild --bundle --format=cjs --platform=node --banner:js='#!/usr/bin/env node'",
    "bundle-examples": "yarn bundle-browser && yarn bundle-cli && yarn bundle-validator && shx chmod +x ./compiled/examples/*-bundled.cjs; cd compiled; rm Dist; cp -r dependencies/conway-geom/Dist .",
    "bundle-browser": "yarn bundle compiled/examples/browser.js --outfile=compiled/examples/browser-bundled.cjs",
    "bundle-cli": "yarn bundle compiled/src/ifc/ifc_command_line_main.js --outfile=compiled/examples/cli-bundled.cjs",
    "bundle-validator": "yarn bundle compiled/examples/validator.js --outfile=compiled/examples/validator-bundled.cjs",
    "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
    "generate-flamegraph": "node ./scripts/generate_flame_graph.cjs",
    "cli-profile": "cross-env FORCE_SINGLE_THREAD='true' node --experimental-wasm-threads --prof --logfile=flamegraph.log --no-logfile-per-isolate --experimental-specifier-resolution=node ./compiled/src/ifc/ifc_command_line_main.js -g -n",
    "cli": "node ./compiled/examples/cli-bundled.cjs",
    "browser": "node ./compiled/examples/browser-bundled.cjs",
    "validator": "node ./compiled/examples/validator-bundled.cjs",
    "extract-wasm-dependencies": "node ./scripts/extract-wasm-dependencies.cjs",
    "create-release-candidate": "./scripts/create-release-candidate.sh",
    "build-all-profile-node": "yarn build-profile-conway_geom-node && yarn build-incremental",
    "build-all-profile-web": "yarn build-profile-conway_geom-web && yarn build-incremental",
    "build-all-release-node": "yarn build-conway_geom-node && yarn build-incremental",
    "build-all-release-web-MT": "yarn build-conway_geom-web-MT && yarn build-incremental",
    "build-all-release-node-MT": "yarn build-conway_geom-node-MT && yarn build-incremental",
    "build-all-release-web": "yarn build-conway_geom-web && yarn build-incremental",
    "build-conway_geom-node": "run-script-os",
    "build-conway_geom-web": "run-script-os",
    "build-conway_geom-node-MT": "run-script-os",
    "build-conway_geom-web-MT": "run-script-os",
    "build-incremental": "tsc --build && yarn ts-add-js-extension --dir=compiled",
    "build-profile-conway_geom-node": "run-script-os",
    "build-profile-conway_geom-web": "run-script-os",
    "build-rebuild": "yarn clean-tsc && yarn code-gen && yarn build-incremental",
    "build-test-conway_geom": "run-script-os",
    "build-test-watch": "yarn build-incremental && concurrently \"yarn build-watch\" \"yarn test-watch\"",
    "build-watch": "yarn prebuild:node && tsc --build --watch",
    "clean-conway_geom": "run-script-os",
    "clean-tsc": "tsc --build --clean",
    "code-gen": "yarn code-gen-ifc && yarn code-gen-ap214",
    "dist": "tsc --project tsconfig.dist.json",
    "lint": "yarn eslint src",
    "precommit": "yarn lint && yarn test",
    "prepare": "husky install",
    "submodule-update": "git submodule update --init --recursive",
    "test-watch": "jest --watchAll  --notify",
    "update-version": "node ./scripts/updateVersion.mjs",
    "code-gen-ifc": "node scripts/code-gen.cjs \"make 'OUTDIR=../../src/ifc/ifc4_gen' 'SCHEMA_INPUT=IFC' 'SHORTNAME=Ifc'\"",
    "code-gen-ap214": "node scripts/code-gen.cjs \"make 'OUTDIR=../../src/AP214E3_2010/AP214E3_2010_gen' 'SCHEMA_INPUT=AP214E3_2010' 'SHORTNAME=AP214'\"",
    "bumpMinor": "node -e \"const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json')); let [major, minor, patch] = pkg.version.split('.'); minor = parseInt(minor, 10) + 1; pkg.version = [major, minor, patch].join('.'); fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2)); console.log('New version:', pkg.version);\"",
    "build-conway_geom-node:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmNode && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-node:win32": "cd .\\dependencies\\conway-geom\\ && call .\\build_win.bat release wasmNode && (if not exist Dist (mkdir Dist)) && xcopy .\\bin\\release\\* Dist\\ /Y/r && copy /Y ConwayGeomWasm.d.ts Dist\\ && (if not exist ..\\..\\compiled\\dependencies\\conway-geom\\Dist (mkdir ..\\..\\compiled\\dependencies\\conway-geom\\Dist)) && xcopy .\\bin\\release\\* ..\\..\\compiled\\dependencies\\conway-geom\\Dist\\ /Y/r",
    "build-conway_geom-node:default": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmNode && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-web:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmWeb && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-web:win32": "cd .\\dependencies\\conway-geom\\ && call .\\build_win.bat release wasmWeb && (if not exist Dist (mkdir Dist)) && xcopy .\\bin\\release\\* Dist\\ /Y/r && copy /Y ConwayGeomWasm.d.ts Dist\\ && (if not exist ..\\..\\compiled\\dependencies\\conway-geom\\Dist (mkdir ..\\..\\compiled\\dependencies\\conway-geom\\Dist)) && xcopy .\\bin\\release\\* ..\\..\\compiled\\dependencies\\conway-geom\\Dist\\ /Y/r",
    "build-conway_geom-web:default": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmWeb && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-node-MT:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmNodeMT && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-node-MT:win32": "cd .\\dependencies\\conway-geom\\ && call .\\build_win.bat release wasmNodeMT && (if not exist Dist (mkdir Dist)) && xcopy .\\bin\\release\\* Dist\\ /Y/r && copy /Y ConwayGeomWasm.d.ts Dist\\ && (if not exist ..\\..\\compiled\\dependencies\\conway-geom\\Dist (mkdir ..\\..\\compiled\\dependencies\\conway-geom\\Dist)) && xcopy .\\bin\\release\\* ..\\..\\compiled\\dependencies\\conway-geom\\Dist\\ /Y/r",
    "build-conway_geom-node-MT:default": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmNodeMT && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-web-MT:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmWebMT && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-conway_geom-web-MT:win32": "cd .\\dependencies\\conway-geom\\ && call .\\build_win.bat release wasmWebMT && (if not exist Dist (mkdir Dist)) && xcopy .\\bin\\release\\* Dist\\ /Y/r && copy /Y ConwayGeomWasm.d.ts Dist\\ && (if not exist ..\\..\\compiled\\dependencies\\conway-geom\\Dist (mkdir ..\\..\\compiled\\dependencies\\conway-geom\\Dist)) && xcopy .\\bin\\release\\* ..\\..\\compiled\\dependencies\\conway-geom\\Dist\\ /Y/r",
    "build-conway_geom-web-MT:default": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmWebMT && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-profile-conway_geom-node:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmNode profile && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-profile-conway_geom-node:win32": "cd .\\dependencies\\conway-geom\\ && call .\\build_win.bat release wasmNode profile && (if not exist Dist (mkdir Dist)) && xcopy .\\bin\\release\\* Dist\\ /Y/r && copy /Y ConwayGeomWasm.d.ts Dist\\ && (if not exist ..\\..\\compiled\\dependencies\\conway-geom\\Dist (mkdir ..\\..\\compiled\\dependencies\\conway-geom\\Dist)) && xcopy .\\bin\\release\\* ..\\..\\compiled\\dependencies\\conway-geom\\Dist\\ /Y/r",
    "build-profile-conway_geom-web:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh release wasmWeb profile && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist",
    "build-profile-conway_geom-web:win32": "cd .\\dependencies\\conway-geom\\ && call .\\build_win.bat release wasmWeb profile && (if not exist Dist (mkdir Dist)) && xcopy .\\bin\\release\\* Dist\\ /Y/r && copy /Y ConwayGeomWasm.d.ts Dist\\ && (if not exist ..\\..\\compiled\\dependencies\\conway-geom\\Dist (mkdir ..\\..\\compiled\\dependencies\\conway-geom\\Dist)) && xcopy .\\bin\\release\\* ..\\..\\compiled\\dependencies\\conway-geom\\Dist\\ /Y/r",
    "clean-conway_geom:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh clean",
    "clean-conway_geom:win32": "cd ./dependencies/conway-geom/ && call .\\build_win.bat clean",
    "build-test-conway_geom:darwin": "cd ./dependencies/conway-geom/ && ./build_osx.sh test",
    "build-test-conway_geom:win32": "cd ./dependencies/conway-geom/ && .\\build_win.bat test"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "dependencies": {
    "seedrandom": "3.0.5",
    "three": "^0.173.0",
    "yargs": "17.7.1"
  },
  "devDependencies": {
    "@babel/core": "7.18.10",
    "@eslint/compat": "^1.2.7",
    "@eslint/eslintrc": "^3.3.0",
    "@eslint/js": "^9.21.0",
    "@types/node": "18.11.9",
    "@types/seedrandom": "3.0.5",
    "@types/three": "^0.173.0",
    "adm-zip": "^0.5.16",
    "babel-jest": "28.1.3",
    "concurrently": "7.5.0",
    "cross-env": "^7.0.3",
    "esbuild": "0.25.0",
    "eslint": "9.21.0",
    "eslint-config-google": "0.14.0",
    "eslint-plugin-cypress": "2.12.1",
    "eslint-plugin-import": "2.31.0",
    "eslint-plugin-jest-dom": "5.5.0",
    "eslint-plugin-jsdoc": "50.6.3",
    "eslint-plugin-jsx-a11y": "6.10.2",
    "eslint-plugin-node": "11.1.0",
    "eslint-plugin-react": "7.37.4",
    "eslint-plugin-react-hooks": "5.2.0",
    "express": "^4.21.2",
    "globals": "^16.0.0",
    "husky": "8.0.3",
    "install": "0.13.0",
    "jest": "29.6.2",
    "node-notifier": "10.0.1",
    "nodemon": "2.0.20",
    "parcel": "^2.13.3",
    "process": "^0.11.10",
    "rimraf": "3.0.2",
    "run-script-os": "1.1.6",
    "shx": "^0.3.4",
    "ts-add-js-extension": "^1.6.5",
    "ts-jest": "29.0.3",
    "ts-node": "10.9.1",
    "typedoc": "0.26.11",
    "typedoc-plugin-markdown": "4.2.10",
    "typescript": "4.9.3",
    "typescript-eslint": "8.25.0",
    "vite": "^6.2.3"
  },
  "type": "module"
}
