Skip to content

leveorxyz/OSM-Tracking

Repository files navigation

OpenStreetMap Tracking Demo

Note: this project uses pnpm, to install pnpm, simply run npm i -g pnpm

Installing dependencies

pnpm i

Running the project

pnpm dev

Building the project

pnpm build

Running the project in production mode

pnpm preview

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
   parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
   },
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list