{"_id":"@civ-clone/core-city-growth","_rev":"6-e18b9703c4d8ec1f5796c56b285a7f60","name":"@civ-clone/core-city-growth","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@civ-clone/core-city-growth","version":"0.1.0","keywords":["typescript","civilization"],"author":{"name":"dom111","email":"dom111@users.noreply.github.com"},"license":"MIT","_id":"@civ-clone/core-city-growth@0.1.0","maintainers":[{"name":"dom111","email":"npm@dom111.co.uk"}],"homepage":"https://github.com/civ-clone/core-city-growth#readme","bugs":{"url":"https://github.com/civ-clone/core-city-growth/issues"},"dist":{"shasum":"979ecba318c4d2426cc9691f3c574da07ad35d6a","tarball":"https://registry.npmjs.org/@civ-clone/core-city-growth/-/core-city-growth-0.1.0.tgz","fileCount":52,"integrity":"sha512-oONTiSMk8+0DAwORdx3csnWvZrqYil8Ol+zus6sSy5MCxEHdHOYuGFx0CW5Nf3cyIHTL3tzD1Xfc5HeMWkgmWA==","signatures":[{"sig":"MEYCIQCbP8OpFJO3AcVr4jYn6IIHwLQ6jdnwwIGtkzgsZ89vBgIhANEPB27kHcPrusWgBybP92husLXK70j/OwMJEJYSxHi8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/gtKCRA9TVsSAnZWagAAl8QP/3eqCQz2pj2TD1w/ifSZ\nXGZjsZ2TbwonclQMsjWD1NyNSO0RWqeONW2LMZAqvPWi85kWnCtfQQ4tZ3R9\nKolG8XHUQyI62+R43y2VKiytstNTidq8kWmBOTF5D3lUFhsoyVb1mQ9EOVoL\nY2Kd+A2xOHaiKfsgQIbTZ18o01vANPVftm45qWNire+HVHh8rkoorCx2DzHD\nE6qRVMKzSXZqKyJf2bV5e60BbRbRmAdLQVSW5aGL/qKD2q3GGmiSUgwsrq5h\ni7xPrnbPX7jSd7j2j/JKR6Qxil2oHUhYe5wKA4xc7OCfiCmvcBTdHtcRWgHD\nCyUPEKq7n47L7t6NAJ6O9WPI5GprKS/BTNPJh5Gk6KHJkEEzMLDlFrrwLvYV\nUK8SEnTDT0M9/FoIHnNcskSIGKdZANl1yIH6sdmTOkuRp5AzYiVhZQiOmNHD\ndywIXsheAmo3e0PZHrDlANvnkEY+iDekfisJVFLSB25QdPYrm5IJ+hb88/7L\nnVwoHuxZN9HAMjZAE81vInISjgvSEahCRffCifKWaQ0tIpbFjV2b1+mT48kE\n4cHfeWBl2dmOVUxVNv/bqBbRLgNHbXG24+5aef9gtKgsYVkz+wlSdrjPkFsK\nVwYW4d73eWkk1yeH6P5IiGyTb73Rhej3banl5kETKXbekynJpxHeFtWu13fe\nDtUz\r\n=5Y28\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"fc5a1b426a8fc9ee5c862713305c81d3f558d5aa","private":false,"scripts":{"test":"ts-mocha ./tests/*.test.ts","build":"npm run ts:compile && npm run prettier:format","ts:compile":"tsc --build tsconfig.json","test:coverage":"c8 ts-mocha ./tests/*.test.ts","prettier:check":"prettier --config .prettierrc '**/*.ts'","prettier:format":"prettier --config .prettierrc '**/*.ts' --write"},"_npmUser":{"name":"dom111","email":"npm@dom111.co.uk"},"repository":{"url":"git+ssh://git@github.com/civ-clone/core-city-growth.git","type":"git"},"_npmVersion":"6.14.11","description":"This is a template repo.","directories":{},"_nodeVersion":"14.4.0","dependencies":{"@civ-clone/core-city":"^0.1.0","@civ-clone/core-rule":"^0.1.0","@civ-clone/core-yield":"^0.1.0","@civ-clone/core-registry":"^0.1.0","@civ-clone/core-data-object":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.4.0","chai":"^4.2.0","mocha":"^8.2.1","prettier":"^2.1.2","ts-mocha":"^8.0.0","chai-spies":"^1.0.0","typescript":"^4.0.3","@types/chai":"^4.2.14","@types/node":"^14.11.2","@types/mocha":"^8.2.0","@types/chai-spies":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-city-growth_0.1.0_1610484553719_0.5697738751266372","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@civ-clone/core-city-growth","version":"0.1.1","keywords":["typescript","civilization"],"author":{"name":"dom111","email":"dom111@users.noreply.github.com"},"license":"MIT","_id":"@civ-clone/core-city-growth@0.1.1","maintainers":[{"name":"dom111","email":"npm@dom111.co.uk"}],"homepage":"https://github.com/civ-clone/core-city-growth#readme","bugs":{"url":"https://github.com/civ-clone/core-city-growth/issues"},"dist":{"shasum":"5fc0de05ba9dcb8910a9cb4f5dcb5abb3cbdf2db","tarball":"https://registry.npmjs.org/@civ-clone/core-city-growth/-/core-city-growth-0.1.1.tgz","fileCount":57,"integrity":"sha512-i1rA543y824Gd49ymthvo8eun1OPtWaAtxRTT7QRDC4JOW8e2IuBTMH3t94wx3os0ZwbBtJBAEMuFSZV2Crr9Q==","signatures":[{"sig":"MEUCICeM92OLCU+EUH+i2vaXwgOtJP1q32KUCJeScR2YqjHtAiEApQMCO3v942rrsB///NqjEswuulO9EO3gagTV8cN6jJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLTzjCRA9TVsSAnZWagAA3YQP/2iNOXV+v22yMRTmY3gi\nUJ9GyE9kK6U4JWialsWkPVwi8lvlFLkUQtlV6QuDpACn+5X9hnNLOwcDlXb4\n5etnBYX+lzZY2XnvktM1Qal4cbXivnGhkgtzvqr7rnrDZT68EEfgEa17E9rk\nCD0S+KdvgXsKPbVjN8yJ+4j5/cikN29x+LFxQReznCvqhRBpzZD+z61fLw8l\nV4zDh1hzSHdSbl5n+P8THyRDqZids9qGicmJiMoQwew5uYpoVic+1JwhaVfH\nOD9AdZHDW/1iN8z5E/E4qgNHaDZPXG5mNZMrVJli7U6BWC5IT7ln9QsIPHXu\nWMbeuOC+TRqK2Poa/hg8NkqdcaE4kNth5V3OA6nXn5mUvGE8vc3A38NmGHCk\nEMOGVZmykSJPxDCd7S2krRjNSYfwynat20n1HhZXZul5293frsgmmhHUKdmw\nlBiNzrcxvJXjHOqZkZ0vR7AhgkBU4EaR0rhz5yXJjCQsx5D22ugRVhMQR5AC\ncXriHdGZRbyKYxaVXa33rL+CkWicZ9a7ZaBHOAaEcl+PHKMSoov+FI9QpDjG\nauYxKMTIhVq3pebCyMEtXwRsxxBii26MMglJ2ayzYMFfHmgwa/ucGLF/Usz0\nQ/8QYHgoZ+Bn1xcPAEgCrjBjDR8+acyrozcAFW/X1PYhlC+ieH/9vYCxn793\nHUD/\r\n=xdtd\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"f0bfdb05c040e13328f283d8e51aa63dc66b1bdb","private":false,"scripts":{"test":"ts-mocha ./tests/*.test.ts","build":"npm run ts:compile && npm run prettier:format","ts:compile":"tsc --build tsconfig.json","test:coverage":"c8 ts-mocha ./tests/*.test.ts","prettier:check":"prettier --config .prettierrc '**/*.ts'","prettier:format":"prettier --config .prettierrc '**/*.ts' --write"},"_npmUser":{"name":"dom111","email":"npm@dom111.co.uk"},"repository":{"url":"git+ssh://git@github.com/civ-clone/core-city-growth.git","type":"git"},"_npmVersion":"6.14.11","description":"This is a template repo.","directories":{},"_nodeVersion":"14.4.0","dependencies":{"@civ-clone/core-city":"^0.1.0","@civ-clone/core-rule":"^0.1.0","@civ-clone/core-yield":"^0.1.0","@civ-clone/core-registry":"^0.1.0","@civ-clone/core-data-object":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.4.0","chai":"^4.2.0","mocha":"^8.2.1","prettier":"^2.1.2","ts-mocha":"^8.0.0","chai-spies":"^1.0.0","typescript":"^4.0.3","@types/chai":"^4.2.14","@types/node":"^14.11.2","@types/mocha":"^8.2.0","@types/chai-spies":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-city-growth_0.1.1_1613577442689_0.3363898478861229","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@civ-clone/core-city-growth","version":"0.1.2","keywords":["typescript","civilization"],"author":{"name":"dom111","email":"dom111@users.noreply.github.com"},"license":"MIT","_id":"@civ-clone/core-city-growth@0.1.2","maintainers":[{"name":"dom111","email":"npm@dom111.co.uk"}],"homepage":"https://github.com/civ-clone/core-city-growth#readme","bugs":{"url":"https://github.com/civ-clone/core-city-growth/issues"},"dist":{"shasum":"67689e8ffa3689ce9e761a5b41a1503256f04b25","tarball":"https://registry.npmjs.org/@civ-clone/core-city-growth/-/core-city-growth-0.1.2.tgz","fileCount":57,"integrity":"sha512-8JxBZ4vPmBZpkjXvWnNal9UnPONd8g389MIuJ9stgAsOZqCYw5Vbxoq5vMpqLJrXBljgShIx93uEL12Ly7KC+Q==","signatures":[{"sig":"MEUCIAk5z+B50ykoqL739gh83p4P44r5IHuMiR4OZms/6NHKAiEAptzXB9m7pVWsuhbdLWhq65QVOiqNgKYM9VqCTAdVmAE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUFfhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoffQ//VPW/vNsF0X9nqBWw1kieN4NpzLlwm8mUeEt8A/xE6aTCCt+F\r\ntSlT9dxYSbw9tDBgHRousR4fc1poT2yeNguwTNo0AznK49zEKtLWqjWuEU5W\r\n/JzS4n2c2Jph8TMMJdlx4oysA5YTxyCftiBRCrQIsPgWQdI8jOHfEj3Nz7CB\r\n+Oxjirn4LO29FQ2hoxHy03XU4LUfFQ+nUHXcFVTgZq6DBaZc/+hr4Mj4r+fw\r\nt5+w1rzG5NXCX7PWTUooIPRB22eVoCpis7JEl3AgS8D1XtiaQrzTDoed1U/S\r\nwDEJVotAk+1nqwcN7u4+sUrnzfKZv6LObUTc9zBnPd4euAtBnVxIejLAwIVP\r\nxjWG9+4UuTRxFscGdmzGm22BGxDF/GfQAErvXFcEgXNbBDqymUtitm6kmMZG\r\nKCAkeExvaMTgrAWe9PzDMD7XMRr8CB30PoHejP8buLwsCvzPbEs3Xe/pGe7c\r\nGYgFiQnv7A933EmXl/WZeP4m208sn/n/atkDzZ//Va59yzJ1uvCoPx35IKM1\r\nkm/QaALcxiflNmqpIT0KoTfWJVagW8RpR47RMOkseqxQXdseheZ7kGe+hRKq\r\n2KDPhaeyhuq5EOhPdD/SHXyeUDnluPTs5RCs8yDQ31lOVzp1l3nKVMZRwkkJ\r\nSHAftcJ0694irDZoeGhwr9X5pE8WUQomO/o=\r\n=GzfF\r\n-----END PGP SIGNATURE-----\r\n"},"types":"./index.d.ts","gitHead":"1982ef0e600ec51a7d20c792ba157d3f74fffbba","private":false,"scripts":{"test":"ts-mocha ./tests/*.test.ts","build":"npm run ts:compile && npm run prettier:format","ts:compile":"tsc --build tsconfig.json","test:coverage":"c8 ts-mocha ./tests/*.test.ts","prettier:check":"prettier --config .prettierrc '**/*.ts'","prettier:format":"prettier --config .prettierrc '**/*.ts' --write"},"_npmUser":{"name":"dom111","email":"npm@dom111.co.uk"},"repository":{"url":"git+ssh://git@github.com/civ-clone/core-city-growth.git","type":"git"},"_npmVersion":"8.19.1","description":"Methods relating to the changing size of `City`s.","directories":{},"_nodeVersion":"18.1.0","dependencies":{"@civ-clone/core-city":"^0.1.0","@civ-clone/core-rule":"^0.1.0","@civ-clone/core-yield":"^0.1.0","@civ-clone/core-registry":"^0.1.0","@civ-clone/core-data-object":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0","chai":"^4.0","mocha":"^9.0","prettier":"^2.0","ts-mocha":"^9.0","chai-spies":"^1.0.0","typescript":"^4.0","@types/chai":"^4.0","@types/node":"^16.0","@types/mocha":"^9.0","@types/chai-spies":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-city-growth_0.1.2_1666209761175_0.9032028867465349","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@civ-clone/core-city-growth","version":"0.1.3","keywords":["typescript","civilization"],"author":{"name":"dom111","email":"dom111@users.noreply.github.com"},"license":"MIT","_id":"@civ-clone/core-city-growth@0.1.3","maintainers":[{"name":"dom111","email":"npm@dom111.co.uk"}],"homepage":"https://github.com/civ-clone/core-city-growth#readme","bugs":{"url":"https://github.com/civ-clone/core-city-growth/issues"},"dist":{"shasum":"e1f49086e3beaec9e0074cbf44ce15a494095b93","tarball":"https://registry.npmjs.org/@civ-clone/core-city-growth/-/core-city-growth-0.1.3.tgz","fileCount":57,"integrity":"sha512-2wmC7OAdw/1PdG8zdtWDupKyimihH7MzDAo5qWPhyZvRGSr/SPL1bnWjP0eVKxcw38EswrfCxH34TtChenYvig==","signatures":[{"sig":"MEQCIC1v3IY/xb9S4kPudxdTvXcm7T6yssgYbsogjlZ3EXFsAiAIxQKNjE+XRzcy6fOASt//dlz38xh6FbKIRbGnAPFS1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDMbjQczM2QLagTWklMdiIiSfWwpPuK62UfpED1xJDhzQIgNdu30xCYzBxToDNg6vuXLdBlgrKv4zJlr3HJjfLcsao=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23548},"types":"./index.d.ts","gitHead":"5825f83815b806a3723abfc2ad6c32a4d20538b6","private":false,"scripts":{"test":"ts-mocha ./tests/*.test.ts","build":"npm run ts:compile && npm run prettier:format","ts:compile":"tsc --build tsconfig.json","test:coverage":"c8 ts-mocha ./tests/*.test.ts","prettier:check":"prettier --config .prettierrc '**/*.ts'","prettier:format":"prettier --config .prettierrc '**/*.ts' --write"},"_npmUser":{"name":"dom111","email":"npm@dom111.co.uk"},"repository":{"url":"git+ssh://git@github.com/civ-clone/core-city-growth.git","type":"git"},"_npmVersion":"11.6.2","description":"Methods relating to the changing size of `City`s.","directories":{},"_nodeVersion":"24.1.0","dependencies":{"@civ-clone/core-city":"^0.1.0","@civ-clone/core-rule":"^0.1.0","@civ-clone/core-yield":"^0.1.0","@civ-clone/core-registry":"^0.1.0","@civ-clone/core-data-object":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0","chai":"^4.0","mocha":"^9.0","prettier":"^2.0","ts-mocha":"^9.0","chai-spies":"^1.0.0","typescript":"^4.0","@types/chai":"^4.0","@types/node":"^16.0","@types/mocha":"^9.0","@types/chai-spies":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/core-city-growth_0.1.3_1789243581881_0.16348880164560353","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"_id":"@civ-clone/core-city-growth@0.1.4","bugs":{"url":"https://github.com/civ-clone/core-city-growth/issues"},"dist":{"shasum":"94241fc5804a75adeac53e5a34216ce276ad6b1c","tarball":"https://registry.npmjs.org/@civ-clone/core-city-growth/-/core-city-growth-0.1.4.tgz","fileCount":57,"integrity":"sha512-qDF5Ee0478WOsuWu5mybxDLyR7NBWY9Lvc8m0xSEctVo7aeBaznRNeMFHRBsgmGyq01IsUigSfe6UHjPfp73ZA==","signatures":[{"sig":"MEQCIF082kEIx8DzEetFSwwB9jr6pruiT4/KcQuQU1aPOZlYAiBwhhSscZ4IB6VrUy/gwUBZnGLL0WzJunC9wNOd6euj5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFO6/dzjEAwgi2x6pLReQL1SIkYhbn+AnZkMHotL3/mmAiEAua6jpbT4CZ7l9MnEmPmrYM1D+mCOBqY4zWnnt+zqkfM="}],"unpackedSize":23715},"name":"@civ-clone/core-city-growth","types":"./index.d.ts","author":{"name":"dom111","email":"dom111@users.noreply.github.com"},"gitHead":"a5078895b76de1ffd37b9b6bddd5eebc9e58ffe3","license":"MIT","private":false,"scripts":{"test":"ts-mocha ./tests/*.test.ts","build":"npm run ts:compile && npm run prettier:format","ts:compile":"tsc --build tsconfig.json","test:coverage":"c8 ts-mocha ./tests/*.test.ts","prettier:check":"prettier --config .prettierrc '**/*.ts'","prettier:format":"prettier --config .prettierrc '**/*.ts' --write"},"version":"0.1.4","_npmUser":{"name":"dom111","email":"npm@dom111.co.uk"},"homepage":"https://github.com/civ-clone/core-city-growth#readme","keywords":["typescript","civilization"],"repository":{"url":"git+ssh://git@github.com/civ-clone/core-city-growth.git","type":"git"},"_npmVersion":"11.6.2","description":"Methods relating to the changing size of `City`s.","directories":{},"maintainers":[{"name":"dom111","email":"npm@dom111.co.uk"}],"_nodeVersion":"24.1.0","dependencies":{"@civ-clone/core-city":"^0.1.0","@civ-clone/core-rule":"^0.1.0","@civ-clone/core-yield":"^0.1.0","@civ-clone/core-registry":"^0.1.0","@civ-clone/core-data-object":"^0.1.15"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0","chai":"^4.0","mocha":"^9.0","prettier":"^2.0","ts-mocha":"^9.0","chai-spies":"^1.0.0","typescript":"^4.0","@types/chai":"^4.0","@types/node":"^16.0","@types/mocha":"^9.0","@types/chai-spies":"^1.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core-city-growth_0.1.4_1789315992002_0.42876478679795027"}}},"time":{"created":"2021-01-12T20:49:13.511Z","modified":"2026-09-13T16:13:12.232Z","0.1.0":"2021-01-12T20:49:13.836Z","0.1.1":"2021-02-17T15:57:22.820Z","0.1.2":"2022-10-19T20:02:41.398Z","0.1.3":"2026-09-12T20:06:21.988Z","0.1.4":"2026-09-13T16:13:12.080Z"},"bugs":{"url":"https://github.com/civ-clone/core-city-growth/issues"},"author":{"name":"dom111","email":"dom111@users.noreply.github.com"},"license":"MIT","homepage":"https://github.com/civ-clone/core-city-growth#readme","keywords":["typescript","civilization"],"repository":{"url":"git+ssh://git@github.com/civ-clone/core-city-growth.git","type":"git"},"description":"Methods relating to the changing size of `City`s.","maintainers":[{"name":"dom111","email":"npm@dom111.co.uk"}],"readme":"# core-city-growth\n\nMethods relating to the changing size of `City`s.\n\nThe main `CityGrowth` object stores the current state of `Food` for a `City` and has convenience methods for controlling\nwhen a `City`'s size changes. `CityGrowth`s are retrieved via a `CityGrowthRegistry` instance. A `growth` key of\n`AdditionalData` is provided for `City`s automatically.\n\nIncludes the following `Rule`s:\n\n- `Cost` for determining how much `Food` growth requires.\n- `FoodExhausted` when `FoodStorage` is depleted.\n- `FoodLow` triggered when `FoodStorage` is \"low\".\n- `FoodStorage` processed when `CityGrowth.check` is called.\n- `Grow` controls what happens when `CityGrowth.grow` is called.\n- `Shrink` when `CityGrowth.shrink` is called.\n","readmeFilename":"README.md"}