1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-03-01 14:43:02 +01:00
Peacock/packaging
Lennard Fonteijn 22d6b6d1ba
Added vitest and configuration to support unit tests (#37)
* Added Vitest and configuration to support unit tests
Added Vite plugin to fix performance issue with JSON files
Added mock for configSwizzleManager to support the Vite plugin

* Added custom ESLint rule to enforce proper module paths
2023-03-20 20:19:26 -04:00
..
2023-01-23 13:37:33 -05:00
2023-01-23 13:37:33 -05:00
2023-01-22 17:40:32 -05:00
2023-01-23 13:37:33 -05:00
2023-01-23 13:37:33 -05:00
2023-01-23 13:37:33 -05:00

Packaging / Tools

This folder contains some tools related to the build/packaging/deployment infrastructure of the project.

  • build.mjs - The esbuild configuration for the server in production.
  • buildTasks.mjs - Pre-bundling of specific files.
  • devLoader.mjs - Starts the server in the development environment.
  • esbuild-plugin-license.mjs - esbuild plugin that automatically updates the THIRDPARTYNOTICES.txt file.
  • extractChallengeData.mjs - a little CLI tool for downloading challenges from the IOI servers.
  • HOW_TO_USE.html - legacy help file.
  • json5ToJson.mjs - Converts a JSON5 file to a JSON file with the same name ( but the JSON extension).