From 276535d29d8195b6796ccfe8d500a68b24bfc225 Mon Sep 17 00:00:00 2001 From: ashley zomo Date: Sun, 29 Aug 2021 18:30:47 -0500 Subject: [PATCH] init tsconfig --- package.json | 2 +- index.ts => src/index.ts | 0 tsconfig.json | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) rename index.ts => src/index.ts (100%) create mode 100644 tsconfig.json diff --git a/package.json b/package.json index 14e531d..f6677df 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "discord-soundscapes", "version": "1.0.0", "description": "", - "main": "index.ts", + "main": "src/index.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/index.ts b/src/index.ts similarity index 100% rename from index.ts rename to src/index.ts diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..ccd4403 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "alwaysStrict": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "strict": true, + "lib": [ "ES2020" ], + "rootDir": "src", + "outDir": "dist" + }, + "include": [ + "src/*", + "src/**/*" + ] +} \ No newline at end of file