forked from loafle/openapi-generator-original
Allows install typescript client via npm from Git (#7878)
* Allows install typescript client via npm from Git 'prepublishOnly' is run before the package is published. 'prepack' is run before the package is published and after installation local installation eg. via Git. * Update examples for Typescript
This commit is contained in:
parent
9c0850f2d7
commit
be07bd13af
@ -14,7 +14,7 @@
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build"
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
{{#frameworks}}
|
||||
|
@ -14,7 +14,7 @@
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build"
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-fetch": "^2.6.0",
|
||||
|
@ -14,7 +14,7 @@
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build"
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-fetch": "^2.6.0",
|
||||
|
@ -14,7 +14,7 @@
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build"
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/jquery": "^3.3.29",
|
||||
|
@ -14,7 +14,7 @@
|
||||
"typings": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build"
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-fetch": "^2.6.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user