Because nothing about quality-based narratives is actually simple.
Expression Language Change
While the Grams format works well for Twine-related projects, the MongoDB query language allows for a broader definition of expressions using multiple comparsions and operator usages in a single statement.
History and Documentation
HonKit is used to create a history and documentation of this project.
JSDocs is also used for the API documentation.
npm testruns the Jest-based test files. (Internally, Babel is used to transform the source for testing.)
npm run lintlints the files in
srcfolder using ESLint.
npm run lint:testlints the files in
testfolder using ESLint with Jest settings.
npm run docsgenerates
docsHTML content based on Markdown files stored in
npm run docs:servecreates a local HTTP server serving the files in
notesfrom a created
_bookdirectory by HonKit.
npm run builduses WebPack to bundle the files for use in browser-based projects. It creates globals based on each of the classes (Card, Deck, Expression, QualitySet, and State) of the project.