jestifyit

3.2.2 • Public • Published

jestifyit npm version NPM npm bundle size

jestifyit is a simple way to create a new Node project and set it up for Jest testing.

jestifyit handles npm init -y and initializes the package.json file with the following:

  • Use Jest for testing => "node --experimental-vm-modules node_modules/jest/bin/jest.js"
  • Use ES6 Modules instead of CJS => "type": "module"
  • Use npm to install Jest => npm install --save-dev jest

Usage

Install jestifyit globally with:
  • npm install -g jestifyit
Run it in a new folder (empty project)
  • jestifyit

Disclaimer: This package is ONLY tested with a newly initialized project, as the steps above imply.

Using it in any other situation might give unexpected results ― no guarantees!

Package Sidebar

Install

npm i jestifyit

Weekly Downloads

1

Version

3.2.2

License

MIT

Unpacked Size

3.95 kB

Total Files

4

Last publish

Collaborators

  • dan-dm