Skip to content

ksxnodeapps/make-mjs

Folders and files

NameName
Last commit message
Last commit date
May 17, 2020
Aug 25, 2020
May 30, 2020
Aug 25, 2020
Aug 25, 2020
Aug 28, 2020
Aug 17, 2020
Sep 1, 2019
Sep 1, 2019
Sep 26, 2019
Jul 26, 2020
Sep 20, 2019
Sep 1, 2019
May 30, 2020
Sep 1, 2019
Sep 26, 2019
Sep 1, 2019
Aug 25, 2020
Aug 22, 2020
Sep 1, 2019
Sep 1, 2019
Mar 9, 2020
Jul 30, 2020

Repository files navigation

Collection of @make-mjs packages

Purpose

This is a collection of packages that help turn a normal Babel JavaScript file that uses ES module import syntax into a .mjs file that imports exact URL.

Packages

APIs Documentation

Go to the GitHub page

Development

System Requirements

  • Node.js ≥ 10.16.3
  • Package Manager: pnpm
  • Git

Scripts

Build

pnpm run build

Clean

pnpm run clean

Test

Test Everything
pnpm test
Test Changed Files Only
pnpm test -- --onlyChanged
Test A Single File
pnpm test path/to/test/file.test.ts

or

pnpm test filename.test.ts
Update Jest Snapshot
pnpm test -- -u

Start Node.js REPL

This starts a Node.js REPL where you can import every module inside packages/ folder.

pnpm run repl

License

MIT © Hoàng Văn Khải