2022-02-13 02:24:05 +08:00
|
|
|
{
|
2022-02-18 07:12:59 +08:00
|
|
|
"private": true,
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16"
|
2022-02-13 02:24:05 +08:00
|
|
|
},
|
2022-02-18 07:12:59 +08:00
|
|
|
"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 --ext \".js,.vue,.ts,.json\" --ignore-path .gitignore --fix .",
|
|
|
|
"format": "prettier . --write"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-02-22 08:40:25 +08:00
|
|
|
"@headlessui/vue": "^1.5.0",
|
2022-02-18 07:12:59 +08:00
|
|
|
"@vueuse/core": "^7.5.5",
|
|
|
|
"@vueuse/head": "^0.7.5",
|
|
|
|
"@vueuse/integrations": "^7.5.5",
|
2022-02-18 07:25:32 +08:00
|
|
|
"axios": "^0.26.0",
|
2022-02-18 07:12:59 +08:00
|
|
|
"jwt-decode": "^3.1.2",
|
|
|
|
"nprogress": "^0.2.0",
|
|
|
|
"pinia": "^2.0.11",
|
|
|
|
"prism-theme-vars": "^0.2.2",
|
|
|
|
"qs": "^6.10.3",
|
|
|
|
"universal-cookie": "^4.0.4",
|
|
|
|
"vite-ssr": "^0.15.0",
|
2022-02-18 07:25:32 +08:00
|
|
|
"vue": "^3.2.31",
|
2022-02-18 07:12:59 +08:00
|
|
|
"vue-i18n": "^9.1.9",
|
|
|
|
"vue-router": "^4.0.12"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@antfu/eslint-config": "^0.16.1",
|
2022-02-27 08:47:33 +08:00
|
|
|
"@iconify/json": "^2.1.7",
|
2022-02-18 07:12:59 +08:00
|
|
|
"@intlify/vite-plugin-vue-i18n": "^3.3.0",
|
|
|
|
"@types/markdown-it-link-attributes": "^3.0.1",
|
|
|
|
"@types/nprogress": "^0.2.0",
|
|
|
|
"@types/qs": "^6.9.7",
|
2022-02-18 07:25:32 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
|
|
|
"@vitejs/plugin-vue": "^2.2.0",
|
|
|
|
"@vue/compiler-sfc": "^3.2.31",
|
|
|
|
"@vue/server-renderer": "^3.2.31",
|
2022-02-18 07:12:59 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2022-02-27 08:47:33 +08:00
|
|
|
"eslint": "^8.10.0",
|
2022-02-20 21:21:24 +08:00
|
|
|
"eslint-config-prettier": "^8.4.0",
|
2022-02-27 08:47:33 +08:00
|
|
|
"eslint-plugin-vue": "^8.5.0",
|
2022-02-18 07:12:59 +08:00
|
|
|
"markdown-it-link-attributes": "^4.0.0",
|
2022-02-20 21:21:24 +08:00
|
|
|
"markdown-it-prism": "^2.2.3",
|
2022-02-18 07:12:59 +08:00
|
|
|
"node-fetch": "^3.2.0",
|
2022-02-27 08:47:33 +08:00
|
|
|
"pnpm": "^6.32.1",
|
2022-02-18 07:12:59 +08:00
|
|
|
"prettier": "2.5.1",
|
|
|
|
"typescript": "^4.5.5",
|
2022-02-27 08:47:33 +08:00
|
|
|
"unplugin-auto-import": "^0.6.1",
|
2022-02-20 21:21:24 +08:00
|
|
|
"unplugin-icons": "^0.13.2",
|
2022-02-27 08:47:33 +08:00
|
|
|
"unplugin-vue-components": "^0.17.21",
|
2022-02-18 07:12:59 +08:00
|
|
|
"vite": "^2.7.13",
|
|
|
|
"vite-plugin-eslint": "^1.3.0",
|
2022-02-18 07:25:32 +08:00
|
|
|
"vite-plugin-md": "^0.11.8",
|
|
|
|
"vite-plugin-pages": "^0.20.2",
|
2022-02-18 07:12:59 +08:00
|
|
|
"vite-plugin-pwa": "^0.11.13",
|
|
|
|
"vite-plugin-vue-layouts": "^0.6.0",
|
|
|
|
"vite-plugin-windicss": "^1.7.1"
|
|
|
|
},
|
|
|
|
"//": "TODO steal from work",
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"@antfu/eslint-config",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"shared-node-browser": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
|
|
"no-console": "off"
|
|
|
|
}
|
2022-02-13 02:24:05 +08:00
|
|
|
}
|
|
|
|
}
|