cra-template-rescript-snowpack

1.1.0 • Public • Published

cra-template-rescript-snowpack

npm npm downloads per month

ReScript + React + Snowpack template for Create React App

Usage

use with npx

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

or with yarn

yarn create react-app --template=rescript-snowpack my-rescript-snowpack-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:sp

# Build snowpack and rescript app
npm run build

# Build rescript app with dependencies
npm run build:re

# Build snowpack
npm run build:sp

# Clear rescript lib folder 
npm run clean

Tests

This template does not include a test runner by default.

Settings included

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i cra-template-rescript-snowpack

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

330 kB

Total Files

34

Last publish

Collaborators

  • vaclav_hrach