Skip to content

solution-dist/lib

Repository files navigation


logo


CI Test Coverage Github Repo Issues GitHub Repo stars

  • Quick Start 🔥

    The simplest, fastest, most organized and stable way to build libraries and packages.

    • Setup

      install space first.

      • Create
        > space init <name> -t lib    # This will clone this repo and make some changes to suit your lib.
        > cd <name>                   # Go to the project directory
        > space install               # Install the dependencies
      • Manage
        > space build         # To build your lib
        > space test          # To test  your lib
        > space lint          # To lint  your lib
        > space start         # To start your lib
        > space publish       # To publish on `npm`
      • Fianlly
        # to install your library after publishing on `npm`
        space i {{tag}}
        // to import your library after installing via `space`
        import * as {{name}} from `{{tag}}`;
    line
    • Structure

      • Root
        ┣ assets
        ┃ ┗ ...            #  (logo.png, ..)
        ┃
        ┣ dist
        ┃ ┗ ...            # (main.js, main.js.map, ..)
        ┃
        ┣ src
        ┃ ┗ main.ts        # Main entry point
        ┃
        ┣ test
        ┃ ┗ main.test.ts   # Main test file
        ┃
        ┣ .env              # Environment configuration file
        ┗ .space            # Space configuration file
        
        # You can safely hide/ignore the rest of files.


About

Build faster | Sleep better

Resources

License

Stars

Watchers

Forks