We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f3ef1 commit 02a657fCopy full SHA for 02a657f
package.json
@@ -17,7 +17,8 @@
17
"start:dist": "node dist/index.js",
18
"fetch-api": "curl https://artifacts.codacy.com/api/codacy-api/50.7.17/apiv3-bundled.yaml -o ./api-v3/api-swagger.yaml --create-dirs",
19
"generate-api": "rm -rf ./src/api/client && openapi --input ./api-v3/api-swagger.yaml --output ./src/api/client --useUnionTypes --indent 2 --client fetch",
20
- "update-api": "npm run fetch-api && npm run generate-api"
+ "update-api": "npm run fetch-api && npm run generate-api",
21
+ "postinstall": "npm run update-api"
22
},
23
"keywords": [
24
"codacy",
0 commit comments