Socket
Socket
Sign inDemoInstall

@atto-byte/yoga

Package Overview
Dependencies
487
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @atto-byte/yoga

![npm](https://img.shields.io/npm/v/@atto-byte/yoga.svg?style=flat-square) ![npm](https://img.shields.io/npm/dm/@atto-byte/yoga.svg?style=flat-square) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/atto-byte/yoga2/master.svg?styl


Version published
Maintainers
1
Install size
95.0 MB
Created

Readme

Source

Yoga 2 - Forked

npm npm GitHub last commit (branch) PRs Welcome Build Status

Install

  npm install -g @atto-byte/yoga

CLI - Commands


Commands:
  yoga new       Create new yoga project from template
  yoga start     Start the server
  yoga dev       Start the server in dev mode
  yoga scaffold  Scaffold a new GraphQL type
  yoga build     Build a yoga server
  yoga eject     Eject your project

Options:
  --env, -e  Pass a custom NODE_ENV variable
  --help     Show help
  --version  Show version number

Passing ENVs

If you have to following env file .env.staging then you can pass it to Yoga using the commands below

  • dev: yoga dev -e staging
  • start: yoga start -e staging

Roadmap

  • Remove Unnecessary Abstraction
  • Add GraphQL Shield Integration
  • Add Examples
    • GraphQL Shield
    • Express Middleware
  • Add Tests Help Wanted
  • Serverless?

Local Development

  • Warning Any changes to ./examples will not work as these are pulled from the master repo on github when running yoga new
git clone https://github.com/atto-byte/yoga2.git
npm install
npm link

FAQs

Last updated on 07 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc