File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 77 "types" : " dist/index.d.ts" ,
88 "scripts" : {
99 "test" : " ts-mocha -p test.tsconfig.json ." ,
10- "build" : " tsc -b && NODE_OPTIONS='--loader ts-node/esm' webpack && node fix-dist-output.js" ,
10+ "build" : " tsc -b && NODE_OPTIONS='--loader ts-node/esm' webpack && node scripts/ fix-dist-output.js" ,
1111 "lint" : " prettier --check . && eslint . --ext .ts" ,
1212 "lint-fix" : " prettier --write . && eslint . --ext .ts --fix" ,
1313 "docs" : " typedoc --out docs src/index.ts"
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import { fileURLToPath } from "url";
44
55
66const __dirname = fileURLToPath ( new URL ( "." , import . meta. url ) ) ;
7- const distDir = resolve ( __dirname , "dist" ) ;
7+ const parentDirName = resolve ( __dirname , ".." ) ;
8+ const distDir = resolve ( parentDirName , "dist" ) ;
89
910const files = await readdir ( distDir ) ;
1011
You can’t perform that action at this time.
0 commit comments