Skip to content

Commit

Permalink
Generate types (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin authored Apr 17, 2024
1 parent c37ae3e commit ddb37a7
Show file tree
Hide file tree
Showing 3 changed files with 6,733 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"dev": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi"
"strapi": "strapi",
"types": "npm run types:prod",
"types:local": "npx openapi-typescript http://localhost:1337/api/docs/openapi.json -o src/gen/types.ts",
"types:prod": "npx openapi-typescript https://cms.cow.fi/api/docs/openapi.json -o src/gen/types.ts"
},
"devDependencies": {},
"dependencies": {
Expand All @@ -16,6 +19,7 @@
"@strapi/plugin-users-permissions": "4.13.3",
"@strapi/strapi": "4.13.3",
"better-sqlite3": "8.5.0",
"openapi-typescript": "^6.7.5",
"pg": "^8.11.3"
},
"author": {
Expand Down
Loading

0 comments on commit ddb37a7

Please sign in to comment.