53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"type": "module",
|
|
"name": "react-typescript-template",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"build": "tsc && vite build",
|
|
"dev": "vite",
|
|
"lint": "tsc && eslint ./src/**/*.{ts,tsx} --fix",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"prepare": "husky",
|
|
"serve": "vite preview",
|
|
"test": "vitest --watch=false"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.5.0",
|
|
"@commitlint/config-conventional": "^19.5.0",
|
|
"@testing-library/jest-dom": "^6.5.0",
|
|
"@testing-library/react": "^16.0.1",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/node": "^20.16.10",
|
|
"@types/react": "^18.3.11",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
"@typescript-eslint/parser": "^8.8.0",
|
|
"@vitejs/plugin-react": "^4.3.2",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-jest-dom": "^5.4.0",
|
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"eslint-plugin-react": "^7.37.1",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"eslint-plugin-testing-library": "^6.3.0",
|
|
"husky": "^9.1.6",
|
|
"jsdom": "^25.0.1",
|
|
"lint-staged": "^15.2.10",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^5.4.8",
|
|
"vite-tsconfig-paths": "^5.0.1",
|
|
"vitest": "^2.1.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0 <21.0.0"
|
|
}
|
|
}
|