2023-06-07 23:56:13 +10:00
|
|
|
{
|
|
|
|
"name": "react-ts-vite-starter-kit",
|
|
|
|
"private": true,
|
|
|
|
"version": "0.0.0",
|
|
|
|
"type": "module",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
|
|
|
"build": "tsc && vite build",
|
|
|
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
2023-06-08 00:05:03 +10:00
|
|
|
"preview": "vite preview",
|
|
|
|
"prettier": "prettier \"src/**/*.{js,jsx,ts,tsx,css,scss,md}\" --write",
|
|
|
|
"format:check": "yarn prettier -- --check",
|
|
|
|
"format:write": "yarn prettier -- --write",
|
|
|
|
"types:check": "tsc --noEmit --pretty",
|
|
|
|
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx src --fix --no-error-on-unmatched-pattern",
|
|
|
|
"fix": "yarn format:write && yarn lint:fix"
|
2023-06-07 23:56:13 +10:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/react": "^18.0.37",
|
|
|
|
"@types/react-dom": "^18.0.11",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
|
|
"@typescript-eslint/parser": "^5.59.0",
|
|
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
|
|
"eslint": "^8.38.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
|
|
"eslint-plugin-react-refresh": "^0.3.4",
|
2023-06-08 00:05:03 +10:00
|
|
|
"prettier": "^2.8.8",
|
2023-06-07 23:56:13 +10:00
|
|
|
"typescript": "^5.0.2",
|
|
|
|
"vite": "^4.3.9"
|
|
|
|
}
|
|
|
|
}
|