Skip to content

Conventions and practices

Martin Henz edited this page Sep 24, 2025 · 4 revisions

NPM Packages

We use NPM to deploy self-contained TypeScript/JavaScript packages.

Package names should be prefixed with @sourceacademy.

Package.json Exports vs Main Field

New packages should use the exports field. Old packages should migrate to exports whenever possible.

Clone this wiki locally