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