@kunlun-qilian/create-app-cli
Version:
## Scaffolding Your First webapp Project
91 lines (90 loc) • 2.2 kB
JSON
{
"name": "create-vite-react-app",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"prepare": "husky install",
"openapi": "ts-node './src/core/openapi/index.ts'"
},
"dependencies": {
"@ant-design/icons": "^5.2.5",
"@emotion/react": "^11.11.1",
"@tanstack/react-query": "^4.32.0",
"ahooks": "^3.7.8",
"antd": "^5.6.4",
"axios": "^1.4.0",
"lodash-es": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.11",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.14.1",
"rxjs": "^7.8.1",
"zustand": "^4.3.9"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@emotion/babel-plugin": "^11.11.0",
"@types/lodash-es": "^4.17.8",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@umijs/openapi": "^1.8.5",
"@vitejs/plugin-react": "^4.0.3",
"csstype": "^3.1.2",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"vite": "^4.4.5"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test"
]
]
}
},
"lint-staged": {
"*.(ts|tsx)": [
"eslint --quiet"
],
"*.(ts|tsx|json|html)": [
"prettier --write"
]
},
"prettier": {
"trailingComma": "all",
"arrowParens": "always",
"printWidth": 120
}
}