Alejandra
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
11 additions and
1 deletions
-
new-frontend/.prettierrc
-
new-frontend/package-lock.json
-
new-frontend/package.json
|
|
@ -0,0 +1,8 @@ |
|
|
|
{ |
|
|
|
"bracketSpacing": true, |
|
|
|
"semi": false, |
|
|
|
"singleQuote": true, |
|
|
|
"trailingComma": "all", |
|
|
|
"printWidth": 80, |
|
|
|
"tabWidth": 2 |
|
|
|
} |
|
|
@ -36,6 +36,7 @@ |
|
|
|
"eslint-plugin-react-hooks": "^4.6.0", |
|
|
|
"eslint-plugin-react-refresh": "^0.4.4", |
|
|
|
"openapi-typescript-codegen": "0.25.0", |
|
|
|
"prettier": "3.2.5", |
|
|
|
"typescript": "^5.2.2", |
|
|
|
"vite": "^5.0.0" |
|
|
|
} |
|
|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
"scripts": { |
|
|
|
"dev": "vite", |
|
|
|
"build": "tsc && vite build", |
|
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", |
|
|
|
"format": "prettier --write ./src/**/*.{ts,tsx,js,jsx,json,md}", |
|
|
|
"preview": "vite preview", |
|
|
|
"generate-client": "openapi --input ./openapi.json --useOptions --useUnionTypes --output ./src/client --client axios --exportSchemas true" |
|
|
|
}, |
|
|
@ -39,6 +39,7 @@ |
|
|
|
"eslint-plugin-react-hooks": "^4.6.0", |
|
|
|
"eslint-plugin-react-refresh": "^0.4.4", |
|
|
|
"openapi-typescript-codegen": "0.25.0", |
|
|
|
"prettier": "3.2.5", |
|
|
|
"typescript": "^5.2.2", |
|
|
|
"vite": "^5.0.0" |
|
|
|
} |
|
|
|