File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"clean" : " yarn remove-definitions && yarn remove-dist && yarn remove-documentation" ,
7
7
"build-documentation" : " yarn remove-documentation && typedoc ./" ,
8
- "prepublishOnly" : " yarn build" ,
8
+ "prepublishOnly" : " yarn build && downlevel-dts dist/types dist/types/ts3.4 " ,
9
9
"remove-definitions" : " rimraf ./types" ,
10
10
"remove-dist" : " rimraf ./dist" ,
11
11
"remove-documentation" : " rimraf ./docs" ,
12
12
"test" : " yarn build && jest --coverage --passWithNoTests" ,
13
13
"build:cjs" : " tsc -p tsconfig.json" ,
14
14
"build:es" : " tsc -p tsconfig.es.json" ,
15
- "build" : " yarn build:cjs && yarn build:es" ,
16
- "postbuild" : " downlevel-dts dist/types dist/types/ts3.4"
15
+ "build" : " yarn build:cjs && yarn build:es"
17
16
},
18
17
"main" : " ./dist/cjs/index.js" ,
19
18
"types" : " ./dist/types/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments