From 6b0c1e1ff9579541c9e457308e2e49b6ce264b7d Mon Sep 17 00:00:00 2001 From: Jan Kuri Date: Thu, 9 Nov 2017 12:20:48 +0100 Subject: [PATCH] chore(release): 4.1.2 --- .npmignore | 3 +-- package.json | 5 ++--- tsconfig.bundle.json | 13 ++++++------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.npmignore b/.npmignore index 06e9d75f..7cd0e36b 100644 --- a/.npmignore +++ b/.npmignore @@ -2,5 +2,4 @@ dist/ node_modules/ .DS_Store src/ -index.ts -ngx-uploader.ts +!src/ngx-uploader diff --git a/package.json b/package.json index 8d8c8557..c7ac84ae 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,8 @@ { "name": "ngx-uploader", - "version": "4.1.1", + "version": "4.1.2", "main": "bundles/ngx-uploader.umd.js", "module": "lib/index.js", - "esnext": "lib/index.js", "scripts": { "start": "webpack-dev-server --env.client --env.serve --progress", "start:aot": "webpack-dev-server --env.client --env.serve --env.aot --progress", @@ -12,7 +11,7 @@ "prebuild": "npm run clean", "prebuild:prod": "npm run clean", "clean": "rimraf dist lib bundles ./**/*.ngsummary.*", - "prepublishOnly": "ngc -p tsconfig.bundle.json && webpack --config webpack.dist.js -p" + "prepublishOnly": "tsc -p tsconfig.bundle.json && webpack --config webpack.dist.js -p" }, "repository": { "type": "git", diff --git a/tsconfig.bundle.json b/tsconfig.bundle.json index 8b865a17..d2154afd 100644 --- a/tsconfig.bundle.json +++ b/tsconfig.bundle.json @@ -9,7 +9,7 @@ "experimentalDecorators": true, "declaration": false, "lib": [ - "es2015", + "es2017", "dom" ], "outDir": "lib", @@ -17,10 +17,9 @@ "node_modules/@types" ] }, - "files": [ - "ngx-uploader.ts" - ], - "angularCompilerOptions": { - "skipMetadataEmit": true - } + "include": [ + "index.ts", + "ngx-uploader.ts", + "src/ngx-uploader/**/*.ts" + ] }