Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nxy7/deepkit-bun

Just short example of Deepkit working with bun.
https://github.com/nxy7/deepkit-bun

bun deepkit starter typescript

Last synced: 9 days ago
JSON representation

Just short example of Deepkit working with bun.

Awesome Lists containing this project

README

        

# Deepkit Framework + Bun starter

## Steps to reproduce this repo

- `bun create @deepkit/app`
- `bun install @deepkit/type @deepkit/type-compiler @deepkit/core @deepkit/bun typescript`
- add 'bunfig.toml' according to https://socket.dev/npm/package/@deepkit/bun
- `bun install -D @types/bun` (needed for build.ts file)
- create 'build.ts' file for bun bundler (feel free to copy mine)

```toml
preload = ["@deepkit/bun"]

[install]
peer = true

[test]
preload = ["@deepkit/bun"]
```

## Available commands

- `bun run app`
- `bun run build` - bundles the app into ./out/app.ks