Closed laiso closed 2 weeks ago
bin/index.js
bin/site2pdf.js
main
package.json
0.1.0
0.1.1
bin
index.ts
showHelp
useBrowserContext
generatePDF
BrowserContext
describe
it
expect
@jest/globals
cli.test.ts
index.test.ts
exclude
tsconfig.json
**/*.spec.ts
**/*.test.ts
Changes
Details
bin/index.js
and modifiedbin/site2pdf.js
to call themain
function directly.package.json
from0.1.0
to0.1.1
and changed thebin
entry frombin/index.js
tobin/site2pdf.js
.index.ts
:showHelp
function.useBrowserContext
function.generatePDF
function to use theBrowserContext
type.main
function to useuseBrowserContext
.describe
,it
, andexpect
from@jest/globals
incli.test.ts
.index.test.ts
to use theBrowserContext
type.exclude
entry intsconfig.json
from**/*.spec.ts
to**/*.test.ts
.