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 .",
|
|
|
|
"prepare": "cd .. && husky install frontend-new/.husky"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,js,vue,json,html}": [
|
|
|
|
"prettier -c",
|
|
|
|
"eslint"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@headlessui/vue": "^1.5.0",
|
2022-03-12 20:02:09 +08:00
|
|
|
"@nuxt/devalue": "^2.0.0",
|
2022-03-16 16:26:42 +08:00
|
|
|
"@vueuse/core": "^8.0.1",
|
2022-02-28 01:29:58 +08:00
|
|
|
"@vueuse/head": "^0.7.5",
|
2022-03-16 16:26:42 +08:00
|
|
|
"@vueuse/integrations": "^8.0.1",
|
|
|
|
"axios": "^0.26.1",
|
2022-03-19 20:34:50 +08:00
|
|
|
"chartist": "^0.11.4",
|
|
|
|
"chartist-plugin-legend": "^0.6.2",
|
2022-03-12 17:47:58 +08:00
|
|
|
"debug": "^4.3.3",
|
2022-03-21 01:02:35 +08:00
|
|
|
"diff-match-patch": "^1.0.5",
|
2022-02-28 01:29:58 +08:00
|
|
|
"jwt-decode": "^3.1.2",
|
2022-03-12 20:02:09 +08:00
|
|
|
"lodash-es": "^4.17.21",
|
2022-02-28 01:29:58 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2022-03-16 16:26:42 +08:00
|
|
|
"pinia": "^2.0.12",
|
2022-02-28 01:29:58 +08:00
|
|
|
"prism-theme-vars": "^0.2.2",
|
|
|
|
"qs": "^6.10.3",
|
2022-03-13 02:13:50 +08:00
|
|
|
"swagger-ui-dist": "^4.6.2",
|
2022-02-28 01:29:58 +08:00
|
|
|
"universal-cookie": "^4.0.4",
|
|
|
|
"vite-ssr": "^0.15.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"vue": "^3.2.31",
|
2022-02-28 01:29:58 +08:00
|
|
|
"vue-i18n": "^9.1.9",
|
2022-03-13 02:13:50 +08:00
|
|
|
"vue-router": "^4.0.14"
|
2022-02-28 01:29:58 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-16 16:26:42 +08:00
|
|
|
"@iconify/json": "^2.1.16",
|
2022-03-13 02:13:50 +08:00
|
|
|
"@intlify/vite-plugin-vue-i18n": "^3.3.1",
|
2022-03-19 20:34:50 +08:00
|
|
|
"@types/chartist": "^0.11.1",
|
2022-03-12 17:47:58 +08:00
|
|
|
"@types/debug": "^4.1.7",
|
2022-03-21 01:02:35 +08:00
|
|
|
"@types/diff-match-patch": "^1.0.32",
|
2022-03-12 20:02:09 +08:00
|
|
|
"@types/lodash-es": "^4.17.6",
|
2022-02-28 01:29:58 +08:00
|
|
|
"@types/markdown-it-link-attributes": "^3.0.1",
|
|
|
|
"@types/nprogress": "^0.2.0",
|
|
|
|
"@types/prettier": "^2.4.4",
|
|
|
|
"@types/qs": "^6.9.7",
|
2022-03-17 01:24:56 +08:00
|
|
|
"@types/swagger-ui-dist": "^3.30.1",
|
2022-03-13 02:13:50 +08:00
|
|
|
"@vitejs/plugin-vue": "^2.2.4",
|
|
|
|
"@vue/compiler-sfc": "^3.2.31",
|
2022-02-28 01:29:58 +08:00
|
|
|
"@vue/eslint-config-typescript": "^10.0.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"@vue/server-renderer": "^3.2.31",
|
2022-02-28 01:29:58 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2022-03-13 02:13:50 +08:00
|
|
|
"eslint": "^8.11.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-02-28 01:29:58 +08:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"eslint-plugin-unicorn": "^41.0.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"eslint-plugin-vue": "^8.5.0",
|
2022-02-28 01:29:58 +08:00
|
|
|
"husky": "^7.0.4",
|
2022-03-16 16:26:42 +08:00
|
|
|
"lint-staged": "^12.3.6",
|
2022-02-28 01:29:58 +08:00
|
|
|
"markdown-it-link-attributes": "^4.0.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"markdown-it-prism": "^2.2.3",
|
|
|
|
"node-fetch": "^3.2.3",
|
|
|
|
"pnpm": "^6.32.3",
|
2022-03-16 16:26:42 +08:00
|
|
|
"prettier": "2.6.0",
|
2022-03-17 01:24:56 +08:00
|
|
|
"sass": "^1.49.9",
|
2022-03-13 02:13:50 +08:00
|
|
|
"typescript": "^4.6.2",
|
2022-03-16 16:26:42 +08:00
|
|
|
"unplugin-auto-import": "^0.6.6",
|
|
|
|
"unplugin-icons": "^0.13.4",
|
|
|
|
"unplugin-vue-components": "^0.18.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"vite": "2.7.13",
|
2022-02-28 01:29:58 +08:00
|
|
|
"vite-plugin-eslint": "^1.3.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"vite-plugin-md": "^0.11.9",
|
2022-03-16 16:26:42 +08:00
|
|
|
"vite-plugin-pages": "^0.22.0",
|
2022-02-28 01:29:58 +08:00
|
|
|
"vite-plugin-pwa": "^0.11.13",
|
|
|
|
"vite-plugin-vue-layouts": "^0.6.0",
|
2022-03-13 02:13:50 +08:00
|
|
|
"vite-plugin-windicss": "^1.8.3"
|
|
|
|
},
|
|
|
|
"//": "VITE NEEDS TO BE 2.7 FOR NOW! https://github.com/frandiox/vite-ssr/discussions/143"
|
2022-02-13 02:24:05 +08:00
|
|
|
}
|