Skip to content

Instantly share code, notes, and snippets.

@tdubs42
Last active February 19, 2024 01:13
Show Gist options
  • Save tdubs42/9a5dbc6c71cc8bc72c68f5014b35af07 to your computer and use it in GitHub Desktop.
Save tdubs42/9a5dbc6c71cc8bc72c68f5014b35af07 to your computer and use it in GitHub Desktop.
package.json Scripts for Express + Node Backend with Knex and Jest
"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