3.2.2 • Published 4 years ago
jestifyit v3.2.2
jestifyit

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
npmto 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!