knexup
v0.3.0-alpha
Published
Get up and running with knex.js in typescript project.
Downloads
178
Readme
knexup
Get up and running with knex.js in typescript project.
Install
npm i -g knexup
Commands Overview
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
init Creates a knexup config file.
help [command] display help for command
init
knexup init
Initialize the project - dependencies installation, etc. This will:
- Install dependencies -
knex
,knexhelpers
,objection
,tsx
- and a db client library of choice. - Setup
knexfile.ts
in the specified knex directory. - Setup npm scripts for running knex migration and seed actions.
- Generate other helper files.