feluxe / bs-tea-starter-kit

A bucklescript-tea starter kit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bucklescript-Tea Starter-Kit

Description

A simple and minimal starter kit for bucklescript-tea. This starter kit uses:

Dependencies

  • bs-css

Dev Dependencies

  • bs-platform
  • bucklescript-tea
  • npm-run-all
  • webpack
  • webpack-cli
  • webpack-dev-server

Install

Run the following commands for installation:

git clone https://github.com/feluxe/bs-tea-starter-kit.git

cd bs-tea-starter-kit

npm install

Build

Run this to build the starter kit:

npm run build

Explanation: The above command runs BuckleScript to convert src/Demo.re into src/Demo.bs.js and then it runs Webpack to convert src/Demo.bs.js into a browser compatible dist/bundle.js.

Watch / Server

This watches the src directory for changes and rebuilds the files automatically. It also runs a dev server at localhost:9000, showing the results.

npm run watch

About

A bucklescript-tea starter kit.


Languages

Language:OCaml 83.6%Language:JavaScript 16.4%