diff --git a/package.json b/package.json index af4dee4d..488e447b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-infinite-scroll", - "version": "0.4.0-0", + "version": "0.4.0-2", "description": "Build an Angular library compatible with AoT compilation and Tree shaking", "main": "./bundles/ngx-infinite-scroll.umd.js", "module": "./modules/ngx-infinite-scroll.es5.js", @@ -10,6 +10,7 @@ "test": "karma start", "pack-lib": "npm pack ./dist", "publish-lib": "npm publish ./dist", + "publish:beta": "npm publish --tag beta ./dist", "compodoc": "compodoc -p tsconfig.json", "compodoc-serve": "compodoc -s" }, diff --git a/rollup.config.js b/rollup.config.js index da2fe839..cfc668f9 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,9 +1,9 @@ export default { - entry: './dist/modules/angular-library-starter.es5.js', - dest: './dist/bundles/angular-library-starter.umd.js', + entry: './dist/modules/ngx-infinite-scroll.es5.js', + dest: './dist/bundles/ngx-infinite-scroll.umd.js', format: 'umd', exports: 'named', - moduleName: 'ng.angularLibraryStarter', + moduleName: 'ng.ngxInfiniteScroll', external: [ '@angular/core', '@angular/common',