habitica/website/client
dependabot[bot] 09a0e75351
Bump webpack from 5.89.0 to 5.94.0 in /website/client (#15305)
Bumps [webpack](https://github.com/webpack/webpack) from 5.89.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 18:11:49 -05:00
..
public Seasonal gear fix (#15255) 2024-07-29 10:30:23 -05:00
scripts Remove Storybook files and packages (#15040) 2023-12-13 20:18:13 +01:00
src Squashed commit of the following: 2024-09-03 17:03:21 -05:00
tests/unit chore(node): upgrade to Node 20 2024-03-11 09:59:57 -05:00
.browserslistrc old client structure 2019-10-01 11:44:38 +02:00
.eslintrc.js chore(node): upgrade to Node 20 2024-03-11 09:59:57 -05:00
babel.config.js babel: enable optional chaining (#13222) 2021-04-30 15:02:30 -05:00
package-lock.json Bump webpack from 5.89.0 to 5.94.0 in /website/client (#15305) 2024-09-03 18:11:49 -05:00
package.json Bump webpack from 5.89.0 to 5.94.0 in /website/client (#15305) 2024-09-03 18:11:49 -05:00
postcss.config.js misc, fix client tests 2019-10-15 15:32:53 +02:00
README.md Remove Storybook files and packages (#15040) 2023-12-13 20:18:13 +01:00
vue.config.js Reduce size of client js bundles (#15264) 2024-08-06 12:53:44 -05:00
webpack.webstorm.config PMs rebuild (#11360) 2020-01-12 19:34:40 +01:00

Habitica Client

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vue Structure

Currently pages and components are mixed in /src/components this is not a good way to find the files easy.

Thats why each changed / upcoming page / component should be put in either /src/components or in the /src/pages directory.

Inside Pages, each page can have a subfolder which contains sub-components only needed for that page - otherwise it has to be added to the normal components folder.

At the end of all the changes - the components should only contain components needed between all pages