mirror of https://github.com/halo-dev/halo-admin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
4.8 KiB
135 lines
4.8 KiB
{
|
|
"name": "@halo-dev/console",
|
|
"version": "2.1.0",
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"dev": "vite --host",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"build:packages": "pnpm --filter \"./packages/**\" build",
|
|
"preview": "vite preview --port 5050",
|
|
"test:unit": "vitest --environment jsdom --run && pnpm run test:unit:packages",
|
|
"test:unit:watch": "vitest --environment jsdom --watch",
|
|
"test:unit:ui": "vitest --environment jsdom --watch --ui",
|
|
"test:unit:coverage": "vitest run --environment jsdom --coverage",
|
|
"test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
|
|
"test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'",
|
|
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json --composite false && pnpm run typecheck:packages",
|
|
"lint": "eslint ./src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore && pnpm run lint:packages",
|
|
"prettier": "prettier --write './src/**/*.{vue,js,jsx,ts,tsx,css,scss,json,yml,yaml,html}' && pnpm run prettier:packages",
|
|
"typecheck:packages": "pnpm --parallel --filter \"./packages/**\" run typecheck",
|
|
"lint:packages": "pnpm --parallel --filter \"./packages/**\" lint",
|
|
"prettier:packages": "pnpm --parallel --filter \"./packages/**\" prettier",
|
|
"test:unit:packages": "pnpm --parallel --filter \"./packages/**\" run test:unit"
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,jsx,ts,tsx,css,scss,json,yml,yaml,html}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{js,ts,vue,tsx,jsx}": [
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"dependencies": {
|
|
"@emoji-mart/data": "^1.0.8",
|
|
"@formkit/core": "^1.0.0-beta.12",
|
|
"@formkit/i18n": "^1.0.0-beta.12",
|
|
"@formkit/inputs": "^1.0.0-beta.12",
|
|
"@formkit/themes": "^1.0.0-beta.12",
|
|
"@formkit/utils": "^1.0.0-beta.12",
|
|
"@formkit/validation": "1.0.0-beta.12",
|
|
"@formkit/vue": "^1.0.0-beta.12",
|
|
"@halo-dev/api-client": "0.0.66",
|
|
"@halo-dev/components": "workspace:*",
|
|
"@halo-dev/console-shared": "workspace:*",
|
|
"@halo-dev/richtext-editor": "^0.0.0-alpha.17",
|
|
"@tiptap/extension-character-count": "^2.0.0-beta.202",
|
|
"@uppy/core": "^3.0.4",
|
|
"@uppy/dashboard": "^3.2.0",
|
|
"@uppy/drag-drop": "^3.0.1",
|
|
"@uppy/file-input": "^3.0.1",
|
|
"@uppy/locales": "^3.0.4",
|
|
"@uppy/progress-bar": "^3.0.1",
|
|
"@uppy/status-bar": "^3.0.1",
|
|
"@uppy/vue": "^1.0.1",
|
|
"@uppy/xhr-upload": "^3.0.4",
|
|
"@vueuse/components": "^9.6.0",
|
|
"@vueuse/core": "^9.6.0",
|
|
"@vueuse/router": "^9.6.0",
|
|
"@vueuse/shared": "^9.6.0",
|
|
"axios": "^0.27.2",
|
|
"colorjs.io": "^0.4.2",
|
|
"dayjs": "^1.11.6",
|
|
"emoji-mart": "^5.3.3",
|
|
"floating-vue": "2.0.0-beta.20",
|
|
"fuse.js": "^6.6.2",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.debounce": "^4.0.8",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.merge": "^4.6.2",
|
|
"lodash.sortby": "^4.7.0",
|
|
"path-browserify": "^1.0.1",
|
|
"pinia": "^2.0.26",
|
|
"pretty-bytes": "^6.0.0",
|
|
"qs": "^6.11.0",
|
|
"vue": "^3.2.45",
|
|
"vue-grid-layout": "3.0.0-beta1",
|
|
"vue-router": "^4.1.6",
|
|
"vuedraggable": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.25.2",
|
|
"@iconify-json/mdi": "^1.1.36",
|
|
"@iconify-json/vscode-icons": "^1.1.16",
|
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
"@tailwindcss/container-queries": "^0.1.0",
|
|
"@types/jsdom": "^20.0.1",
|
|
"@types/lodash.clonedeep": "4.5.7",
|
|
"@types/lodash.debounce": "^4.0.7",
|
|
"@types/lodash.isequal": "^4.5.6",
|
|
"@types/lodash.merge": "^4.6.7",
|
|
"@types/node": "^18.11.9",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/randomstring": "^1.1.8",
|
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
"@vitejs/plugin-vue-jsx": "^2.1.1",
|
|
"@vitest/ui": "^0.25.3",
|
|
"@vue/compiler-sfc": "^3.2.45",
|
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
"@vue/eslint-config-typescript": "^11.0.2",
|
|
"@vue/test-utils": "^2.2.4",
|
|
"@vue/tsconfig": "^0.1.3",
|
|
"autoprefixer": "^10.4.13",
|
|
"c8": "^7.12.0",
|
|
"cypress": "^10.11.0",
|
|
"eslint": "^8.28.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-vue": "^9.8.0",
|
|
"husky": "^8.0.2",
|
|
"jsdom": "^20.0.3",
|
|
"lint-staged": "^13.1.0",
|
|
"postcss": "^8.4.19",
|
|
"prettier": "^2.8.0",
|
|
"prettier-plugin-tailwindcss": "^0.1.13",
|
|
"randomstring": "^1.2.3",
|
|
"sass": "^1.56.1",
|
|
"start-server-and-test": "^1.14.0",
|
|
"tailwindcss": "^3.2.4",
|
|
"tailwindcss-safe-area": "^0.2.2",
|
|
"tailwindcss-themer": "^2.0.2",
|
|
"typescript": "~4.7.4",
|
|
"unplugin-icons": "^0.14.14",
|
|
"vite": "^3.2.4",
|
|
"vite-compression-plugin": "^0.0.4",
|
|
"vite-plugin-externals": "^0.5.1",
|
|
"vite-plugin-html": "^3.2.0",
|
|
"vite-plugin-pwa": "^0.13.3",
|
|
"vite-plugin-static-copy": "^0.11.1",
|
|
"vitest": "^0.25.3",
|
|
"vue-tsc": "^1.0.9"
|
|
}
|
|
}
|