File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
"type" : " module" ,
6
6
"main" : " lib/index.js" ,
7
7
"scripts" : {
8
- "test" : " mocha --recursive test/ --timeout=0" ,
8
+ "test" : " npm run build && mocha --recursive test/ --timeout=0" ,
9
9
"report" : " npx c8 npm test" ,
10
10
"coverage" : " npx c8 --reporter json npm test && npx codecov -f coverage/coverage-final.json" ,
11
11
"install" : " node installer.mjs" ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- import { createArchive } from './index' ;
3
+ import { createArchive } from './index.js ' ;
4
4
import when from 'when' ;
5
5
import { fileURLToPath } from 'url' ;
6
6
import { dirname , sep , join } from 'path' ;
7
7
import fs from 'fs-extra' ;
8
- import { Binary } from './utility' ;
8
+ import { Binary } from './utility.js ' ;
9
9
import { isWindows } from 'node-sys' ;
10
10
const platformTitle = {
11
11
win32 : 'Windows OS' ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
import when from 'when' ;
4
- import { Files , ReplaceNativeSeparator , Run } from './utility' ;
5
- import { createSfx } from './createSfx' ;
4
+ import { Files , ReplaceNativeSeparator , Run } from './utility.js ' ;
5
+ import { createSfx } from './createSfx.js ' ;
6
6
import { isWindows } from 'node-sys' ;
7
7
8
8
function retry (
You can’t perform that action at this time.
0 commit comments