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.
83 lines
3.1 KiB
83 lines
3.1 KiB
{
|
|
"name": "halo-admin-next",
|
|
"version": "0.0.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 --filter './packages/**' run typecheck",
|
|
"lint:packages": "pnpm --filter './packages/**' lint",
|
|
"prettier:packages": "pnpm --filter './packages/**' prettier",
|
|
"test:unit:packages": "pnpm --filter './packages/**' run test:unit"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"dependencies": {
|
|
"@halo-dev/admin-api": "^1.1.0",
|
|
"@halo-dev/admin-shared": "workspace:*",
|
|
"@halo-dev/components": "workspace:*",
|
|
"@vueuse/core": "^8.7.5",
|
|
"filepond": "^4.30.4",
|
|
"filepond-plugin-image-preview": "^4.6.11",
|
|
"floating-vue": "2.0.0-beta.16",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"pinia": "^2.0.14",
|
|
"uuid": "^8.3.2",
|
|
"vue": "^3.2.37",
|
|
"vue-filepond": "^7.0.3",
|
|
"vue-grid-layout": "3.0.0-beta1",
|
|
"vue-router": "^4.0.16"
|
|
},
|
|
"devDependencies": {
|
|
"@rushstack/eslint-patch": "^1.1.3",
|
|
"@tailwindcss/aspect-ratio": "^0.4.0",
|
|
"@types/jsdom": "^16.2.14",
|
|
"@types/lodash.clonedeep": "4.5.7",
|
|
"@types/node": "^17.0.45",
|
|
"@vitejs/plugin-vue": "^2.3.3",
|
|
"@vitejs/plugin-vue-jsx": "^1.3.10",
|
|
"@vitest/ui": "^0.15.2",
|
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
"@vue/test-utils": "^2.0.1",
|
|
"@vue/tsconfig": "^0.1.3",
|
|
"autoprefixer": "^10.4.7",
|
|
"c8": "^7.11.3",
|
|
"cypress": "^9.7.0",
|
|
"eslint": "^8.18.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-vue": "^9.1.1",
|
|
"husky": "^8.0.1",
|
|
"jsdom": "^19.0.0",
|
|
"postcss": "^8.4.14",
|
|
"prettier": "^2.7.1",
|
|
"prettier-plugin-tailwindcss": "^0.1.11",
|
|
"sass": "^1.53.0",
|
|
"start-server-and-test": "^1.14.0",
|
|
"tailwindcss": "^3.1.4",
|
|
"tailwindcss-safe-area": "^0.2.2",
|
|
"tailwindcss-themeable": "^1.3.0",
|
|
"typescript": "~4.7.4",
|
|
"vite": "^2.9.12",
|
|
"vite-compression-plugin": "^0.0.4",
|
|
"vite-plugin-externals": "^0.5.0",
|
|
"vite-plugin-pwa": "^0.12.0",
|
|
"vite-plugin-static-copy": "^0.5.1",
|
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
|
"vitest": "^0.15.2",
|
|
"vue-tsc": "^0.34.17"
|
|
}
|
|
}
|