-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
63 lines (63 loc) · 1.55 KB
/
package.json
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
{
"name": "@dadi/api-mongodb",
"version": "6.0.2",
"description": "A MongoDB adapter for DADI API",
"keywords": [
"dadi",
"api",
"connector",
"mongo",
"MongoDB",
"dadi-connector",
"dadi-api-connector",
"api-connector"
],
"main": "index.js",
"scripts": {
"lint": "eslint . && prettier --check **/*.js",
"test": "npm run test:fetch-data && npm run test:run",
"test:fetch-data": "npm explore @dadi/test-tools -- npm run download-api-snapshot -- \"$PWD/test\"",
"test:run": "npx nyc --reporter=lcov npx mocha -r env-test -r pretest.js --bail --exit test/**/*.js && npx nyc report"
},
"author": "James Lambie <jameslambie@gmail.com>",
"license": "ISC",
"dependencies": {
"@dadi/metadata": "^2.0.1",
"@eslint/js": "^9.7.0",
"convict": "^4.4.1",
"debug": "^4.3.5",
"eslint-plugin-mocha": "^10.4.3",
"mongodb": "^6.8.0"
},
"repository": {
"type": "git",
"url": "https://github.com/dadi/api-mongodb.git"
},
"devDependencies": {
"@dadi/eslint-config": "latest",
"@dadi/prettier-config": "latest",
"@dadi/test-tools": "latest",
"colors": "^1.2.1",
"coveralls": "^3.1.1",
"env-test": "1.0.0",
"eslint": "^9.7.0",
"husky": "^2.4.1",
"lint-staged": "^15.2.7",
"mocha": "^10.6.0",
"nyc": "^17.0.0",
"prettier": "^3.3.2",
"should": "^13.2.3",
"sinon": "4.4.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,md,html}": [
"prettier --write",
"git add"
]
}
}