108 lines
3.5 KiB
JSON
108 lines
3.5 KiB
JSON
{
|
|
"name": "hideyoshi-blog",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --check --ignore-path .gitignore .",
|
|
"format:fix": "prettier --write --ignore-path .gitignore .",
|
|
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
|
|
"typeorm:create": "npm run typeorm -- migration:create ./migrations/$npm_config_name",
|
|
"typeorm:migration": "npm run typeorm -- migration:run -d src/lib/db/data-source.cli.ts",
|
|
"typeorm:migration:down": "npm run typeorm -- migration:revert -d src/lib/db/data-source.cli.ts",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.1028.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1028.0",
|
|
"@clerk/nextjs": "^7.0.7",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@tanstack/react-query": "^5.95.2",
|
|
"@vercel/analytics": "^2.0.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"iron-session": "^8.0.4",
|
|
"jotai": "^2.19.0",
|
|
"lucide-react": "^1.7.0",
|
|
"next": "^16.2.4",
|
|
"next-themes": "^0.4.6",
|
|
"pg": "^8.20.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"react-hook-form": "^7.72.1",
|
|
"react-markdown": "^10.1.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"shadcn": "^4.1.1",
|
|
"slugify": "^1.6.9",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typeorm": "^0.3.28",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testcontainers/postgresql": "^11.13.0",
|
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"aws-sdk-client-mock": "^4.0.0",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"jest": "^30.3.0",
|
|
"prettier": "^3.8.1",
|
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
"tailwindcss": "^4",
|
|
"ts-jest": "^29.4.6",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5",
|
|
"semi": true,
|
|
"tabWidth": 4,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"jsxSingleQuote": true,
|
|
"plugins": [
|
|
"prettier-plugin-tailwindcss",
|
|
"@trivago/prettier-plugin-sort-imports"
|
|
],
|
|
"importOrderParserPlugins": [
|
|
"typescript",
|
|
"jsx",
|
|
"decorators-legacy"
|
|
]
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"transform": {
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
},
|
|
"moduleNameMapper": {
|
|
"\\.(png|jpg|jpeg|gif|webp|svg|ico)$": "<rootDir>/tests/setup/__mocks__/fileMock.js",
|
|
"^@/(.*)$": "<rootDir>/src/$1",
|
|
"^~/(.*)$": "<rootDir>/$1"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"testMatch": [
|
|
"**/?(*.)+(spec|test).[jt]s?(x)"
|
|
]
|
|
}
|
|
}
|