Last active
February 19, 2024 01:13
-
-
Save tdubs42/9a5dbc6c71cc8bc72c68f5014b35af07 to your computer and use it in GitHub Desktop.
package.json Scripts for Express + Node Backend with Knex and Jest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"start": "node index.js", | |
"server": "nodemon index.js", | |
"migrate": "knex migrate:latest", | |
"rollback": "knex migrate:rollback", | |
"seed": "knex seed:run", | |
"test": "cross-env NODE_ENV=test jest --runInBand --verbose --watch --setTimeout=500" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment