Skip to content

jhk1090/util-bowl

Repository files navigation

Util-bowl

Filesystem trick.

Purpose

  • Learn npm package uploading
  • Learn how to support ECMAScript, CommonJS, Typescript at the same time using typescript environment
  • Learn how to build properly on nodejs

How to Execute

# build (will generate dist folder)
npm run build

# ECMAScript
node dist/mjs

# CommonJS
node dist/cjs

Contribution

Project is based on bash. (Currently working on Git Bash from Windows.)
There may be some potential issues in non-bash shell. (e.g. Powershell, cmd)

# build
npm run build

# build (in live)
npm run dev