Giter Club home page Giter Club logo

react-pwa-reference's Introduction

react-pwa-reference

Build Status Codacy Badge Coverage Status Dependency Status devDependency Status

A project boilerplate and reference example for isomorphic universal reactiflux progressive web applications.

Summary

This project is an evolution of flux-react-example and flux-react-example-sw that adds evolved tooling and organization. It's a rather complete, performance minded reference PWA that uses data-driven routes and content from an attached service.

Environment Prerequisites

Just Node. Node >= 4 LTS, recommend 6, nvm

Stack

  • Node
  • Express
  • React (Facebook)
  • Fluxible (Yahoo)
  • sw-toolbox, sw-precache (Google)
  • babel6, gulp4, webpack, eslint, mocha/chai, sass

Setup

  1. git clone https://github.com/localnerve/react-pwa-reference
  2. npm install

Run

Run Production

npm run build:server && npm start

Run Development

npm run dev

Development Tasks

command description
npm run build:list dump the asset build task tree to console
npm run config:dev dump the development config to console
npm run config:prod dump the production config to console
npm run dev lint, build assets, start the server, verbose, NODE_ENV=development
npm run dev:analyze analyze webpack stats file and dump bundle size analysis to console
npm run dev:ccss build css assets, watch and recompile sass on change
npm run dev:debug lint, build assets, start/debug server, NODE_ENV=development, wait debugger attach
npm run dev:perf lint, build assets, scripts w/source maps, start server, NODE_ENV=production
npm run dev:prod lint, build assets, start server, NODE_ENV=production
npm run fixtures:dev build test fixtures from data service, development
npm run fixtures:prod build test fixtures from data service, production
npm run lint run linter on entire project
npm run perfbudget used by CI to test performance budget against service
npm run test run the entire test suite
npm run test:cover run the entire test suite, capture coverage, and report
npm run test:debug build with source maps, start the test suite, wait debugger attach
npm run test:func used by CI to run functional tests against selenium grid

react-pwa-reference's People

Contributors

localnerve avatar greenkeeperio-bot avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.