cra-template-rescript-parcel

1.0.1 • Public • Published

cra-template-rescript-parcel

npm npm downloads per month

ReScript + React + Parcel template for Create React App

Usage

use with npx

npx create-react-app --template=rescript-parcel my-rescript-parcel-app

or with yarn

yarn create react-app --template=rescript-parcel my-rescript-parcel-app

Scripts

# Run app with builds and hot reload
npm start

# Start rescript app with watch
npm run start:re

# Run app without builds
npm run start:pa

# Build parcel and rescript app
npm run build

# Build rescript app with dependencies
npm run build:re

# Build parcel with --no-cache flag by default
npm run build:pa

# Clear rescript lib folder 
npm run clean

Tests

This template does not include a test runner by default.

Settings included

  • ReScript syntax (*.res)
  • Parcel configuration
  • Prettier

/cra-template-rescript-parcel/

    Package Sidebar

    Install

    npm i cra-template-rescript-parcel

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    331 kB

    Total Files

    34

    Last publish

    Collaborators

    • vaclav_hrach