tvl-depot/boilerplate
William Carroll 265b691c9b Add @types/node to typescript boilerplate
Parcel uses process.env to expose environment variables. Since process.env is a
Node concept and this boilerplate is for TypeScript projects, we need
@types/node to support these Node types.
2020-03-24 13:29:57 +00:00
..
typescript Add @types/node to typescript boilerplate 2020-03-24 13:29:57 +00:00
README.md Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00

Boilerplate

Storing some boilerplate code to help me reduce the time it takes me to develop and deploy applications.

Usage

Let's say that you would like to create a game for sandbox.wpcarro.dev/game. We will create a new TypeScript project with the following:

$ cp ~/briefcase/boilerplate/typescript ~/briefcase/website/sandbox/game

This initializes the project. To start developing, run:

$ nix-shell
$ yarn run dev