Skip to content

Commit

Permalink
docs: write README
Browse files Browse the repository at this point in the history
  • Loading branch information
LuudJanssen committed Apr 3, 2024
1 parent e89d9cd commit d799650
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Tailwind Staff Software Engineer Application

This is my application for the role as a [Staff Software Engineer](https://tailwindcss.com/careers/staff-software-engineer) at Tailwind. The application is deployed using GitHub Pages at [luudjanssen.github.io/tailwind-application](https://luudjanssen.github.io/tailwind-application/).

Besides providing the requested information, this repository also somewhat serves as a showcase of my work and skills. This repository uses React, Tailwind and [a custom rendering pipeline](./src/build/render.tsx) that renders the React to a static site (without JS). It also uses a custom-built [Tailwind component factory utility](./src/utils/tailwind.tsx) which was ported from private projects.

## Running the project

I use [PNPM](https://pnpm.io/) to manage dependencies:

```bash
pnpm install --ignore-scripts
```

To start the development server:

```bash
pnpm dev
```

## Scripts

The root `package.json` contains a set of scripts you can run, most notably:

- `pnpm build` - Builds the app.
- `pnpm build:copy` - Copies the files in the public directory to the build output.
- `pnpm build:react` - Runs a custom rendering pipeline to render the React app to static HTML.
- `pnpm build:tailwind` - Runs the Tailwind CLI to build the CSS.
- `pnpm clean` - Clean temporary / cache related folders. This does not remove the `node_modules` folder.
- `pnpm clean:build` - Clean the build output.
- `pnpm clean:cache` - Clean the tooling caches (Prettier, ESLint, etc.).
- `pnpm dev` - Run the entier build pipeline in watch mode.
- `pnpm dev:copy` - Copies the files in the public directory to the build output.
- `pnpm dev:react` - Runs a custom rendering pipeline to render the React app to static HTML.
- `pnpm dev:tailwind` - Runs the Tailwind CLI to build the CSS.
- `pnpm format` - Run all code formatters.
- `pnpm format:eslint` - Run ESLint in fix mode.
- `pnpm format:prettier` - Format code with Prettier.
- `pnpm lint` - Run all code linters.
- `pnpm lint:eslint` - Run ESLint.
- `pnpm lint:prettier` - Run Prettier in check mode.
- `pnpm lint:typescript` - Run Typescript type checking.
- `pnpm start` - Serve the build output.

0 comments on commit d799650

Please sign in to comment.