From b04d87b14c6f2adac1857519d74e5fc40bf50236 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Mon, 11 Jul 2022 08:44:25 +0200 Subject: [PATCH] "Initial commit (via bun create)" --- package.json | 8 ++++++++ src/index.js | 1 + tsconfig.json | 9 +++++++++ 3 files changed, 18 insertions(+) create mode 100644 package.json create mode 100644 src/index.js create mode 100644 tsconfig.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..3ee70cd --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "version": "1.0.0", + "name": "setup-bun", + "main": "src/index.js", + "devDependencies": { + "bun-types": "^0.0.83" + } +} \ No newline at end of file diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..73c0265 --- /dev/null +++ b/src/index.js @@ -0,0 +1 @@ +console.log('Hello World'); \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..2051783 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "lib": ["ESNext"], + "module": "esnext", + "target": "esnext", + // "bun-types" is the important part + "types": ["bun-types"] + } +} \ No newline at end of file