{"maintainers":[{"name":"admin","email":"shadeeka@ncinga.com"}],"x-nx-rebuilt":"2018-07-09T06:12:00.196+0000","keywords":[],"dist-tags":{"package@0.0.13":"0.0.13","latest":"0.0.13"},"versions":{"0.0.13":{"name":"ncionic-module-template","version":"0.0.13","description":"A template for creating reusable module for Angular 4 and Ionic 3","main":"./dist/index.js","typings":"./dist/index.d.ts","publishConfig":{"registry":"http://repository.southeastasia.cloudapp.azure.com/nexus/content/repositories/npm-internal/"},"scripts":{"ngc":"ngc","build":"rm -rf aot dist && npm run ngc","publishPackage":"npm run build && npm publish"},"repository":{"type":"git","url":"git+https://nCinga@bitbucket.org/nCinga/ncionic-module-template.git"},"keywords":[],"author":"","license":"MIT","homepage":"https://nCinga@bitbucket.org/nCinga/ncionic-module-template#readme","devDependencies":{"@angular/common":"^4.1.1","@angular/compiler":"^4.1.1","@angular/compiler-cli":"^4.1.1","@angular/core":"^4.1.1","@angular/platform-browser":"^4.1.1","@types/node":"^6.0.49","rxjs":">=5.0.0-beta.12","typescript":"^2.0.3"},"readme":"# Ionic Module Template\n\nThis is a template for building your own reusable Angular2/Ionic2 module using TypeScript. Supports Angular's ngc and Ahead-of-Time compiling out of the box.\n\n## Developing\n\nDevelop your module like any other Angular 2 module. Then, run `npm run build` to build a local copy.\n\nWhen you're ready to publish to npm, run `npm publishPackage`.\n\nIf you'd like to test this package, run `npm install ionic-module-template`\n\n## Test module before publishing\n1) run `npm run build` to build the package\n2) go to demo app cd demo/\n3) run `npm install ../ionic-module-template-[version].tgz --save` to install custom module in demo app\n4) do ionic serve in demo app\n## npm configure\n1) npm config set @ncinga:http://repository.southeastasia.cloudapp.azure.com/nexus/content/repositories/npm-internal/\n2) edit .npmrc in your home directory with given user\n\n### mac os and linux\n1)echo -n 'username:password' | openssl base64\n\n2)open .npmrc and put bellow\n`init.author.name = Jane Doe\ninit.author.email = jane@example.com\ninit.author.url = http://blog.example.com\n# an email is required to publish npm packages\nemail=jane@example.com\nalways-auth=true\n_auth=<authtoken for user generated by echo>`\n\n## npm link\n1) run `npm pack`\n2) npm publish <modulename>.tgz --registry http://repository.southeastasia.cloudapp.azure.com/nexus/content/repositories/npm-internal/ --scope=@ncinga --tag=package@<version>\n\n\n\nCurrently, modules must be published to npm. `npm link` packages will not install properly with our webpack confing (something on our list). If you can't push private code to npm, other options are a private npm repo/npm enterprise, or `npm install` from a git repo.\n## Using your module in an Ionic 2 app\n\n```typescript\nimport { NgModule } from '@angular/core';\nimport { IonicApp, IonicModule } from 'ionic-angular';\nimport { MyApp } from './app.component';\nimport { HomePage } from '../pages/home/home';\n\n// Import your module\nimport { MyModule } from 'ionic-module-template';\n\n@NgModule({\n  declarations: [\n    MyApp,\n    HomePage\n  ],\n  imports: [\n    IonicModule.forRoot(MyApp),\n\n    MyModule // Put your module here\n  ],\n  bootstrap: [IonicApp],\n  entryComponents: [\n    MyApp,\n    HomePage\n  ],\n  providers: []\n})\nexport class AppModule {}\n```\n","readmeFilename":"README.md","_id":"ncionic-module-template@0.0.13","_shasum":"88a70adb5af91770626a74806880f3e440de0fc7","_resolved":"file:ncionic-module-template-0.0.13.tgz","_from":"ncionic-module-template-0.0.13.tgz","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"admin","email":"shadeeka@ncinga.com"},"maintainers":[{"name":"admin","email":"shadeeka@ncinga.com"}],"dist":{"shasum":"88a70adb5af91770626a74806880f3e440de0fc7","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ncionic-module-template/-/ncionic-module-template-0.0.13.tgz"}}},"name":"ncionic-module-template","description":"A template for creating reusable module for Angular 4 and Ionic 3","readme":"# Ionic Module Template\n\nThis is a template for building your own reusable Angular2/Ionic2 module using TypeScript. Supports Angular's ngc and Ahead-of-Time compiling out of the box.\n\n## Developing\n\nDevelop your module like any other Angular 2 module. Then, run `npm run build` to build a local copy.\n\nWhen you're ready to publish to npm, run `npm publishPackage`.\n\nIf you'd like to test this package, run `npm install ionic-module-template`\n\n## Test module before publishing\n1) run `npm run build` to build the package\n2) go to demo app cd demo/\n3) run `npm install ../ionic-module-template-[version].tgz --save` to install custom module in demo app\n4) do ionic serve in demo app\n## npm configure\n1) npm config set @ncinga:http://repository.southeastasia.cloudapp.azure.com/nexus/content/repositories/npm-internal/\n2) edit .npmrc in your home directory with given user\n\n### mac os and linux\n1)echo -n 'username:password' | openssl base64\n\n2)open .npmrc and put bellow\n`init.author.name = Jane Doe\ninit.author.email = jane@example.com\ninit.author.url = http://blog.example.com\n# an email is required to publish npm packages\nemail=jane@example.com\nalways-auth=true\n_auth=<authtoken for user generated by echo>`\n\n## npm link\n1) run `npm pack`\n2) npm publish <modulename>.tgz --registry http://repository.southeastasia.cloudapp.azure.com/nexus/content/repositories/npm-internal/ --scope=@ncinga --tag=package@<version>\n\n\n\nCurrently, modules must be published to npm. `npm link` packages will not install properly with our webpack confing (something on our list). If you can't push private code to npm, other options are a private npm repo/npm enterprise, or `npm install` from a git repo.\n## Using your module in an Ionic 2 app\n\n```typescript\nimport { NgModule } from '@angular/core';\nimport { IonicApp, IonicModule } from 'ionic-angular';\nimport { MyApp } from './app.component';\nimport { HomePage } from '../pages/home/home';\n\n// Import your module\nimport { MyModule } from 'ionic-module-template';\n\n@NgModule({\n  declarations: [\n    MyApp,\n    HomePage\n  ],\n  imports: [\n    IonicModule.forRoot(MyApp),\n\n    MyModule // Put your module here\n  ],\n  bootstrap: [IonicApp],\n  entryComponents: [\n    MyApp,\n    HomePage\n  ],\n  providers: []\n})\nexport class AppModule {}\n```\n","time":{"created":"2017-08-20T03:00:59.510Z","modified":"2018-07-09T06:12:00.196Z","0.0.13":"2017-08-20T03:00:59.510Z"},"homepage":"https://nCinga@bitbucket.org/nCinga/ncionic-module-template#readme"}