UNPKG

create-vite-app-cli

Version:

a fast create webapp template cli, perfect engineering development experience, currently supported template presets include: - `react-ts` (React + TypeScript + Vite + Pnpm + Zustand + Openapi + Docker) - `vue-ts` (Vue 3 + TypeScript + Vite + Pnpm + Pinia

94 lines (93 loc) 2.29 kB
{ "name": "webapp-react", "private": true, "version": "0.0.1", "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", "preview": "vite preview", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lintfix": "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", "react-router-toolkit": "^1.0.0", "rxjs": "^7.8.1", "zustand": "^4.3.9" }, "devDependencies": { "@babel/preset-react": "^7.22.15", "@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.9.2", "@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": { "arrowParens": "always", "printWidth": 120, "singleQuote": true, "jsxSingleQuote": true } }