Socket
Book a DemoInstallSign in
Socket

grunt-knex-schema

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-knex-schema

Grunt tasks for knex-schema utility

latest
Source
npmnpm
Version
2.3.1
Version published
Weekly downloads
1
-50%
Maintainers
3
Weekly downloads
 
Created
Source

grunt-knex-schema

Build Status Dependency Status devDependency Status Coverage Status

Grunt knex-schema tasks.

Install

npm install grunt-knex-schema

Usage

grunt knexschema:sync
grunt knexschema:populate
grunt knexschema:reset
grunt knexschema:drop

Gruntfile

Gruntfile options:

module.exports = function(grunt) {
  grunt.initConfig({
    knexschema: {
      database: {
        client: 'sqlite',
        connection: {
          filename: ':memory:'
        }
      },
      paths: ['path-to-schemas/*.js']
    }
  });

  grunt.loadNpmTasks('grunt-knex-schema');
};

License

MIT

Keywords

grunt

FAQs

Package last updated on 15 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts