UNPKG

unexpected-knex

Version:

Support for testing Knex.js models and migrations using Unexpected

68 lines (67 loc) 1.78 kB
{ "name": "unexpected-knex", "version": "5.0.0", "description": "Support for testing Knex.js models and migrations using Unexpected", "main": "lib/unexpected-knex.js", "scripts": { "lint": "eslint . && prettier --check '**/*.{js,md}'", "lint:fix": "eslint --fix . && prettier --write '**/*.{js,md}'", "test:mocha": "mocha --exit", "test": "docker compose run --rm unexpected-knex", "coverage": "ASSERT_ERROR_OUTPUT=false nyc mocha" }, "keywords": [ "test", "testing", "knex", "database", "models", "migrations", "unexpected" ], "author": "Joel Mukuthu <joelmukuthu@gmail.com>", "license": "MIT", "peerDependencies": { "knex": "^0.95.0 || ^1 || ^2", "unexpected": "^10.27.0 || ^11.0.0 || ^12.0.0" }, "devDependencies": { "dedent-js": "^1.0.1", "eslint": "^8.49.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-mocha": "^10.1.0", "eslint-plugin-n": "^16.1.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.1.1", "knex": "^2.5.1", "mocha": "^10.2.0", "mock-fs": "^5.2.0", "nyc": "^15.1.0", "pg": "^8.11.3", "prettier": "^3.0.3", "unexpected": "^12.0.0", "unexpected-require": "^2.1.0" }, "nyc": { "cache": true, "include": [ "lib/unexpected-knex.js" ] }, "directories": { "test": "test" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/unexpectedjs/unexpected-knex.git" }, "bugs": { "url": "https://github.com/unexpectedjs/unexpected-knex/issues" }, "homepage": "https://github.com/unexpectedjs/unexpected-knex#readme", "dependencies": { "proxyquire": "2.1.2" } }