Skip to content

Commit

Permalink
skip lib check in package postinstall to avoid other libs to interfere
Browse files Browse the repository at this point in the history
  • Loading branch information
moch-elearning committed Jun 16, 2022
1 parent 42970f7 commit 17af1de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json_client_ts",
"version": "0.1.21",
"version": "0.1.22",
"description": "Basic functions for JsonRPC 2.0, and JsonRESTful handling, written in Typescript",
"main": "lib/index.js",
"module": "es/index.js",
Expand All @@ -10,10 +10,10 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "npm run postinstall:es && npm run postinstall:esnext && npm run postinstall:umd && npm run postinstall:types",
"postinstall:es": "tsc --module commonjs --outDir es",
"postinstall:esnext": "tsc --module esnext --outDir esnext",
"postinstall:umd": "tsc --module umd --outDir lib",
"postinstall:types": "tsc --declaration --emitDeclarationOnly --outDir types"
"postinstall:es": "tsc --module commonjs --outDir es --skipLibCheck",
"postinstall:esnext": "tsc --module esnext --outDir esnext --skipLibCheck",
"postinstall:umd": "tsc --module umd --outDir lib --skipLibCheck",
"postinstall:types": "tsc --declaration --emitDeclarationOnly --outDir types --skipLibCheck"
},
"repository": {
"type": "git",
Expand All @@ -27,6 +27,6 @@
},
"homepage": "https://github.com/druppy/json_client_ts#readme",
"devDependencies": {
"typescript": "^3"
"typescript": "^4"
}
}

0 comments on commit 17af1de

Please sign in to comment.