knex-schema
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "knex-schema", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Knex schema utility.", | ||
@@ -10,3 +10,4 @@ "main": "lib/manager.js", | ||
"scripts": { | ||
"test": "mocha -r test/bootstrap.js \"test/**/*.js\"" | ||
"test": "NODE_ENV=test mocha -r test/bootstrap.js --recursive", | ||
"coverage": "NODE_ENV=test mocha --require blanket --reporter mocha-lcov-reporter --recursive | coveralls" | ||
}, | ||
@@ -28,8 +29,11 @@ "repository": { | ||
"devDependencies": { | ||
"blanket": "^1.1.6", | ||
"chai": "^1.9.1", | ||
"knex": "^0.5.14", | ||
"coveralls": "^2.10.0", | ||
"knex": "^0.7.3", | ||
"mocha": "^1.18.2", | ||
"mocha-lcov-reporter": "0.0.1", | ||
"sinon": "^1.9.1", | ||
"sinon-chai": "^2.5.0", | ||
"sqlite3": "^2.2.3" | ||
"sqlite3": "^3.0.2" | ||
}, | ||
@@ -39,3 +43,8 @@ "dependencies": { | ||
"lodash": "^2.4.1" | ||
}, | ||
"config": { | ||
"blanket": { | ||
"pattern": "lib" | ||
} | ||
} | ||
} |
# knex-schema | ||
[![Build Status](https://travis-ci.org/lemonde/knex-schema.svg?branch=master)](https://travis-ci.org/lemonde/knex-schema) | ||
[![Dependency Status](https://david-dm.org/lemonde/knex-schema.svg?theme=shields.io)](https://david-dm.org/lemonde/knex-schema) | ||
[![devDependency Status](https://david-dm.org/lemonde/knex-schema/dev-status.svg?theme=shields.io)](https://david-dm.org/lemonde/knex-schema#info=devDependencies) | ||
[![Build Status][status]](https://travis-ci.org/lemonde/knex-schema) | ||
[![Dependency Status][deps]](https://david-dm.org/lemonde/knex-schema) | ||
[![devDependency Status][devdeps]](https://david-dm.org/lemonde/knex-schema#info=devDependencies) | ||
[![Coverage Status][coverage]](https://coveralls.io/r/lemonde/knex-schema) | ||
[status]: https://travis-ci.org/lemonde/knex-schema.svg?branch=master | ||
[deps]: https://david-dm.org/lemonde/knex-schema.svg?theme=shields.io | ||
[devdeps]: https://david-dm.org/lemonde/knex-schema/dev-status.svg?theme=shields.io | ||
[coverage]: https://img.shields.io/coveralls/lemonde/knex-schema.svg | ||
Knex sync utility. | ||
@@ -18,3 +24,4 @@ | ||
var database = require('knex').initialize({ client: 'pg' }); | ||
var manager = require('knex-schema')(database); | ||
var Manager = require('knex-schema'); | ||
var manager = new Manager(database); | ||
var articles = { | ||
@@ -80,2 +87,2 @@ tableName: 'articles', | ||
MIT | ||
MIT |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27678
87
9