0.0.1 • Published 9 years ago
ngx-library-starter v0.0.1
ngx-library-starter
Angular >2 library starter with
- AOT compilation.
- Support for external templates and SCSS files.
- Rollup bundling
Usage
- Replace all "ngx-library-starter" with "your-library-name".
- Rename "LibModule" to "YourLibraryNameModule"
and then
npm i
npm run buildHow to work with Demo
Demo project references the library from parent directory.
When you have changes to the library you still have to remove the library files and install again simply by
cd demo
rm -R node_modules/your-library-name
npm iHow to make Demo working
cd demo
npm i
npm startNavigate to the http://localhost:3040
To publish your npm module
Finally
npm login
npm publishTODO
- AOT compilation
- Rollup bundling
- Minify / Uglify
- Demo project
- Bundle component SASS files
- Bundle component templates
- Bundle styleUrls with multiple styles
- Bundle global styles
- CLI/Generator e.g. yo?
0.0.1
9 years ago