HOKGroup / TrajectoryNext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the picture

For Windows Configure Git; git config --global core.autocrlf false

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in development mode. Open http://localhost:5173 to view it in the browser.

npm run build

Builds the app for production to the dist folder.

npm run preview

Locally preview production build.

npm run lint

Lint using eslint.

When running in dev mode using npm run dev this will not need to be run manually, since vite-plugin-checker will lint and typecheck on hot reload.

npm run typecheck

Typecheck using tsc.

When running in dev mode using npm run dev this will not need to be run manually, since vite-plugin-checker will lint and typecheck on hot reload.

npm test/npm run test

Run tests using vitest.

npm run test:ui

Run tests with browser-based interactive UI.

Directory Structure

  • index.html: Main entry point. See index.html and Project Root for more info.
  • test/: Test files.
  • public/: Assets that will be served at root path /. Cannot be imported from JavaScript. See The public Directory for more info.
  • src/assets: Assets to be imported from JavaScript. Importing these assets will return the resolved public URL when served. See Importing Asset as URL for more info.
  • src/api: Type definitions and functions for retrieving ECS data from the API.
  • src/db: IndexedDB schema definition and database access functions.
  • src/components: shared UI components such as buttons, icons, etc.
  • src/main.tsx: Main React entry point.
  • src/: Top-level components.

Recommended VSCode Extensions

Format code on save using .prettierrc config.

Autocomplete, syntax highlighting, and linting for Tailwind CSS classes.

Documentation for Dependencies

Tooling

CSS

React

Database

About

License:MIT License


Languages

Language:TypeScript 98.1%Language:CSS 0.8%Language:HTML 0.6%Language:JavaScript 0.5%