irongit

Django + Next + Postgres + Docker + Nginx

djext/frontend/package.json
23 lines680 BJSON
1{
2 "name": "frontend",
3 "version": "0.1.0",
4 "private": true,
5 "scripts": {
6 "dev": "next dev",
7 "syncapi": "cd ../backend && python manage.py generateschema --file ../frontend/api/schema.yml && cd ../frontend && npx openapi-typescript-codegen --input api/schema.yml --output api --indent 2",
8 "build": "next build",
9 "start": "next start",
10 "lint": "next lint"
11 },
12 "dependencies": {
13 "@next/font": "13.1.1",
14 "@types/node": "18.11.18",
15 "@types/react": "18.0.26",
16 "@types/react-dom": "18.0.10",
17 "next": "13.1.1",
18 "openapi-typescript-codegen": "^0.23.0",
19 "react": "18.2.0",
20 "react-dom": "18.2.0",
21 "typescript": "4.9.4"
22 }
23}