| Start |
|---|
Minimal module with service class File structureService and modulePlace your awesome work here. src/awesome.service.ts: src/awesome.module.ts: Make your module and service accessible outside. /index.ts: CompilationIn compilerOptions.paths you need to specify all external modules which you used in your package. /tsconfig.json Specify your externals again /rollup.config.js NPM settingsNow, lets place some instructions for npm /package.json We can also specify what files, npm should ignore /.npmignore Continuous integrationFinally you can set up continuous integration build .travis.yml Demo can be found here: https://github.com/maciejtreder/awesome-angular-module (opens new window) |
Read Article
https://develop.horje.com/learn/1434/reference