UNPKG

@datastax/astra-mongoose

Version:

Astra's NodeJS Mongoose compatibility client

93 lines (92 loc) 2.96 kB
{ "name": "@datastax/astra-mongoose", "version": "1.0.3", "description": "Astra's NodeJS Mongoose compatibility client", "contributors": [ "CRW (http://barnyrubble.tumblr.com/)", "Valeri Karpov (https://github.com/vkarpov15)", "Aaron Morton (https://github.com/amorton)", "Kathiresan Selvaraj (https://github.com/kathirsvn)" ], "keywords": [ "cassandra", "dse", "document", "model", "schema", "database", "odm", "data", "datastore", "query", "nosql", "orm", "db", "astra" ], "homepage": "https://github.com/stargate/stargate-mongoose", "license": "Apache-2.0", "main": "dist/index.js", "types": "dist/index.d.ts", "mocha": { "timeout": 30000 }, "directories": { "lib": "src", "test": "tests", "bin": "bin" }, "files": [ "src", "dist" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/stargate/stargate-mongoose.git" }, "scripts": { "lint": "eslint .", "pretest": "touch .env", "test": "env TEST_DOC_DB=dataapi node --env-file=.env ./node_modules/.bin/ts-mocha --forbid-only -p tsconfig.json tests/**/*.test.ts tests/*.test.ts", "test-astra": "env TEST_DOC_DB=astra node --env-file=.env ./node_modules/.bin/nyc --check-coverage --reporter=text --reporter=lcov ts-mocha --forbid-only -p tsconfig.json tests/**/*.test.ts tests/*.test.ts", "test-dataapi": "env TEST_DOC_DB=dataapi node --env-file=.env ./node_modules/.bin/nyc --check-coverage --reporter=text --reporter=lcov ts-mocha --forbid-only -p tsconfig.json tests/**/*.test.ts tests/*.test.ts", "preinstall": "npm run update-version-file", "build": "npm run update-version-file && tsc --project tsconfig.build.json", "build:test": "tsc", "build:docs": "jsdoc2md -t APIReference.hbs --files src/**/*.ts --files src/*.ts --configure ./jsdoc2md.json > APIReference.md", "update-version-file": "node -p \"'export const LIB_NAME = \\'' + require('./package.json').name + '\\';'\" > src/version.ts && node -p \"'export const LIB_VERSION = \\'' + require('./package.json').version + '\\';'\" >> src/version.ts" }, "bugs": { "url": "https://github.com/stargate/stargate-mongoose/issues" }, "devDependencies": { "@babel/cli": "^7.17.10", "@babel/core": "^7.18.2", "@babel/preset-env": "^7.18.2", "@babel/preset-typescript": "^7.17.12", "@types/mocha": "^10.0.10", "@types/node": "^20.18.1", "@types/sinon": "^17.0.4", "eslint": "^9.23.0", "jsdoc-babel": "^0.5.0", "jsdoc-to-markdown": "^9.1.1", "mongoose": "^8.16.1", "nyc": "^17.1.0", "sinon": "^16.1.1", "ts-mocha": "^11.1.0", "typescript": "5.x", "typescript-eslint": "^8.35.0" }, "dependencies": { "@datastax/astra-db-ts": "2.0.1" }, "peerDependencies": { "mongoose": "^8.16.1" }, "engines": { "node": ">=20.0.0" } }