Skip to content

Commit

Permalink
A few fixes to typescript/axios templates
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed May 6, 2024
1 parent 5093eaf commit 3864e6d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions generators/typescript-axios/templates/package.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "{{npmName}}",
"version": "{{npmVersion}}",
"description": "OpenAPI client for {{npmName}}",
"description": "Node.js library for the Onfido API", {{! Updated description }}
"author": "OpenAPI-Generator Contributors",
"repository": {
"type": "git",
Expand All @@ -12,7 +12,13 @@
"typescript",
"openapi-client",
"openapi-generator",
"{{npmName}}"
"{{npmName}}",
{{! Added keywords - BEGIN }}
"{{gitUserId}}",
"identity",
"verification",
"api"
{{! Added keywords - NED }}
],
"license": "MIT", {{! Updated license }}
"main": "./dist/index.js",
Expand All @@ -26,6 +32,10 @@
"build": "tsc{{#supportsES6}} && tsc -p tsconfig.esm.json{{/supportsES6}}",
"prepare": "npm run build"
},
{{! Added block for package delivery }}
"files": [
"/dist"
],
{{! Added block for integration tests }}
"jest": {
"preset": "ts-jest",
Expand Down

0 comments on commit 3864e6d

Please sign in to comment.