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-factory

v1.0.0

Published

A CLI Helper utility for Flutter Projects.

Downloads

7

Readme

flutter-factory

Getting started

flutter-factory provides a few useful commands to help you create, configure or refactor a Flutter project.

This cli requires firebase-tools to be installed and authenticated with a Firebase account.

To install the cli tool globally run

$ npm i -g flutter-factory

Now you can run the cli like so:

  • $ flutter-factory [options] [command]
  • $ flf [options] [command]

Commands

Every command has an interactive mode as well as cli options.

There are also general options that can be used with every command:

  • -p --path <path> The Flutter project path
  • -h, --help display help for command
  • -V --version output the version number

Creating a new Flutter project

$ flf create [options] Create Flutter project from flutter-factory template.

This command clones the flutter-factory template repository and lets you configure the name, android package, ios bundle and firebase configuration through an interactive process.

Options:

  • -n --name <name> The name of the Android & IOS App
  • -fn --flutter-name <name> The name of the Flutter App (Dart package)
  • -ap --android-package <name> The Android package name
  • -ib --ios-bundle <name> The Ios bundle name

Other useful commands

$ flf rename [options] Rename Flutter project including Ios and Android app.

Options:

  • -n --name <name> The name of the Android & IOS App
  • -fn --flutter-name <name> The name of the Flutter App (Dart package)
  • -ap --android-package <name> The Android package name
  • -ib --ios-bundle <name> The Ios bundle name

$ flf auth [options] Configure Auth Settings for google_sign_in and flutter_facebook_login

Options:

  • -sg --skip-google Skip google auth configuration
  • -sf --skip-facebook Skip facebook auth configuration
  • -fi --facebook-id <id> Facebook Auth id
  • -fn --facebook-name <name> Facebook Auth name

$ flf firebase [options] Create Ios and Android Firebase app and download configuration files.

Options:

  • -f --firebase <name> The name of the Firebase project
  • -sa --skip-android Skip the Android app creation
  • -an --android-name <name> The name of the Android app in Firebase
  • -ap --android-package <name> The Android app package for Firebase
  • -si --skip-ios Skip the Ios app creation
  • -in --ios-name <name> The name of the Ios app in Firebase
  • -ib --ios-bundle <name> The Ios bundle identifier for Firebase
  • -ia --ios-appstore <name> The Ios Appstore Id for Firebase

$ flf help Display help for command


Contributing

To get started developing this cli clone the development branch.

git clone https://https://github.com/innFactory/flutter-factory.git -b develop

Building

To build your current development version use npm run build

To build and watch your current development version use npm run start

Globally link local development version

If you want to globally link your local development instance you first have to uninstall the release version with

$ npm rm -g flutter-factory

and then you can run the following command in the root directory of the cloned repository.

$ npm link

This gives you access to the "flf" and "flutter-factory" commands globally linked to your current build of the cli

Alternative

Otherwise you can also run the cli from its folder with

$ ts-node src/index.ts [options] [command]


Contributors

Powered by innFactory read about the flutter factory (DE) (EN)