2022-02-13 02:24:05 +08:00
|
|
|
{
|
2022-02-28 01:29:58 +08:00
|
|
|
"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",
|
2022-03-19 01:56:08 +08:00
|
|
|
"lint:eslint": "eslint --ext \".js,.vue,.ts,.json,.html\" --ignore-path .gitignore --ignore-pattern 'server/**' --fix .",
|
2022-02-28 01:29:58 +08:00
|
|
|
"lint:prettier": "prettier -w .",
|
2022-06-29 02:49:11 +08:00
|
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
2022-02-28 01:29:58 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,js,vue,json,html}": [
|
|
|
|
"prettier -c",
|
|
|
|
"eslint"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-07-25 21:02:31 +08:00
|
|
|
"@headlessui/vue": "1.6.7",
|
2022-07-09 18:30:09 +08:00
|
|
|
"@nuxt/devalue": "2.0.0",
|
2022-07-25 21:02:31 +08:00
|
|
|
"@vuelidate/core": "2.0.0-alpha.43",
|
|
|
|
"@vuelidate/validators": "2.0.0-alpha.31",
|
|
|
|
"@vueuse/core": "8.9.4",
|
|
|
|
"@vueuse/head": "0.7.7",
|
|
|
|
"@vueuse/integrations": "8.9.4",
|
2022-07-09 18:30:09 +08:00
|
|
|
"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": "9.0.11",
|
|
|
|
"jwt-decode": "3.1.2",
|
|
|
|
"lodash-es": "4.17.21",
|
|
|
|
"nprogress": "0.2.0",
|
2022-07-11 15:00:02 +08:00
|
|
|
"ohmyfetch": "0.4.18",
|
2022-07-25 21:02:31 +08:00
|
|
|
"pinia": "2.0.17",
|
|
|
|
"prism-theme-vars": "0.2.4",
|
2022-07-09 18:30:09 +08:00
|
|
|
"qs": "6.11.0",
|
2022-07-25 21:02:31 +08:00
|
|
|
"swagger-ui-dist": "4.13.0",
|
2022-07-09 18:30:09 +08:00
|
|
|
"universal-cookie": "4.0.4",
|
|
|
|
"vite-ssr": "0.16.0",
|
|
|
|
"vue": "3.2.37",
|
2022-07-11 15:00:02 +08:00
|
|
|
"vue-advanced-cropper": "2.8.3",
|
2022-07-09 18:30:09 +08:00
|
|
|
"vue-i18n": "9.1.10",
|
2022-07-25 21:02:31 +08:00
|
|
|
"vue-router": "4.1.2",
|
2022-07-09 18:30:09 +08:00
|
|
|
"vue3-popper": "1.5.0"
|
2022-02-28 01:29:58 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-07-25 21:02:31 +08:00
|
|
|
"@iconify/json": "2.1.82",
|
|
|
|
"@intlify/vite-plugin-vue-i18n": "5.0.1",
|
2022-07-09 18:30:09 +08:00
|
|
|
"@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.3",
|
|
|
|
"@types/qs": "6.9.7",
|
|
|
|
"@types/swagger-ui-dist": "3.30.1",
|
|
|
|
"@vitejs/plugin-vue": "2.3.3",
|
|
|
|
"@vue/compiler-sfc": "3.2.37",
|
|
|
|
"@vue/eslint-config-typescript": "11.0.0",
|
|
|
|
"@vue/server-renderer": "3.2.37",
|
|
|
|
"cross-env": "7.0.3",
|
2022-07-25 21:02:31 +08:00
|
|
|
"eslint": "8.20.0",
|
2022-07-09 18:30:09 +08:00
|
|
|
"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",
|
2022-07-25 21:02:31 +08:00
|
|
|
"eslint-plugin-unicorn": "43.0.2",
|
|
|
|
"eslint-plugin-vue": "9.3.0",
|
2022-07-09 18:30:09 +08:00
|
|
|
"husky": "8.0.1",
|
|
|
|
"lint-staged": "13.0.3",
|
2022-07-25 21:02:31 +08:00
|
|
|
"node-fetch": "3.2.9",
|
|
|
|
"pnpm": "7.6.0",
|
2022-07-09 18:30:09 +08:00
|
|
|
"prettier": "2.7.1",
|
|
|
|
"regenerator-runtime": "0.13.9",
|
2022-07-25 21:02:31 +08:00
|
|
|
"sass": "1.54.0",
|
2022-07-09 18:30:09 +08:00
|
|
|
"typescript": "4.7.4",
|
2022-07-25 21:02:31 +08:00
|
|
|
"unplugin-auto-import": "0.10.1",
|
2022-07-09 18:30:09 +08:00
|
|
|
"unplugin-icons": "0.14.7",
|
|
|
|
"unplugin-vue-components": "0.21.1",
|
|
|
|
"vite": "2.9.14",
|
2022-04-30 19:26:20 +08:00
|
|
|
"vite-plugin-eslint": "1.3.0",
|
2022-07-09 18:30:09 +08:00
|
|
|
"vite-plugin-pages": "0.25.0",
|
2022-07-25 21:02:31 +08:00
|
|
|
"vite-plugin-pwa": "0.12.3",
|
|
|
|
"vite-plugin-vue-layouts": "0.7.0",
|
|
|
|
"vite-plugin-windicss": "1.8.7"
|
2022-04-30 19:26:20 +08:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
2022-04-15 23:43:22 +08:00
|
|
|
}
|
2022-02-13 02:24:05 +08:00
|
|
|
}
|