ts-migrate-mongoose
Version:
A migration framework for Mongoose, built with TypeScript.
127 lines (126 loc) • 3.05 kB
JSON
{
"name": "ts-migrate-mongoose",
"version": "5.3.3",
"description": "A migration framework for Mongoose, built with TypeScript.",
"author": "ilovepixelart",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ilovepixelart/ts-migrate-mongoose.git"
},
"bugs": {
"url": "https://github.com/ilovepixelart/ts-migrate-mongoose/issues"
},
"homepage": "https://github.com/ilovepixelart/ts-migrate-mongoose#readme",
"keywords": [
"backend",
"migrate",
"migration",
"migrations",
"mongoose",
"mongodb",
"mongo",
"schema",
"db",
"nosql",
"ts",
"typescript",
"cli",
"cli-app",
"cli-tool",
"programmatic"
],
"engines": {
"node": ">=20"
},
"files": [
"dist"
],
"type": "module",
"bin": {
"migrate": "./dist/cli.js"
},
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"./nest": {
"require": {
"types": "./dist/nest/index.d.cts",
"default": "./dist/nest/index.cjs"
},
"import": {
"types": "./dist/nest/index.d.mts",
"default": "./dist/nest/index.mjs"
}
}
},
"typesVersions": {
"*": {
"nest": [
"./dist/nest/index.d.cts"
]
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"migrate": "tsx src/cli.ts",
"biome": "npx @biomejs/biome check",
"biome:fix": "npx @biomejs/biome check --write .",
"pretest": "cd examples/config-file-usage/src && npx tsc",
"test": "vitest run --coverage",
"test:open": "vitest run --coverage && open-cli coverage/lcov-report/index.html",
"clean": "rm -rf ./dist",
"type:check": "tsc --noEmit",
"type:check:tests": "tsc --noEmit -p tests/tsconfig.json",
"build": "pkgroll --clean-dist",
"release": "npm install && npm run biome && npm run type:check && npm run type:check:tests && npm run build && np --no-publish"
},
"dependencies": {
"tsx": "4.21.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.14",
"@nestjs/common": "11.1.18",
"@nestjs/core": "11.1.18",
"@nestjs/testing": "11.1.18",
"@types/node": "25.6.1",
"@vitest/coverage-v8": "4.1.5",
"fast-check": "4.7.0",
"mongodb-memory-server": "11.0.1",
"open-cli": "9.0.0",
"pkgroll": "2.27.0",
"simple-git-hooks": "2.13.1",
"typescript": "5.9.3",
"vitest": "4.1.5"
},
"peerDependencies": {
"@nestjs/common": ">=9.0.0 < 12",
"mongoose": ">=6.6.0 < 10"
},
"peerDependenciesMeta": {
"@nestjs/common": {
"optional": true
}
},
"simple-git-hooks": {
"pre-commit": "npm run type:check",
"pre-push": "npm run biome:fix"
},
"np": {
"publish": false
}
}