Skip to content

feluxe/bs-tea-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published