diff --git a/.npmignore b/.npmignore index b4b8edb..18a28f0 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,9 @@ -src -node_modules -.gitignore -.npmignore -tsconfig.json -.idea -aot \ No newline at end of file +src +node_modules +.gitignore +.npmignore +tsconfig.json +.idea +aot +*.ngfactory.* +*.ngsummary.* \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index e8cc00b..4064f53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,92 +5,78 @@ "requires": true, "dependencies": { "@angular/common": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-5.0.0.tgz", - "integrity": "sha1-+W1mpRe5ldG6mygwnxXC41lnWCU=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-5.0.1.tgz", + "integrity": "sha1-QwBas8i4/68Xaq+zuGupMcPkvfk=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "@angular/compiler": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-5.0.0.tgz", - "integrity": "sha1-uf+/GMijnYt9rOxHMZOpDiTMK8k=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-5.0.1.tgz", + "integrity": "sha1-f9TH+ku770wUaWL6lGuCczCmyO0=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "@angular/compiler-cli": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-5.0.0.tgz", - "integrity": "sha1-Dsu5N9hKT43ZTwwqR7B9LkaUyFM=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-5.0.1.tgz", + "integrity": "sha1-Um3BuzlPsWrZFmAe6pqgDrRLT/8=", "dev": true, "requires": { "chokidar": "1.7.0", "minimist": "1.2.0", "reflect-metadata": "0.1.10", "tsickle": "0.24.1" - }, - "dependencies": { - "tsickle": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/tsickle/-/tsickle-0.24.1.tgz", - "integrity": "sha512-XloFQZhVhgjpQsi3u2ORNRJvuID5sflOg6HfP093IqAbhE1+fIUXznULpdDwHgG4p+v8w78KdHruQtkWUKx5AQ==", - "dev": true, - "requires": { - "minimist": "1.2.0", - "mkdirp": "0.5.1", - "source-map": "0.5.6", - "source-map-support": "0.4.15" - } - } } }, "@angular/core": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-5.0.0.tgz", - "integrity": "sha1-T5dqIl993fNJkvLK2CTJVDpG9Mg=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-5.0.1.tgz", + "integrity": "sha1-pKdK/H4gWNMLgmPrbWbarOn0J7o=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "@angular/forms": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-5.0.0.tgz", - "integrity": "sha1-x/3fo1OWdZrphSkgowzdqMQe0d4=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-5.0.1.tgz", + "integrity": "sha1-afMDxME9o8qg3mNDdYg4i2rWKyE=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "@angular/http": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/http/-/http-5.0.0.tgz", - "integrity": "sha1-Byiivgz7sHhyfF64fUyF1T/smlE=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/http/-/http-5.0.1.tgz", + "integrity": "sha1-NQy99jz6yJOWE9dT/wce1YpgVhs=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "@angular/platform-browser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-5.0.0.tgz", - "integrity": "sha1-xwOPfN6AcFtiAUiXIx4YLuyXb+0=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-5.0.1.tgz", + "integrity": "sha1-FIld0w7Sow7nuZx2t2R0j0bBqGI=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "@angular/platform-browser-dynamic": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.0.0.tgz", - "integrity": "sha1-iH4QbIsQOwQVz2FWpCXabYP0yJ0=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.0.1.tgz", + "integrity": "sha1-Fttn1S1FMVY6sVQpxr3+GLwb7cg=", "dev": true, "requires": { - "tslib": "1.7.1" + "tslib": "1.8.0" } }, "JSONStream": { @@ -1500,9 +1486,9 @@ "dev": true }, "source-map-support": { - "version": "0.4.15", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.15.tgz", - "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", "dev": true, "requires": { "source-map": "0.5.6" @@ -1615,16 +1601,28 @@ "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", "dev": true }, + "tsickle": { + "version": "0.24.1", + "resolved": "https://registry.npmjs.org/tsickle/-/tsickle-0.24.1.tgz", + "integrity": "sha512-XloFQZhVhgjpQsi3u2ORNRJvuID5sflOg6HfP093IqAbhE1+fIUXznULpdDwHgG4p+v8w78KdHruQtkWUKx5AQ==", + "dev": true, + "requires": { + "minimist": "1.2.0", + "mkdirp": "0.5.1", + "source-map": "0.5.6", + "source-map-support": "0.4.18" + } + }, "tslib": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.7.1.tgz", - "integrity": "sha1-vIAEFkaRkjp5/oN4u+s9ogF1OOw=", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.8.0.tgz", + "integrity": "sha512-ymKWWZJST0/CkgduC2qkzjMOWr4bouhuURNXCn/inEX0L57BnRG6FhX76o7FOnsjHazCjfU2LKeSrlS2sIKQJg==", "dev": true }, "typescript": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.5.3.tgz", - "integrity": "sha512-ptLSQs2S4QuS6/OD1eAKG+S5G8QQtrU5RT32JULdZQtM1L3WTi34Wsu48Yndzi8xsObRAB9RPt/KhA9wlpEF6w==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.2.tgz", + "integrity": "sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ=", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index d647e23..f302d99 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { + "ngc": "ngc", "build": "rm -rf aot dist && ngc", "postbuild": "npm run copy:scss", "copy:scss": "cp src/components/super-tabs.scss dist/components/", @@ -16,19 +17,19 @@ "license": "MIT", "repository": "https://github.com/zyra/ionic2-super-tabs", "devDependencies": { - "@angular/common": "5.0.0", - "@angular/compiler": "5.0.0", - "@angular/compiler-cli": "5.0.0", - "@angular/core": "5.0.0", - "@angular/forms": "5.0.0", - "@angular/http": "5.0.0", - "@angular/platform-browser": "5.0.0", - "@angular/platform-browser-dynamic": "5.0.0", + "@angular/common": "5.0.1", + "@angular/compiler": "5.0.1", + "@angular/compiler-cli": "5.0.1", + "@angular/core": "5.0.1", + "@angular/forms": "5.0.1", + "@angular/http": "5.0.1", + "@angular/platform-browser": "5.0.1", + "@angular/platform-browser-dynamic": "5.0.1", "conventional-changelog-cli": "^1.3.4", "ionic-angular": "3.9.2", "ionicons": "3.0.0", "rxjs": "5.5.2", - "typescript": "2.5.3", + "typescript": "2.4.2", "zone.js": "0.8.18" }, "peerDependencies": { diff --git a/tsconfig.json b/tsconfig.json index e63527e..506d8c9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,29 @@ -{ - "compilerOptions": { - "module": "es2015", - "target": "es5", - "moduleResolution": "node", - "sourceMap": true, - "inlineSources": true, - "declaration": true, - "noImplicitAny": false, - "experimentalDecorators": true, - "skipLibCheck": true, - "lib": [ - "dom", - "es2015" - ], - "outDir": "dist" - }, - "exclude": [ - "node_modules", - "dist" - ], - "angularCompilerOptions": { - "genDir": "aot" - } +{ + "compilerOptions": { + "module": "es2015", + "target": "es5", + "moduleResolution": "node", + "sourceMap": true, + "inlineSources": true, + "declaration": true, + "noImplicitAny": false, + "experimentalDecorators": true, + "skipLibCheck": true, + "lib": [ + "dom", + "es2015" + ], + "outDir": "dist", + "rootDir": "src" + }, + "include": [ + "src/**/*.ts" + ], + "exclude": [ + "node_modules" + ], + "angularCompilerOptions": { + "genDir": "aot", + "debug": true + } } \ No newline at end of file