https://github.com/mtgjson/mtgjson-website
MTGJSON Documentation Front-End Application built with VitePress
https://github.com/mtgjson/mtgjson-website
node vitepress vue
Last synced: 23 days ago
JSON representation
MTGJSON Documentation Front-End Application built with VitePress
- Host: GitHub
- URL: https://github.com/mtgjson/mtgjson-website
- Owner: mtgjson
- License: mit
- Created: 2018-10-01T22:24:45.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T17:32:33.000Z (6 months ago)
- Last Synced: 2024-10-28T16:45:08.778Z (6 months ago)
- Topics: node, vitepress, vue
- Language: JavaScript
- Homepage: https://mtgjson.com
- Size: 13 MB
- Stars: 36
- Watchers: 5
- Forks: 24
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-vitepress-v1 - MTGJSON - MTGJSON Documentation (:card_index_dividers: Projects Using VitePress / Projects)
README
# MTGJSON Documentation Application
![]()
[](https://github.com/mtgjson/mtgjson-website/actions)

[](https://codecov.io/gh/mtgjson/mtgjson-website)[](https://paypal.me/zachhalpern)
[](https://patreon.com/mtgjson)[](https://github.com/mtgjson/mtgjson-website/blob/master/LICENSE)
## Getting Started
### **Installation**
Install Node with [brew](https://brew.sh):
```
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
```