commit 7f9d62e06c2ad30f459d16e7d05a5b97c5eae131 Author: Benjamin Wegener Date: Thu Oct 5 10:15:36 2023 +0100 init project diff --git a/README.md b/README.md new file mode 100644 index 0000000..c7c3799 --- /dev/null +++ b/README.md @@ -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. diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..b609b61 Binary files /dev/null and b/bun.lockb differ diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..1449bc3 --- /dev/null +++ b/jsconfig.json @@ -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 + ] + } +} diff --git a/lib/index.js b/lib/index.js new file mode 100644 index 0000000..f67b2c6 --- /dev/null +++ b/lib/index.js @@ -0,0 +1 @@ +console.log("Hello via Bun!"); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..7ad76de --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "layc", + "module": "lib/index.js", + "type": "module", + "devDependencies": { + "bun-types": "latest" + }, + "peerDependencies": { + "typescript": "^5.0.0" + } +} \ No newline at end of file