UNPKG

@typegoose/typegoose

Version:

Define Mongoose models using TypeScript classes

94 lines (93 loc) 2.54 kB
{ "name": "@typegoose/typegoose", "version": "12.11.0", "description": "Define Mongoose models using TypeScript classes", "main": "lib/typegoose.js", "types": "lib/typegoose.d.ts", "type": "commonjs", "engines": { "node": ">=16.20.1" }, "files": [ "lib/**/*.js", "lib/**/*.d.ts" ], "scripts": { "build": "tsc -p tsconfig.build.json", "build:tests": "tsc -p tsconfig.buildTests.json", "lint": "eslint -c ./.eslintrc.cjs \"./**/*.{js,ts,cjs,mjs,cts,mts}\"", "test": "jest", "test:watch": "jest --watchAll", "test:coverage": "jest --collectCoverage", "test:watchCoverage": "jest --collectCoverage --watchAll", "test:types": "tstyche", "watch": "tsc -w -p tsconfig.buildTests.json", "clean": "rimraf lib .tsbuildinfo coverage doc build", "prepare": "husky install", "website": "yarn --cwd website/ run start" }, "repository": { "type": "git", "url": "git+https://github.com/typegoose/typegoose.git" }, "author": "Akos Szokodi <akos@codingsans.com> (http://codingsans.com)", "contributors": [ "Ben305", "hasezoey <hasezoey@gmail.com>" ], "license": "MIT", "peerDependencies": { "mongoose": "~8.10.0" }, "devDependencies": { "@commitlint/cli": "^17.7.1", "@commitlint/config-conventional": "^17.8.1", "@deepkit/core": "1.0.1-alpha.58", "@deepkit/type": "1.0.1-alpha.58", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.15", "@types/node": "~16.11.7", "@types/semver": "^7.5.8", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "class-transformer": "0.5.1", "commitlint": "^17.8.1", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.3", "husky": "^8.0.3", "jest": "^29.7.0", "lint-staged": "^14.0.1", "mongodb-memory-server": "^10.1.3", "mongoose": "~8.10.0", "prettier": "^3.4.2", "rimraf": "^5.0.10", "ts-jest": "^29.2.5", "tstyche": "^2.1.1", "typescript": "~5.3.3" }, "dependencies": { "lodash": "^4.17.20", "loglevel": "^1.9.2", "reflect-metadata": "^0.2.2", "semver": "^7.7.1", "tslib": "^2.8.1" }, "publishConfig": { "access": "public" }, "keywords": [ "typegoose", "mongoose", "orm", "mongodb", "class", "model", "schema", "odm" ], "bugs": { "url": "https://github.com/typegoose/typegoose/issues" }, "homepage": "https://typegoose.github.io/typegoose/" }