typescript-transformer-esm

v1.1.0
Make import/export ESM compatible by appending .js (file) or /index.js (directory)
esm export import modules plugin transformer typescript

prebuild

npm run clean

build

npx tsc --build ./tsconfig.cjs.json ./tsconfig.esm.json

check

npx npm-run-all --npm-path npm "check:*"

check:format

npx prettier --check .

check:lint

npx eslint .

check:markdown

npx markdownlint "**/*.md"

check:script

npx shellcheck ./.husky/pre-commit

check:type

npx tsc --project ./tsconfig.json --noEmit

clean

npx shx rm -rf build

fix

npx npm-run-all --npm-path npm "fix:*"

fix:format

npx prettier --write .

fix:lint

npx eslint --fix .

fix:markdown

npx markdownlint --fix "**/*.md"

prepare

npx ts-patch install -s && npx husky install

prepublishOnly

npm run build

test

npm i typescript-transformer-esm

Metadata

  • MIT
  • >=16.0.0
  • Unknown
  • released 7/24/2023

Downloads

Maintainers