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

Folders and files

NameName
Last commit message
Last commit date
Mar 26, 2022
Mar 19, 2022
Mar 19, 2022
Mar 26, 2022
Mar 19, 2022
Dec 21, 2021
Dec 30, 2021
Jun 29, 2021
Jul 23, 2021
Mar 19, 2022
Mar 19, 2022
Mar 19, 2022
Dec 17, 2019
Mar 26, 2022
Mar 19, 2022
Apr 29, 2020

Repository files navigation

MTGJSON Documentation Application



Actions Status CodeQL codecov

PayPal Patreon

MIT license

Getting Started

Installation

Option #1 (Preferred): Install Node with brew.

brew install n
sudo n 12

Option #2: Install Node using the official resources installer.

Install project dependencies.

npm install

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

or run the full tests that Husky will test for.

npm run test:full

Building

Build out the entire site as a static project.

npm run build

Purging

Clean out all Node packages.

npm run purge

Caveats

Occasionally we may want to upgrade all packages to keep the project up to date, but since Vuepress is built on Vue 2 there are some discrepencies when trying to update everything. The following should not be updated:

  • vuex
  • sass-loader

Some dependencies need dev dependencies in order to work since their last update, this includes:

  • webpack