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:
Adam Dobrawy 2020-11-24 21:05:07 +01:00 committed by GitHub
parent 9c0850f2d7
commit be07bd13af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@
"typings": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
"prepare": "npm run build"
},
"dependencies": {
{{#frameworks}}

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",