Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@govtechsg/generator-react-base

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govtechsg/generator-react-base

Get started with a fully extensible React.js application.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

[WIP] React Project Base

Get started with a fully extensible React.js application built from empirical best practices.

What's Included?

Server-side

  • Express for the base-server
  • Secure
  • CORS-enabled
  • CSP-enabled
  • Prometheus metrics endpoint
  • Health check endpoint
  • Readiness check endpoint

Tooling

  • Babel for ES6-compatibility
  • Webpack for bundling

Testing framework

  • Karma for running tests
  • Mocha for the test framework
  • Chai as the assertion library
  • Sinon as the mocking library

How Do I Use This?

Via Yeoman Generator

Run:

npm install -g generator-react-base;

Via Docker Image

Create a Dockerfile with the following contents:

FROM govtechsg/react-base:v16
COPY . /app
RUN yarn

FAQs

Package last updated on 15 Jan 2018

Did you know?

Socket

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