0.12.2 • Published 4 years ago

@alex7kom/sayonara-config v0.12.2

Weekly downloads
33
License
MIT
Repository
-
Last release
4 years ago

Sayonara, config

A zero-config toolkit for JavaScript and TypeScript projects.

Currently this toolkit includes:

  • Project initialization (npm init, git init, .editorconfig, etc.)
  • Linting via ESLint+Prettier
  • Auto formatting via Prettier
  • Jest as a test runner
  • TypeScript support
  • JSDoc support

Usage

Sayonara, config has multiple sets of configuration suitable for different types of project.

  • node-app - Node.js app
  • node-app-ts - TypeScript Node.js app
  • node-library - Node.js library
  • browser-library - a library meant to be used on the client
  • universal-library - a library meant to be used on both the client and the server
  • npm-package - prepare project for publish on NPM
  • ts-ready - a typechecked JS library with index.d.ts built
  • preact-app-ts - a TypeScript Preact App

Multiple sets are allowed.

Just run in the project directory:

npx @alex7kom/sayonara-config node-library npm-package

It will install all the needed dependencies and project boilerplate. It will also remember installed sets so the next time you upgrade Sayonara, config you'll just need to run:

sayonara-config

Usage

Commands exposed via NPM scripts:

  • lint - lint *.js and *.ts files in /src directory
  • pretty - pretty *.js and *.ts files in /src
  • test - run Jest on *.test.js(x) and *.test.ts(x) files in /src
  • build - run build tools where applicable

License

MIT

0.12.2

4 years ago

0.12.1

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.11.1

4 years ago

0.10.1

4 years ago

0.10.2

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago