{ "name": "knex-migrator", "version": "5.2.1", "description": "Database migrations with knex.", "keywords": [ "ghost", "migration", "knex", "knex-migrations", "knex migration", "knex migrations", "bookshelf migration", "bookshelf" ], "repository": { "type": "git", "url": "git@github.com:TryGhost/knex-migrator.git" }, "bugs": { "url": "https://github.com/TryGhost//knex-migrator/issues" }, "author": { "name": "Ghost Foundation", "email": "hello@ghost.org", "web": "https://ghost.org" }, "main": "lib", "license": "MIT", "scripts": { "lint": "eslint --ext .js --cache lib/** test/**", "test": "LEVEL=fatal _mocha --require test/utils.js --report lcovonly --exit -- test/**/*_spec.js", "test:unit": "yarn lint && LEVEL=fatal _mocha --require test/utils.js --report lcovonly -- test/unit/*_spec.js", "posttest": "yarn lint", "coverage": "nyc --reporter=lcov _mocha --require test/utils.js -- test/*_spec.js", "preship": "yarn test", "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags; fi" }, "bin": { "knex-migrator": "./bin/knex-migrator", "knex-migrator-init": "./bin/knex-migrator-init", "knex-migrator-health": "./bin/knex-migrator-health", "knex-migrator-migrate": "./bin/knex-migrator-migrate", "knex-migrator-reset": "./bin/knex-migrator-reset", "knex-migrator-rollback": "./bin/knex-migrator-rollback" }, "engines": { "node": "^14.18.0 || ^16.13.0 || ^18.12.1 || ^20.11.1" }, "dependencies": { "@tryghost/database-info": "0.3.22", "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.10", "@tryghost/promise": "0.3.8", "commander": "5.1.0", "compare-ver": "2.0.2", "debug": "4.3.4", "knex": "2.4.2", "lodash": "4.17.21", "moment": "2.24.0", "mysql2": "3.9.7", "nconf": "0.12.1", "resolve": "1.22.8" }, "files": [ "bin", "lib", "migrations", "logging.js" ], "devDependencies": { "eslint": "6.8.0", "eslint-plugin-ghost": "0.2.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "3.0.2", "should": "13.2.3", "sinon": "9.2.4" }, "optionalDependencies": { "sqlite3": "5.1.7" } }