From b3ee95778edd9bb73a4f1f962122118195ff72a5 Mon Sep 17 00:00:00 2001 From: Jeffrey Lanters Date: Sat, 27 Apr 2019 21:17:31 +0200 Subject: [PATCH] Changes dist directory for the typescript compiler --- .gitignore | 9 ++------- .npmignore | 9 ++------- package.json | 2 +- tsconfig.json | 2 +- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 773b550..40151f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,2 @@ -distrubition - - -*.tgz -.node_repl_history -.DS_Store -node_modules \ No newline at end of file +node_modules +distribution \ No newline at end of file diff --git a/.npmignore b/.npmignore index d01a4b1..79e0d4d 100644 --- a/.npmignore +++ b/.npmignore @@ -1,8 +1,3 @@ +node_modules source -.github - - -*.tgz -.node_repl_history -.DS_Store -node_modules \ No newline at end of file +.github \ No newline at end of file diff --git a/package.json b/package.json index ddda4ae..0d589bb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "react-unity-webgl", "version": "7.1.0", "description": "React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.", - "main": "./distrubition/Exports.js", + "main": "./distribution/Exports.js", "scripts": { "start": "tsc --watch", "compile": "tsc", diff --git a/tsconfig.json b/tsconfig.json index 37ae195..3ae1abc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,6 @@ "sourceMap": true, "strict": true, "esModuleInterop": true, - "outDir": "distrubition" + "outDir": "distribution" } }