duncanmak / bare-lit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bare-Lit

Helpful Links:

Deno Installation | Deno Docs | Drake Docs | Atlas Docs | Playwright Docs | Lit Docs | Open Web Components

Set-Up

Install Deno (why deno?)

Since playwright is not yet compatible with deno, we must use npm for tests

npm i

If using Powershell add drake function below to your $profile

function drake {
    param([Parameter (Mandatory = $true)] [String]$Task)
    deno task drake $Task
}

If using Bash add drake alias below to .bashrc

alias drake="deno task drake"

Running Locally

Start:

drake serve

Start Section:

drake serve-<section-name>

Build:

drake build

Build Section:

drake build-<section-name>

Clear build:

drake clean

Test:

deno task test

About


Languages

Language:TypeScript 95.3%Language:HTML 2.5%Language:Dockerfile 1.2%Language:Shell 1.0%