tinker-react

MIT License

Stars
0

React Tinker Template

This repository is a template for tinkering with React projects. It uses Parcel to easily bundle up frontend assets that can be deployed to Zeit for sharing.

It makes use of:

  1. Plain HTML for HTML
  2. Stylus for CSS
  3. TypeScript for JavaScript

Use

  1. Clone: git clone https://github.com/jclem/tinker.git and cd into ./tinker
  2. Install dependencies: npm install
  3. Tinker! Edit src/index.html, src/js/index.ts, and src/css/index.styl.

Scripts

A number of scripts are in package.json for developing, building, and deploying:

  • npm run dev This starts a Parcel development server (with live reload, etc.)
  • npm run build This simply builds to the "public" directory (which is .gitignore-ed)
  • npm run deploy This deploys the project Zeit
Related Projects