diff --git a/package.json b/package.json index 140f8b96..c15cf1af 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ng2-uploader", "description": "Angular2 File Uploader", - "version": "0.5.13", + "version": "0.5.14", "license": "MIT", "main": "ng2-uploader.ts", "author": "Jan Kuri ", diff --git a/scripts/clean.sh b/scripts/clean.sh index 3cba85b3..8d5ab8cf 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -1,5 +1,5 @@ #!/bin/bash -find src/ -name "*.js" -type f -delete -find src/ -name "*.js.map" -type f -delete -find src/ -name "*.d.ts" -type f -delete +find . -name "*.js" -type f -not -path "./node_modules/*" -delete +find . -name "*.js.map" -type f -not -path "./node_modules/*" -delete +find . -name "*.d.ts" -type f -not -path "./node_modules/*" -delete diff --git a/tsconfig.json b/tsconfig.json index dedae58b..9b5b92d3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,8 +4,8 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "dom"], - "mapRoot": "./", - "module": "es6", + "rootDir": ".", + "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "target": "es5"