init project

This commit is contained in:
Benjamin Wegener
2023-10-05 10:15:36 +01:00
commit 7f9d62e06c
5 changed files with 49 additions and 0 deletions

15
README.md Normal file
View File

@@ -0,0 +1,15 @@
# layc
To install dependencies:
```bash
bun install
```
To run:
```bash
bun run lib/index.js
```
This project was created using `bun init` in bun v1.0.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

BIN
bun.lockb Executable file

Binary file not shown.

22
jsconfig.json Normal file
View File

@@ -0,0 +1,22 @@
{
"compilerOptions": {
"lib": ["ESNext"],
"module": "esnext",
"target": "esnext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"allowImportingTsExtensions": true,
"noEmit": true,
"composite": true,
"strict": true,
"downlevelIteration": true,
"skipLibCheck": true,
"jsx": "preserve",
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"types": [
"bun-types" // add Bun global
]
}
}

1
lib/index.js Normal file
View File

@@ -0,0 +1 @@
console.log("Hello via Bun!");

11
package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "layc",
"module": "lib/index.js",
"type": "module",
"devDependencies": {
"bun-types": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}