0.5.14 • Published 2 years ago

esmtk v0.5.14

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

ESMTK, essential tools and libs for ES module development

Lint

Lint uses StandardJS to lint the source

Arguments

esmtk lint [--fix]

  • --fix - automatically fix problems

Usage

esmtk lint

Bundle

Bundle uses ESBuild to compile an ES module (and its deps) into a bundle

Arguments

esmtk bundle [input] [output]

  • [input] - the input source file path
  • [output] - the output bundle file path

Usage

esmtk bundle src/sample.js bundle.js

Minify

Minify uses ESBuild to compile an ES module (and its deps) into a minified bundle

Arguments

esmtk minify [input] [output]

  • [input] - the input source file path
  • [output] - the output bundle file path

Usage

esmtk minify src/sample.js bundle.min.js

CommonJS

CommonJS uses ESBuild to compile an ES module (and its deps) into a CommonJS bundle

Arguments

esmtk commonjs [input] [output]

  • [input] - the input source file path
  • [output] - the output bundle file path

Usage

esmtk commonjs src/sample.js bundle.cjs

Copy

Copy us a cross-platform clone of the cp command in Linux

Arguments

esmtk cp -rf [source] [destination]

  • [source] - the source file/glob
  • [destination] - the destination file/directory
  • -r, --recursive - copy files/directories recursively
  • -f --force - force overwrite existing files

Usage

esmtk cp src/* dest/
0.5.14

2 years ago

0.5.13

2 years ago

0.5.12

3 years ago

0.5.10

3 years ago

0.5.11

3 years ago

0.5.8

3 years ago

0.5.7

3 years ago

0.5.9

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.6

3 years ago

0.5.5

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

4 years ago

0.4.3

4 years ago

0.4.1

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago