Skip to content

pubcore/generator-js

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published