diff --git a/.gitignore b/.gitignore index fee9086..85f3332 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules yarn.lock -index.js -index.d.ts -index.js.map \ No newline at end of file +dist/**/*.js* +dist/**/*.d.ts \ No newline at end of file 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 index 0018d4c..5e3b283 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,13 +5,13 @@ "strict": true, "declaration": true, "sourceMap": true, - "outDir": ".", + "outDir": "dist", "lib": [ - "es2015" + "es2015", "dom", "scripthost" ] }, "include": [ - "index.ts" - ], - "exclude": [] + "src/**/*.ts", + "tests/**/*.ts" + ] }