{ "name": "ai.interactive.fiction", "version": "1.0.0", "description": "A modern take on classic text adventures that combines traditional world modeling with Large Language Models (LLMs) to create natural language interactive fiction experiences.", "main": "index.js", "scripts": { "check:node": "node scripts/check-node-version.js", "prestart": "npm run check:node", "start": "node scripts/run-engine.js start", "prestart:cli": "npm run check:node", "start:cli": "node dist/index.js --cli", "predev": "npm run check:node", "dev": "node scripts/run-engine.js dev", "predev:yaml": "npm run check:node", "dev:yaml": "nodemon --watch src --watch data/worlds --watch config/engines/yaml.json --ext ts,json,yml --exec \"ts-node src/server-yaml.ts\"", "dev:yaml:debug": "powershell -NoProfile -Command \"$env:YAML_DEBUG='1'; npm run dev:yaml\"", "dev:yaml:inspect": "powershell -NoProfile -Command \"$env:YAML_DEBUG='1'; nodemon --watch src --watch data/worlds --watch config/engines/yaml.json --ext ts,json,yml --exec \\\"node --inspect=127.0.0.1:9230 -r ts-node/register src/server-yaml.ts\\\"\"", "predev:cli": "npm run check:node", "dev:cli": "nodemon --watch src --ext ts,json --exec \"ts-node src/index.ts --cli\"", "predev:zcode": "npm run check:node", "dev:zcode": "nodemon --watch src --watch data/zcode-prompts --watch config/engines/zcode.json --ext ts,json,yml --exec \"ts-node src/server-zcode.ts\"", "dev:zcode:debug": "powershell -NoProfile -Command \"$env:ZCODE_DEBUG='1'; npm run dev:zcode\"", "dev:zcode:inspect": "powershell -NoProfile -Command \"$env:ZCODE_DEBUG='1'; nodemon --watch src --watch data/zcode-prompts --watch config/engines/zcode.json --ext ts,json,yml --exec \\\"node --inspect=127.0.0.1:9229 -r ts-node/register src/server-zcode.ts\\\"\"", "predev:ink": "npm run check:node", "dev:ink": "nodemon --watch src --watch data/ink-src --watch config/engines/ink.json --ext ts,json,ink --exec \"ts-node src/server-ink.ts\"", "dev:ink:debug": "powershell -NoProfile -Command \"$env:INK_DEBUG='1'; npm run dev:ink\"", "dev:ink:inspect": "powershell -NoProfile -Command \"$env:INK_DEBUG='1'; nodemon --watch src --watch data/ink-src --watch config/engines/ink.json --ext ts,json,ink --exec \\\"node --inspect=127.0.0.1:9231 -r ts-node/register src/server-ink.ts\\\"\"", "prestart:yaml": "npm run check:node && npm run build", "start:yaml": "node dist/server-yaml.js", "start:yaml:debug": "powershell -NoProfile -Command \"$env:YAML_DEBUG='1'; npm run start:yaml\"", "start:yaml:inspect": "powershell -NoProfile -Command \"$env:YAML_DEBUG='1'; node --inspect=127.0.0.1:9230 dist/server-yaml.js\"", "prestart:zcode": "npm run check:node && npm run build", "start:zcode": "node dist/server-zcode.js", "start:zcode:debug": "powershell -NoProfile -Command \"$env:ZCODE_DEBUG='1'; npm run start:zcode\"", "start:zcode:inspect": "powershell -NoProfile -Command \"$env:ZCODE_DEBUG='1'; node --inspect=127.0.0.1:9229 dist/server-zcode.js\"", "prestart:ink": "npm run check:node && npm run build", "start:ink": "node dist/server-ink.js", "start:ink:debug": "powershell -NoProfile -Command \"$env:INK_DEBUG='1'; npm run start:ink\"", "start:ink:inspect": "powershell -NoProfile -Command \"$env:INK_DEBUG='1'; node --inspect=127.0.0.1:9231 dist/server-ink.js\"", "pretest-server": "npm run check:node", "test-server": "ts-node src/test-server-yaml.ts", "build": "tsc", "test": "jest", "lint": "eslint --ext .ts src/", "lint:fix": "eslint --ext .ts src/ --fix" }, "engines": { "node": ">=18.17" }, "keywords": [], "author": "", "license": "ISC", "type": "commonjs", "devDependencies": { "@types/express": "^5.0.1", "@types/jest": "^29.5.14", "@types/js-yaml": "^4.0.9", "@types/node": "^22.13.14", "@typescript-eslint/eslint-plugin": "^8.29.0", "@typescript-eslint/parser": "^8.29.0", "eslint": "^9.23.0", "jest": "^29.7.0", "nodemon": "^3.1.9", "playwright": "^1.60.0", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "typescript": "^5.8.2" }, "dependencies": { "axios": "^1.8.4", "cors": "^2.8.5", "dotenv": "^16.4.7", "express": "^5.1.0", "hyphenopoly": "^6.0.0", "ifvms": "^1.1.6", "inkjs": "^2.4.0", "js-yaml": "^4.1.0", "kokoro-js": "^1.2.0", "marked": "^15.0.12", "openai": "^4.91.0", "socket.io": "^4.8.1" } }