Skip to content

A TypeScript toolkit for developing and managing scripts for AI Dungeon

License

Notifications You must be signed in to change notification settings

klimkin/ai-dungeon-ts-toolkit

Repository files navigation

AI Dungeon TypeScript Toolkit

The AI Dungeon TypeScript Toolkit is a repository template that enables developers to build custom scripts for AI Dungeon using TypeScript. Use modules, write unit-tests, and import packages to enhance your scripting capabilities!

Features

  • Write scripts in TypeScript, a statically-typed superset of JavaScript.
  • Format your code with Prettier.
  • Lint your code with ESLint.
  • Write unit-tests with Jest.
  • Package your scripts for deployment with Webpack.

Usage

  1. Clone the repository.
  2. Install the dependencies with npm install.
  3. Edit scripting hooks in the src/mygame.ts file.
  4. Build for deployment with npm run build.
  5. Copy content of the dist/*.js files to the AI Dungeon script editor.

Other commands:

  • npm run lint - Lint the code with ESLint and TypeScript.
  • npm run format - Format the code with Prettier.
  • npm run test - Run the unit-tests with Jest.
  • npm run watch - Watch for changes and test automatically.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A TypeScript toolkit for developing and managing scripts for AI Dungeon

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy