File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
"types" : " dist/index.d.ts" ,
8
8
"scripts" : {
9
9
"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" ,
11
11
"lint" : " prettier --check . && eslint . --ext .ts" ,
12
12
"lint-fix" : " prettier --write . && eslint . --ext .ts --fix" ,
13
13
"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";
4
4
5
5
6
6
const __dirname = fileURLToPath ( new URL ( "." , import . meta. url ) ) ;
7
- const distDir = resolve ( __dirname , "dist" ) ;
7
+ const parentDirName = resolve ( __dirname , ".." ) ;
8
+ const distDir = resolve ( parentDirName , "dist" ) ;
8
9
9
10
const files = await readdir ( distDir ) ;
10
11
You can’t perform that action at this time.
0 commit comments