ngx-library-starter

    0.0.1 • Public • Published

    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 build

    How 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 i

    How to make Demo working

    cd demo
    npm i
    npm start

    Navigate to the http://localhost:3040

    To publish your npm module

    Finally

    npm login
    npm publish
    

    TODO

    • 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?

    Install

    npm i ngx-library-starter

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • ckayacan