File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
"scripts" : {
15
15
"test" : " jest --coverage" ,
16
16
"clean" : " rimraf lib" ,
17
- "build" : " npm run clean && tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && node postbuild.js" ,
17
+ "build" : " npm run clean && tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && node scripts/ postbuild.js" ,
18
18
"prepack" : " npm run build" ,
19
19
"prettier" : " prettier --write src/**/*.{ts,js}"
20
20
},
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ const fs = require('fs');
6
6
const path = require ( 'path' ) ;
7
7
8
8
fs . writeFileSync (
9
- path . join ( __dirname , 'lib/cjs/package.json' ) ,
9
+ path . join ( __dirname , '../ lib/cjs/package.json' ) ,
10
10
JSON . stringify ( { type : 'commonjs' } ) ,
11
11
'utf8'
12
12
) ;
13
13
14
14
fs . writeFileSync (
15
- path . join ( __dirname , 'lib/esm/package.json' ) ,
15
+ path . join ( __dirname , '../ lib/esm/package.json' ) ,
16
16
JSON . stringify ( { type : 'module' } ) ,
17
17
'utf8'
18
18
) ;
You can’t perform that action at this time.
0 commit comments