Recommend tsx
continuous-integration/drone/push Build is passing Details

post-data
Clément FRÉVILLE 1 year ago
parent d12dacd89f
commit 801f16c885

@ -0,0 +1,10 @@
kind: pipeline
name: default
type: docker
steps:
- name: build
image: node:20-alpine
commands:
- yarn install
- yarn build

@ -5,6 +5,10 @@ The HTTP backend for the Sandkasten website.
## Compiling and executing
```bash
node_modules/.bin/tsc
node src/server.js
npm install
npm run start
```
## Bun support
Pending [#5019](https://github.com/oven-sh/bun/issues/5019)

@ -2,9 +2,14 @@
"name": "labyrinth",
"module": "src/server.ts",
"type": "module",
"scripts": {},
"scripts": {
"build": "tsc",
"start": "tsx src/server.ts"
},
"devDependencies": {
"bun-types": "^1.0.3"
"bun-types": "^1.0.22",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"typescript": "^5.0.0"

Loading…
Cancel
Save