Skip to content

MTGJSON Documentation Front-End Application built with VitePress

License

Notifications You must be signed in to change notification settings

mtgjson/mtgjson-website

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Jan 20, 2024
Mar 19, 2022
Mar 21, 2023
Oct 12, 2024
Jan 20, 2024
Feb 13, 2023
Dec 21, 2021
Jan 20, 2024
Apr 30, 2023
Feb 14, 2023
Sep 12, 2023
Feb 13, 2023
Sep 15, 2024
Feb 13, 2023
Dec 14, 2024
Sep 15, 2024
Sep 12, 2023

Repository files navigation

MTGJSON Documentation Application



Actions Status CodeQL codecov

PayPal Patreon

MIT license

Getting Started

Installation

Install Node with brew:

brew install n
sudo n 18

Developing

Runs the local build server with hot module reloading and eslint watcher.

npm run dev

Linting

Manually lint the files for any breaking changes.

npm run lint

Testing

Run all tests.

npm run test

Run all tests and a test build.

npm run test:full

Building

Build out the entire site as a static project.

Note: This is done via the GitHub Action and pushed to a Release Tag so no need to do this unless you are testing the actual build. Additionally, when submitting a PR, Netlify will deploy an environment for you to test your Pull Request.

npm run build

Purging

Clean out all Node packages and Vitepress cache.

npm run purge

You can also just purge the Vitepress cache with the following.

npm run purge:cache