55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"name": "chat-one-web",
|
|
"version": "1.0.0",
|
|
"description": "ChatOne web端",
|
|
"type": "module",
|
|
"repository": "ssh://git@git.alboped.com:8022/alboped/chat-one-web.git",
|
|
"author": "alboped <shi_zhaojun@aliyun.com>",
|
|
"license": "UNLICENSED",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix --max-warnings=0",
|
|
"prettier --write"
|
|
],
|
|
"*.{css,json,md,html,yml,yaml,js,mjs,cjs}": "prettier --write"
|
|
},
|
|
"dependencies": {
|
|
"antd": "^6.3.5",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-router-dom": "^7.13.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"@types/node": "^25.5.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"prettier": "^3.8.1",
|
|
"tailwindcss": "^4.2.2",
|
|
"typescript": "^6.0.2",
|
|
"typescript-eslint": "^8.58.0",
|
|
"vite": "^8.0.3",
|
|
"vite-plugin-pages": "^0.33.3"
|
|
}
|
|
}
|