Skip to content

kangasta/week-53

Repository files navigation

week-53

Deploy CI Maintainability Test Coverage

Simple week calendar.

Development

Getting stared

To get development server running on your machine, run:

# Install dependencies and start dev server
npm install
npm run dev

Before committing

Lint code by running npm run lint.

npm run build

Automatically format code by running npm run format.

npm run format

Unit-test the code with npm test.

# Unit test
npm test
# or
npm test -- --coverage
# to also get coverage analysis

Create production build by running npm run build.

# Build
npm run build

# Build with non-root public URL
echo 'PUBLIC_URL="/${path}"' > .env
npm run build

See index.html and navigate.ts for how PUBLIC_URL is being used.