mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-21 11:40:33 +12:00
.github/workflows | ||
.vscode | ||
public | ||
src | ||
src-electron | ||
test | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmrc | ||
.nycrc | ||
cypress.config.ts | ||
index.html | ||
package.json | ||
postcss.config.cjs | ||
quasar.config.js | ||
quasar.extensions.json | ||
quasar.testing.json | ||
README.md | ||
tsconfig.json | ||
vitest.config.ts | ||
yarn.lock |
Fantasia Archive (fantasia-archive)
A worldbuilding database manager
Use Yarn 1.22.19 or stuff is gonna bug out.
Make sure you are running this with Node v16.17.0 ("nvm" is great for these older versions)
Install the dependencies and set up the project
yarn
Start the app in Quasar development mode (hot-code reloading, error reporting, etc.)
quasar dev -m electron
Lint the files manually (you can do this, but like... use an plugin of some kind in your IDE please T_T)
yarn lint
Build the app for production
quasar build
Testing:
Unit test - with pretty web-UI
test:unit:ui
Unit test - without any UI, fully in a terminal
test:unit
Component test - via Cypress, pick Electron on the config screen (I suggest turning on the electron dev window first, the test is a bit buggy sometimes)
test:component
e2e test - via Cypress, pick Electron on the config screen (I suggest turning on the electron dev window first, the test is a bit buggy sometimes)
test:e2e