71 lines
2.1 KiB
JSON
71 lines
2.1 KiB
JSON
{
|
|
"name": "spa-app",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@g1/sse-client": "^0.2.0",
|
|
"@radix-ui/react-dialog": "^1.1.7",
|
|
"@radix-ui/react-slot": "^1.2.0",
|
|
"@tailwindcss/postcss": "^4.1.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"effector": "^23.3.0",
|
|
"effector-react": "^23.3.0",
|
|
"lucide-react": "^0.488.0",
|
|
"oidc-client-ts": "^3.2.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-feather": "^2.0.10",
|
|
"react-oidc-context": "^3.3.0",
|
|
"react-router-dom": "^7.5.0",
|
|
"tailwind-merge": "^3.2.0",
|
|
"tailwindcss-animate": "^1.0.7"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.9",
|
|
"@babel/plugin-transform-react-jsx": "^7.25.9",
|
|
"@babel/preset-env": "^7.26.9",
|
|
"@babel/preset-react": "^7.26.3",
|
|
"@commitlint/cli": "^19.8.0",
|
|
"@commitlint/config-conventional": "^19.8.0",
|
|
"@commitlint/types": "^19.8.0",
|
|
"@g1/api-generator": "latest",
|
|
"@types/react": "^18.2.56",
|
|
"@types/react-dom": "^18.2.19",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"autoprefixer": "^10.4.16",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.5.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^15.5.1",
|
|
"postcss": "^8.4.33",
|
|
"postcss-load-config": "^5.0.3",
|
|
"prettier": "^3.5.3",
|
|
"tailwindcss": "^4.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"vite": "^5.1.4"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:path": "CLIENT_BASE_PATH=/app vite",
|
|
"dev:custom": "node vite.server.js",
|
|
"build": "tsc && vite build",
|
|
"build:path": "tsc && CLIENT_BASE_PATH=/app vite build",
|
|
"preview": "vite preview",
|
|
"preview:path": "CLIENT_BASE_PATH=/app vite preview",
|
|
"prepare": "husky",
|
|
"api:generate": "g1-api-generator https://localhost:7205/openapi/schema.json src/lib/api/merchant --skip-tls-verify",
|
|
"typecheck": "tsc --noEmit",
|
|
"generate-app-config": "node scripts/generate-app-config.js",
|
|
"generate-app-config:prod": "cross-env NODE_ENV=production node scripts/generate-app-config.js"
|
|
},
|
|
"lint-staged": {
|
|
"!src/lib/api/**/*.{js,jsx,ts,tsx}": [],
|
|
|
|
"**/*.{js,jsx,ts,tsx}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|