UNPKG

papr

Version:

MongoDB TypeScript-aware Models

129 lines (128 loc) 3.18 kB
{ "name": "papr", "description": "MongoDB TypeScript-aware Models", "author": "Plex Inc.", "version": "11.1.0", "keywords": [ "mongodb", "database", "model", "schema", "json", "json-schema", "validation", "typescript", "types" ], "license": "MIT", "engines": { "node": "^14.0.0 || >=15.0.0" }, "type": "module", "types": "./esm/index.d.ts", "main": "./cjs/index.js", "exports": { "import": "./esm/index.js", "require": "./cjs/index.js" }, "files": [ "cjs/*", "esm/*" ], "repository": { "type": "git", "url": "git+https://github.com/plexinc/papr.git" }, "homepage": "https://plexinc.github.io/papr/", "bugs": { "url": "https://github.com/plexinc/papr/issues/new" }, "scripts": { "build": "./build.sh", "docs": "node docs/build.js && docsify serve ./docs", "benchmark": "yarn build && node --experimental-specifier-resolution=node ./benchmark/run.js", "lint": "eslint --ext .js,.mjs,.ts .", "_postinstall": "husky install", "postpack": "pinst --enable", "prepack": "pinst --disable && yarn build", "pretty": "prettier '**/*.{js,md,ts}' --write", "pretty:ci": "prettier '**/*.{js,md,ts}' --check", "release": "standard-version --infile docs/CHANGELOG.md", "test": "jest", "test:build": "./tests/build.sh", "test:types": "tsc", "watch": "jest --watchAll", "watch:types": "tsc --watch" }, "devDependencies": { "@babel/core": "7.21.0", "@babel/preset-env": "7.20.2", "@babel/preset-typescript": "7.21.0", "@byu-oit/bar-chart": "1.4.2", "@commitlint/cli": "17.4.3", "@commitlint/config-conventional": "17.4.3", "@types/node": "14.18.36", "@typescript-eslint/eslint-plugin": "5.53.0", "@typescript-eslint/parser": "5.53.0", "arg": "5.0.2", "docsify-cli": "4.4.4", "eslint": "8.34.0", "eslint-config-prettier": "8.6.0", "eslint-config-standard": "17.0.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-n": "15.6.1", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-promise": "6.1.1", "husky": "8.0.3", "jest": "29.4.2", "jsdoc-api": "8.0.0", "jsdoc-parse": "6.2.0", "lint-staged": "13.1.0", "mongodb": "5.1.0", "mongodb-memory-server": "8.11.0", "mongoose": "6.3.5", "pinst": "3.0.0", "prettier": "2.8.1", "standard-version": "9.5.0", "ts-expect": "1.3.0", "ts-node": "10.9.1", "typescript": "4.9.5" }, "peerDependencies": { "mongodb": "^5.0.0" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "subject-case": [ 2, "always", [ "sentence-case" ] ] } }, "lint-staged": { "*.{js,mjs,ts}": [ "eslint --ext .js,.mjs,.ts --fix", "prettier --write --list-different" ], "src/*.ts": [ "node docs/build.js", "git add docs/" ] }, "prettier": { "printWidth": 100, "singleQuote": true, "trailingComma": "es5" }, "volta": { "node": "14.21.3", "yarn": "1.22.19" }, "packageManager": "yarn@3.3.1" }