File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 <a href =" https://www.npmjs.com/package/@coderrob/typescript-type-guards " >
99 <img src="https://img.shields.io/npm/v/%40coderrob%2Ftypescript-type-guards?logo=npm&logoColor=white" alt="npm version" />
1010 </a >
11- <a href =" https://www.npmjs.com/package/@coderrob/typescript-type-guards " >
12- <img src="https://img.shields.io/npm/dm/%40coderrob%2Ftypescript-type-guards?logo=npm&logoColor=white" alt="npm downloads" />
13- </a >
1411 <a href =" https://github.com/Coderrob/typescript-type-guards/actions/workflows/ci.yml " >
1512 <img src="https://img.shields.io/github/actions/workflow/status/Coderrob/typescript-type-guards/ci.yml?branch=main&label=ci" alt="CI status" />
1613 </a >
Original file line number Diff line number Diff line change 6666 "url" : " git+https://github.com/Coderrob/typescript-type-guards.git"
6767 },
6868 "scripts" : {
69- "build" : " tsup src/index.ts --format cjs,esm --dts --clean --target es2020 " ,
69+ "build" : " tsup --config tsup.config.ts " ,
7070 "changeset" : " changeset" ,
7171 "check:publint" : " publint run --strict ." ,
7272 "check:types:package" : " attw --pack ." ,
9696 "sideEffects" : false ,
9797 "type" : " commonjs" ,
9898 "types" : " dist/index.d.ts" ,
99- "version" : " 1.0.0 "
99+ "version" : " 1.0.1 "
100100}
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'tsup' ;
2+
3+ export default defineConfig ( {
4+ clean : true ,
5+ dts : true ,
6+ entry : [ 'src/index.ts' ] ,
7+ format : [ 'cjs' , 'esm' ] ,
8+ minify : true ,
9+ target : 'es2020' ,
10+ } ) ;
You can’t perform that action at this time.
0 commit comments