串接的政府的資料來源
輕量化的高鐵時刻表班次快速查詢網頁
Make sure you have Node.js and npm installed.
In the project directory, you can run the following npm scripts:
Starts the development server using Vite.
Builds the project for production.
Creates a production preview of the built project.
Runs the test suite using Vitest.
Runs tests with coverage reports.
Generates a test summary with coverage and outputs the reports in JUnit and JSON format.
Generates coverage badges using coverage-badges.
Runs the build process before deployment.
- Use
npm start
to run the development server. - Execute
npm run test
to run tests using Vitest. - Run
npm run build
for production builds. - Check coverage with
npm run coverage
. - Generate coverage reports using
npm run test:summary
. - Utilize other scripts as needed for formatting, deployment, and preview.