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