mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-06 16:03:23 +08:00
61 lines
1.8 KiB
JSON
Executable File
61 lines
1.8 KiB
JSON
Executable File
{
|
|
"name": "fantastic-admin",
|
|
"type": "module",
|
|
"version": "6.2.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.6.0",
|
|
"engines": {
|
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx scripts/cli.ts --mode=dev",
|
|
"build": "tsx scripts/cli.ts --mode=build",
|
|
"serve": "tsx scripts/cli.ts --mode=serve",
|
|
"lint": "run-s lint:tsc lint:eslint lint:stylelint",
|
|
"lint:tsc": "pnpm --filter './apps/*' -r run lint",
|
|
"lint:eslint": "eslint . --cache --fix",
|
|
"lint:stylelint": "stylelint \"{apps,packages}/**/*.{css,scss,vue}\" --cache --fix",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"postinstall": "simple-git-hooks",
|
|
"taze": "taze minor -wIr",
|
|
"commit": "git cz",
|
|
"release": "bumpp"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "catalog:",
|
|
"@clack/prompts": "catalog:",
|
|
"@fantastic-admin/themes": "workspace:*",
|
|
"@iconify/json": "catalog:",
|
|
"@stylistic/stylelint-config": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@unocss/core": "catalog:",
|
|
"@unocss/eslint-plugin": "catalog:",
|
|
"autoprefixer": "catalog:",
|
|
"bumpp": "catalog:",
|
|
"cz-git": "catalog:",
|
|
"eslint": "catalog:",
|
|
"lint-staged": "catalog:",
|
|
"npm-run-all2": "catalog:",
|
|
"simple-git-hooks": "catalog:",
|
|
"stylelint": "catalog:",
|
|
"stylelint-config-recess-order": "catalog:",
|
|
"stylelint-config-standard-scss": "catalog:",
|
|
"stylelint-config-standard-vue": "catalog:",
|
|
"stylelint-scss": "catalog:",
|
|
"taze": "catalog:",
|
|
"tsx": "catalog:",
|
|
"typescript": "catalog:",
|
|
"unocss": "catalog:",
|
|
"unocss-preset-animations": "catalog:"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged",
|
|
"preserveUnused": true
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-git"
|
|
}
|
|
}
|
|
}
|