mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-21 06:51:19 +08:00
105 lines
3.1 KiB
JSON
105 lines
3.1 KiB
JSON
{
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite-ssr dev --port 3333",
|
|
"dev:spa": "vite --port 3333",
|
|
"build": "cross-env NODE_ENV=production vite-ssr build",
|
|
"preview": "vite-ssr --port 1337 --open",
|
|
"lint:eslint": "eslint --ext \".js,.vue,.ts,.json,.html\" --ignore-path .gitignore --ignore-pattern 'server/**' --fix .",
|
|
"lint:prettier": "prettier -w .",
|
|
"prepare": "cd .. && husky install frontend-new/.husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js,vue,json,html}": [
|
|
"prettier -c",
|
|
"eslint"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/vue": "^1.6.0",
|
|
"@nuxt/devalue": "^2.0.0",
|
|
"@vuelidate/core": "^2.0.0-alpha.40",
|
|
"@vuelidate/validators": "^2.0.0-alpha.28",
|
|
"@vueuse/core": "^8.3.1",
|
|
"@vueuse/head": "^0.7.6",
|
|
"@vueuse/integrations": "^8.3.1",
|
|
"accept-language-parser": "^1.5.0",
|
|
"axios": "^0.27.2",
|
|
"chartist": "^0.11.4",
|
|
"chartist-plugin-legend": "^0.6.2",
|
|
"debug": "^4.3.4",
|
|
"diff-match-patch": "^1.0.5",
|
|
"filesize": "^8.0.7",
|
|
"jwt-decode": "^3.1.2",
|
|
"lodash-es": "^4.17.21",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.0.13",
|
|
"prism-theme-vars": "^0.2.2",
|
|
"qs": "^6.10.3",
|
|
"swagger-ui-dist": "^4.10.3",
|
|
"universal-cookie": "^4.0.4",
|
|
"vite-ssr": "^0.16.0",
|
|
"vue": "^3.2.33",
|
|
"vue-i18n": "^9.1.9",
|
|
"vue-router": "^4.0.14",
|
|
"vue3-popper": "^1.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@iconify/json": "^2.1.34",
|
|
"@intlify/vite-plugin-vue-i18n": "^3.4.0",
|
|
"@types/accept-language-parser": "^1.5.3",
|
|
"@types/chartist": "^0.11.1",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/diff-match-patch": "^1.0.32",
|
|
"@types/locale": "^0.1.1",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/markdown-it-link-attributes": "^3.0.1",
|
|
"@types/nprogress": "^0.2.0",
|
|
"@types/prettier": "^2.6.0",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/swagger-ui-dist": "^3.30.1",
|
|
"@vitejs/plugin-vue": "^2.3.1",
|
|
"@vue/compiler-sfc": "^3.2.33",
|
|
"@vue/eslint-config-typescript": "^10.0.0",
|
|
"@vue/server-renderer": "^3.2.33",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.14.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-unicorn": "^42.0.0",
|
|
"eslint-plugin-vue": "^8.7.1",
|
|
"husky": "^8.0.0",
|
|
"lint-staged": "^12.4.1",
|
|
"node-fetch": "^3.2.4",
|
|
"pnpm": "^7.0.1",
|
|
"prettier": "^2.6.2",
|
|
"regenerator-runtime": "^0.13.9",
|
|
"sass": "^1.51.0",
|
|
"typescript": "^4.6.4",
|
|
"unplugin-auto-import": "^0.7.1",
|
|
"unplugin-icons": "^0.14.1",
|
|
"unplugin-vue-components": "^0.19.3",
|
|
"vite": "^2.9.6",
|
|
"vite-plugin-eslint": "1.3.0",
|
|
"vite-plugin-pages": "^0.23.0",
|
|
"vite-plugin-pwa": "^0.12.0",
|
|
"vite-plugin-vue-layouts": "^0.6.0",
|
|
"vite-plugin-windicss": "^1.8.4"
|
|
},
|
|
"Dependency stuff": [
|
|
"vite-plugin-eslint > 1.3.0 seems bork",
|
|
"stuff below is to fix some audit warnings"
|
|
],
|
|
"pnpm": {
|
|
"overrides": {
|
|
"async@<2.6.4": ">=2.6.4",
|
|
"ejs@<3.1.7": ">=3.1.7"
|
|
}
|
|
}
|
|
}
|