File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed
Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22const sade = require ( 'sade' ) ;
33const boot = require ( './index' ) ;
4- const pkg = require ( './package' ) ;
4+ const pkg = require ( './package.json ' ) ;
55
66sade ( 'sirv [dir]' )
77 . version ( pkg . version )
Original file line number Diff line number Diff line change 1111 "bin" : {
1212 "sirv" : " bin.js"
1313 },
14+ "exports" : {
15+ "./package.json" : " ./package.json"
16+ },
1417 "author" : {
1518 "name" : " Luke Edwards" ,
1619 "email" : " luke@lukeed.com" ,
1720 "url" : " https://lukeed.com"
1821 },
1922 "engines" : {
20- "node" : " >= 10 "
23+ "node" : " >=18 "
2124 },
2225 "dependencies" : {
2326 "console-clear" : " ^1.1.0" ,
2932 "sirv" : " ^2.0.0" ,
3033 "tinydate" : " ^1.0.0"
3134 }
32- }
35+ }
Original file line number Diff line number Diff line change 1111 " build.*" ,
1212 " sirv.d.ts"
1313 ],
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+ },
1427 "author" : {
1528 "name" : " Luke Edwards" ,
1629 "email" : " luke@lukeed.com" ,
1730 "url" : " https://lukeed.com"
1831 },
1932 "engines" : {
20- "node" : " >= 10 "
33+ "node" : " >=18 "
2134 },
2235 "dependencies" : {
2336 "@polka/url" : " ^1.0.0-next.24" ,
2437 "mrmime" : " ^2.0.0" ,
2538 "totalist" : " ^3.0.0"
2639 }
27- }
40+ }
You can’t perform that action at this time.
0 commit comments