felixrieseberg / slack-archive

Generate static HTML archives of Slack workspaces
242 stars 32 forks source link

make npm scripts work #10

Closed cheapsteak closed 2 years ago

cheapsteak commented 2 years ago

trying to run npm run cli and other scripts currently throw errors

ts-node seems to be need to be told to run in esm mode

had to add transpileOnly as well because otherwise it complains about missing types for esm modules

resolves https://github.com/felixrieseberg/slack-archive/issues/9

jenyasn97 commented 3 months ago

Installing npm i -D tsx and running npx tsx src/cli.ts