File tree 3 files changed +21
-5
lines changed
3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
const sade = require ( 'sade' ) ;
3
3
const boot = require ( './index' ) ;
4
- const pkg = require ( './package' ) ;
4
+ const pkg = require ( './package.json ' ) ;
5
5
6
6
sade ( 'sirv [dir]' )
7
7
. version ( pkg . version )
Original file line number Diff line number Diff line change 11
11
"bin" : {
12
12
"sirv" : " bin.js"
13
13
},
14
+ "exports" : {
15
+ "./package.json" : " ./package.json"
16
+ },
14
17
"author" : {
15
18
"name" : " Luke Edwards" ,
16
19
"email" : " luke@lukeed.com" ,
17
20
"url" : " https://lukeed.com"
18
21
},
19
22
"engines" : {
20
- "node" : " >= 10 "
23
+ "node" : " >=18 "
21
24
},
22
25
"dependencies" : {
23
26
"console-clear" : " ^1.1.0" ,
29
32
"sirv" : " ^2.0.0" ,
30
33
"tinydate" : " ^1.0.0"
31
34
}
32
- }
35
+ }
Original file line number Diff line number Diff line change 11
11
" build.*" ,
12
12
" sirv.d.ts"
13
13
],
14
+ "exports" : {
15
+ "." : {
16
+ "import" : {
17
+ "types" : " ./sirv.d.ts" ,
18
+ "default" : " ./build.mjs"
19
+ },
20
+ "require" : {
21
+ "types" : " ./sirv.d.ts" ,
22
+ "default" : " ./build.js"
23
+ }
24
+ },
25
+ "./package.json" : " ./package.json"
26
+ },
14
27
"author" : {
15
28
"name" : " Luke Edwards" ,
16
29
"email" : " luke@lukeed.com" ,
17
30
"url" : " https://lukeed.com"
18
31
},
19
32
"engines" : {
20
- "node" : " >= 10 "
33
+ "node" : " >=18 "
21
34
},
22
35
"dependencies" : {
23
36
"@polka/url" : " ^1.0.0-next.24" ,
24
37
"mrmime" : " ^2.0.0" ,
25
38
"totalist" : " ^3.0.0"
26
39
}
27
- }
40
+ }
You can’t perform that action at this time.
0 commit comments