@pubcore/generator-js

1.2.1 • Public • Published

Build Status

Commandline tool to scaffolding new packages

Prerequisites

  • latest version of nodejs
  • latest version of npm
  • git

Yeoman generator to create a package scaffolding for ECMAScript 2021, with

  • eslint
  • prettier with husky pre-commit hook
  • transpiler via esbuild
  • running tests via mocha
  • sho code coverage after test run with nyc

Install it global

npm install -g yo @pubcore/generator-js

How to use

  1. within your scope directoy craete a new one (convention: lower case and dash-separated)
mkdir new-project
  1. and change into it
cd new-project
  1. execute
yo @pubcore/js
  1. (optional) if your code already exists, copy it into src/app.mjs.

Readme

Keywords

Package Sidebar

Install

npm i @pubcore/generator-js

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

5.7 kB

Total Files

16

Last publish

Collaborators

  • dominix
  • jacklrs
  • fidorw