Documentation

Project statistics Tracking time and activity in Animmaster Vite Template

Animmaster Vite Template includes a built-in statistics system that helps you understand how much time was spent on a project and how actively it was developed.

Dev time tracking Sessions & files count Optional build output

What is project statistics?

The statistics system automatically collects information while the development mode is running. It gives you a clear overview of how long the project was worked on and how actively files were edited.

Important
Statistics are collected only while the dev server is running.

How to enable statistics

To start collecting statistics, enable the feature inside template.config.js.

template.config.js
statistics: {
  enable: true
}

Once enabled, the system will start tracking data automatically on the next dev run.

How to view statistics

You can view collected statistics in two ways.

Manual command

Run the following command in the terminal:

Terminal
npm run stat

Automatic output on build

You can also enable automatic statistics output when running a production build:

template.config.js
statistics: {
  enable: true,
  showonbuild: true
}

What data is collected

  • Project start date — the first time dev mode was launched.
  • Project end date — last dev stop or last production build.
  • Total work time — total time dev mode was running.
  • Edited files count — number of files modified during development.
  • Sessions count — how many times dev mode was started/stopped.

Clearing project statistics

If you need to reset all collected statistics for the project, use the command below.

Terminal
npm run stat-clear
Warning
This action permanently deletes collected statistics for the current project.

Download

Track your work, understand your process, and build projects more consciously. Download the Animmaster Vite Template and start working with built-in statistics today.