Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

gev

Package Overview
Dependencies
16
Maintainers
1
Versions
57
Issues
File Explorer

Advanced tools

gev

Generates boilerplates

    2.11.0latest

Version published
Maintainers
1
Yearly downloads
3,497
increased by244.53%

Weekly downloads

Changelog

Source

2.11.0 - 2022-05-09

all

  • Improved eslint and tsconfig files. It now lints .js files, like config files.

expo

  • Added eas.json. It doesn't mean you need to use EAS or dev-client, you may still use Expo Go and Classic build, although EAS allows you to build for iOS without a Mac.
  • Added app.config.js with some cool defaults and configs pattern.
  • Added metro.config.js and babel.config.js with configs for common libs.
  • Added yarn patterns to .gitignore
  • Added withDisableForcedDarkModeAndroid EAS plugin.
  • Added new dependencies.
  • Added ./index.js to support EAS.
  • Improved jest config files.

Readme

Source

PRs Welcome TypeScript npm npm

gev

A slightly opinionated central way to fastly create new projects with a single command.

Creating every single Typescript project environment is a real pain. Takes lots of minutes, sufferings and procrastinations to leave it functional and in the way I feel confortable to work with. We know how boring it really is.

There is a templates directory that contains all flavors boilerplates generated using the latest gev version.

📖 Usage:

npx gev <flavor> # To use the current directory as destination and package name. Directory emptiness will be checked. npx gev <flavor> <newPackageName> # To create a new directory and use it as the package name. Directory existence will be checked. npx gev -h # For help and all commands and options available.

Current available flavors are:

ts: Typescript project

expo: Expo project.

expo-pkg: React-Native/Expo components package. It's called expo because it will have a expo sandbox directory for testing your component.

All the flavors uses Typescript.

To supress the [email protected] possible npx confirmation message, you can use npx -y gev.

🔮 Future

  • Add Paypal donate button to the end of READMEs (or as a badge). Also funding.yml file.

  • Interactive menu to add other badges and the paypal button to the README.

  • jest integration

  • Allow custom setups. It could be something like npx gev -u githubUsername. This could really be a good way for people to have their own environment setup without too much work.

  • Use npm get and set for local configs. Could store Github username, donation link, some package.json defaults and custom gev scripts to be used as default.

  • npx gev would open an interactive menu to choose the desired initializer or change user options.

📰 Changelog

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc