1.0.15 • Published 2 years ago

@elieandraos/create-nodejs-package v1.0.15

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Installation

# Install the package globally.
npm i -g @elieandraos/create-nodejs-package
create-nodejs-package

# or (requires NPM6+)
npm init @elieandraos/nodejs-package

The scaffolded package

Includes:

  • :package: esbuild, an extremely fast JavaScript bundler
  • :test_tube: jest, a delightful JavaScript testing framework
  • :rotating_light: eslint, a tool for identifying and reporting on patterns in JavaScript
  • :lipstick: prettier, a tool for code formatting
  • :twisted_rightwards_arrows: dotenv, loads environment variables from a .env file into process.env
  • :rocket: automated semantic version releasing

Scripts:

  • npm run build bundles your code with esbuild
  • npm run test runs the test suites with jest
  • npm run format formats the code with prettier
  • npm run lint check for linting error & apply fixes with es-lint
  • npm run release creates a gitHub tag and release, publishes to npm registry
  • npm run info lists the dependencies installed and the ones that are outdated

Customization

The package uses the default eslint:recommended set of rules and few prettier rules. You can customize both of them to your personal flavor.

Release automation

The automated release is shipped from the package @elieandraos/cli-tools

npm run release
1.0.9

2 years ago

1.0.8

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago