Socket
Socket
Sign inDemoInstall

bandito

Package Overview
Dependencies
101
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bandito

Boilerplate for mostly-static React frontends.


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
178 kB
Created
Weekly downloads
 

Readme

Source

bandito

bandito on NPM

Boilerplate for mostly-static React frontends.

About

TL;DR: Existing React/webpack boilerplates scaffold applications with complex state. Bandito scaffolds a minimal, mostly-static frontend with emphasis on modularity.

More details about the build config and workflow coming soon.

Getting Started

In your terminal:

# using node and npm
# install bandito globally

$ npm install bandito -g

# use the bandito command from the CLI to scaffold a project
# template files are copied to the CWD, unless a path is specified

$ bandito [path]
$ npm i
$ npm run dev

In your browser:

http://localhost:3000/

Deploy

The template includes a simple node server for easy deployment to Heroku.

# using heroku-toolbelt
# add the Heroku remote

$ heroku git:remote -a heroku-app-name

# ensure Heroku installs devDependencies

$ heroku config:set NPM_CONFIG_PRODUCTION=false

# run the deploy script

$ npm run deploy

Future

  • Service worker generation
  • Component scaffolding via CLI
  • Element components
    • Image
      • src to require
      • integrate with scroll to lazy load
  • Decorators
    • prevDef
    • stopProp
  • Resize
  • Scroll

License

MIT. © 2016 Michael Cavalea

FAQs

Last updated on 20 Feb 2017

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