Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cra-reason-template

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cra-reason-template

Configuration and scripts for ReasonReact on Create React App.

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

CRA Reason Template

  $ yarn create react-app my-app --scripts-version cra-reason-template

This package includes scripts and configuration to provide an easy way to get started building ReasonReact applications with Create React App.

For getting to know Create React App, please visit its official documentation:

  • Getting Started – How to create a new app.
  • User Guide – How to develop apps bootstrapped with Create React App.

Getting Started

Creating a new application

Using NPM
$ npm install -g create-react-app
$ create-react-app my-app --scripts-version cra-reason-template
Using Yarn
$ yarn create react-app my-app --scripts-version cra-reason-template
Using NPX
$ npx create-react-app my-app --scripts-version cra-reason-template

Running the development server

Using NPM
$ npm run bs:watch
$ npm run start # on a different shell session
Using Yarn
$ yarn bs:watch
$ yarn start # on a different shell session

Creating a production build

Using NPM
$ npm run bs:make
$ npm run build
Using Yarn
$ npm run bs:make
$ yarn build

Origins

This work is based on the work done in reason-scripts. The main difference between both projects is that reason-scripts tries to integrate the BuckleScript toolchain too much (subjective) with Webpack, when they don't really play very well together.

cra-reason-template tries to eschew added complexity by deliberately exposing the BuckleScript compilation as a pre-requisite to launching the Create React App process.

Distributed under the MIT license (see LICENSE).

FAQs

Package last updated on 09 May 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc