Skip to content

Commit 6267a8b

Browse files
committed
chore: add prettier to test prettier functionality
1 parent 745912e commit 6267a8b

File tree

2 files changed

+148
-139
lines changed

2 files changed

+148
-139
lines changed

examples/react-app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
"dev:mock": "prism mock ./petstore.yaml --dynamic",
1010
"build": "tsc && vite build",
1111
"preview": "vite preview",
12-
"generate:api": "node ../../dist/cli.mjs -i ./petstore.yaml -c axios --request ./request.ts",
12+
"generate:api": "node ../../dist/cli.mjs -i ./openapi.yml",
1313
"test:generated": "tsc -p ./tsconfig.openapi.json --noEmit"
1414
},
1515
"dependencies": {
1616
"@tanstack/react-query": "^5.18.1",
1717
"axios": "^1.6.7",
1818
"form-data": "~4.0.0",
19+
"prettier": "^3.2.5",
1920
"react": "^18.2.0",
2021
"react-dom": "^18.2.0"
2122
},

0 commit comments

Comments
 (0)