shakesco_scripts

Last updated:

0 purchases

shakesco_scripts Image
shakesco_scripts Images
Add to Cart

Description:

shakesco scripts

Shakesco Scripts #

Welcome to Shakesco Scripts. The package that contains all those terminal niceties that we use every
day at ShakesCo. It also contains some reusable code and is compatible with both dart and flutter
apps.
Getting Started #
To get started, just download to your flutter/dart project using pub:
$ dart pub add shakesco_scripts
copied to clipboard
Usage #
1. Terminal Niceties #
Localize your app based on 6 predefined languages (en, fr, es, de, ru, zh)
$ dart run shakesco_scripts l10n
copied to clipboard
Generate GraphQL code from the schema
$ dart run shakesco_scripts graphql
copied to clipboard
Clear all generated code
$ dart run shakesco_scripts --clear
copied to clipboard
2. Reusable Code #
You can reuse the following code in your project:

schema.graphql - Copied to your project upon running the graphql codegen tool. This is the main
schema file. DO NOT UPDATE OR DELETE!!!
shakesco_analysis_options.yaml - You can use this to have a predefined code formatting and
linting rules in your project
graphql_utils/shakesco_date_time_serializer.dart - A custom serializer for DateTime objects when
using the graphql codegen tool

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.