tvl-depot/boilerplate/typescript
William Carroll cd06990fe3 Debug typescript/default.nix
TL;DR
- Change derivation name
- Point to $src/index.html instead of non-existent index.html
- Prefer defining pkgs as a function argument
2020-03-25 17:01:17 +00:00
..
src Remove math.ts from boilerplate/typescript 2020-03-25 16:47:03 +00:00
.gitignore Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00
default.nix Debug typescript/default.nix 2020-03-25 17:01:17 +00:00
package.json Add @types/node to typescript boilerplate 2020-03-24 13:29:57 +00:00
postcss.config.js Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00
README.md Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00
shell.nix Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00
tailwind.config.js Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00
tsconfig.json Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00
yarn.lock Add @types/node to typescript boilerplate 2020-03-24 13:29:57 +00:00

Frontend Boilerplate

While many times I prefer using alt-languages like ReasonML, ClojureScript, or Elm, sometimes I prefer to write an application using TypeScript. This directory contains the necessary starter code to create these applications.

  • React: Maps application state to UI
  • React-Router: Stateful routing for SPAs
  • Redux: Application state management
  • TypeScript: Type-safety
  • TailwindCSS: Styling library using utility classes
  • Prettier: Source code formatting
  • Jest: Test runner

Developing

$ nix-shell
$ yarn run dev

Building

$ nix-build