Skip to content

Commit

Permalink
feat: use downlevel-dts to generate TS 3.4 compatible types (smithy-l…
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored and srchase committed Mar 17, 2023
1 parent c9de05f commit 41211f8
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
Expand All @@ -29,12 +30,18 @@
"tslib": "^2.0.0"
},
"devDependencies": {
"downlevel-dts": "0.7.0",
"jest": "^26.1.0",
"rimraf": "^3.0.0",
"typedoc": "^0.19.2",
"typescript": "~4.1.2"
},
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<3.9": {
"types/*": ["types/ts3.4/*"]
}
}
}

0 comments on commit 41211f8

Please sign in to comment.