npm installnpm run buildThis compiles TypeScript to JavaScript in the dist/ directory.
npm run build:bundleThis creates a single bundled JavaScript file at public/validator.bundle.js that can be used directly in HTML without a web server.
npm testRuns the test suite with various mod code examples.
The property schemas and type aliases are extracted from C# class files using extract_schema.cjs:
node extract_schema.cjsThis generates src/mod-schema.json
Note: The extraction script expects the decompiled C# source code in ../Tactics/ directory. The pre-generated schema is already included in src/mod-schema.json, so you don't need to run extraction unless updating from new C# code.