|
|
@ -0,0 +1,42 @@ |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "2021-2022-react-typescript-tp", |
|
|
|
|
|
"private": true, |
|
|
|
|
|
"version": "0.0.0", |
|
|
|
|
|
"scripts": { |
|
|
|
|
|
"dev": "vite", |
|
|
|
|
|
"build": "npm run lint && tsc && vite build", |
|
|
|
|
|
"preview": "vite preview", |
|
|
|
|
|
"format:write": "prettier --write \"**/*.{js,vue,json,ts,tsx,md,yml,html}\"", |
|
|
|
|
|
"format:check": "prettier --list-different \"**/*.{js,vue,json,ts,tsx,md,yml,html}\"", |
|
|
|
|
|
"lint": "eslint src --ext .ts,.tsx" |
|
|
|
|
|
}, |
|
|
|
|
|
"dependencies": { |
|
|
|
|
|
"@faker-js/faker": "^6.0.0-alpha.7", |
|
|
|
|
|
"clsx": "^1.1.1", |
|
|
|
|
|
"nanoid": "^3.3.1", |
|
|
|
|
|
"react": "^17.0.2", |
|
|
|
|
|
"react-dom": "^17.0.2" |
|
|
|
|
|
}, |
|
|
|
|
|
"devDependencies": { |
|
|
|
|
|
"@tailwindcss/forms": "^0.4.0", |
|
|
|
|
|
"@types/react": "^17.0.33", |
|
|
|
|
|
"@types/react-dom": "^17.0.10", |
|
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.12.0", |
|
|
|
|
|
"@typescript-eslint/parser": "^5.12.0", |
|
|
|
|
|
"@vitejs/plugin-react": "^1.0.7", |
|
|
|
|
|
"autoprefixer": "^10.4.2", |
|
|
|
|
|
"eslint": "^8.9.0", |
|
|
|
|
|
"husky": "7.0.4", |
|
|
|
|
|
"postcss": "^8.4.6", |
|
|
|
|
|
"prettier": "2.5.1", |
|
|
|
|
|
"pretty-quick": "3.1.3", |
|
|
|
|
|
"tailwindcss": "^3.0.23", |
|
|
|
|
|
"typescript": "^4.5.5", |
|
|
|
|
|
"vite": "^2.8.0" |
|
|
|
|
|
}, |
|
|
|
|
|
"husky": { |
|
|
|
|
|
"hooks": { |
|
|
|
|
|
"pre-commit": "pretty-quick --staged" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |