Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "@datastax/astra-mongoose",
"version": "1.6.0",
"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": "oxlint",
"pretest": "touch .env",
"test": "env TEST_DOC_DB=dataapi tsx --env-file=.env ./node_modules/mocha/bin/mocha.js --forbid-only tests/**/*.test.ts tests/*.test.ts",
"test-astra": "env TEST_DOC_DB=astra ./node_modules/.bin/c8 --experimental-monocart --check-coverage --lines 90 --reporter=text --reporter=lcov tsx --env-file=.env ./node_modules/mocha/bin/mocha.js --forbid-only tests/**/*.test.ts tests/*.test.ts",
"test-dataapi": "env TEST_DOC_DB=dataapi ./node_modules/.bin/c8 --experimental-monocart --check-coverage --lines 90 --reporter=text --reporter=lcov tsx --env-file=.env ./node_modules/mocha/bin/mocha.js --forbid-only tests/**/*.test.ts tests/*.test.ts",
"clean-db": "tsx --env-file=.env bin/clean-db.ts",
"warm-up-tests": "tsx --env-file=.env bin/warm-up-tests.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",
"c8": "^12.0.0",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^9.1.1",
"mocha": "11.8.0",
"mongoose": "^9.1.0",
"monocart-coverage-reports": "^2.12.12",
"oxlint": "^1.76.0",
"sinon": "^16.1.1",
"tsx": "^4.19.2",
"typescript": "~7.0"
},
"dependencies": {
"@datastax/astra-db-ts": "^2.1.0"
},
"peerDependencies": {
"mongoose": "^8.21.0 || ^9.1.0"
},
"engines": {
"node": ">=20.0.0"
}
}