npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

flutter-client

v0.0.13

Published

flutter-client CLI

Downloads

9

Readme

Flutter CLI

A CLI for Flutter projects.

Getting Started

This CLI is made for avoid typing some of the most used commands and configurations for building, generation and creation of flutter apps.

Install CLI (WIP)

$ npm install -g flutter-client

Current way to use flutter-client

  • Download repository
  • Enter repository folder using terminal and run
$ npm install
$ npm link

Running CLI

$ flutter-client

Features

  • [x] Build app depending on platform, environment or android build types

WIP

  • [ ] Test app
  • [ ] New project
  • [ ] New app
  • [ ] New library

Environments

  • Production - Used to show the app to the world
  • QA - Used to show the app to the client
  • Staging - Used for development purposes

Platforms

  • Android
  • iOS

Android generation

  • Apk (.apk)
  • Bundle (.aab)

Default configuration for CLI

By default, flutter-client comes with this configuration

module.exports = {
    defaults: {
        mainFileStagingPath: 'lib/main_staging.dart',
        mainFileQAPath: 'lib/main_qa.dart',
        mainFileProductionPath: 'lib/main.dart',
        bundlePath: 'build/app/outputs/bundle/release/',
        apkPath: 'build/app/outputs/apk/release/',
    },
}

Custom configuration for CLI

You can use flutter-client to initialise configuration automatically or you can create a flutter-client.config.js file on root of your project with the following template in order to overwrite configuration:

module.exports = {
    defaults: {
        mainFileStagingPath: 'PATH_TO_FILE',
        mainFileQAPath: 'PATH_TO_FILE',
        mainFileProductionPath: 'PATH_TO_FILE',
        bundlePath: 'PATH_TO_GENERATED_BUNDLE',
        apkPath: 'PATH_TO_GENERATED_APK',
    },
}

Authors

  • Albert Parrón

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details