This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) 路 2.24 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) 路 2.24 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
{
"name": "mongtype",
"version": "6.0.1",
"description": "Mongo Repository for Node written in TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && tsc",
"test": "npm run prettier:test && npm run lint && npm run test:unit",
"test:unit": "mocha --require ts-node/register ./tests/**/*.spec.ts -R spec",
"test:cov": "nyc npm run test:unit",
"test:report": "cat ./coverage/lcov.info | codacy-coverage --language typescript",
"lint": "tslint ./{src,tests}/{,**/}*.ts",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier --write \"./{src,tests}/**/*.{js,ts,md}\"",
"prettier:test": "prettier -c \"./{src,tests}/**/*.{js,ts,md}\"",
"prepublishOnly": "npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swimlane/mongtype.git"
},
"keywords": [
"typescript",
"mongodb",
"repository"
],
"author": "Swimlane <dev@swimlane.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/swimlane/mongtype/issues"
},
"homepage": "https://github.com/swimlane/mongtype#readme",
"devDependencies": {
"@swimlane/prettier-config-swimlane": "^3.0.3",
"@types/chai": "^4.2.9",
"@types/faker": "^4.1.9",
"@types/mocha": "^9.0.0",
"@types/mongodb": "3.6.12",
"@types/node": "^12.12.27",
"@types/retry": "^0.12.0",
"chai": "^4.2.0",
"clone": "^2.1.2",
"codacy-coverage": "^3.2.0",
"faker": "^4.1.0",
"mocha": "^9.1.3",
"mongo-mock": "^4.0.0",
"nyc": "^15.0.0",
"prettier": "~2.2.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"ts-node": "^8.6.2",
"tslint": "^6.1.3",
"tslint-config-security": "^1.16.0",
"tslint-config-swimlane": "^5.0.0",
"typescript": "^4.1.5"
},
"dependencies": {
"mongodb": "3.6.6",
"retry": "^0.12.0",
"rfdc": "^1.2.0"
},
"peerDependencies": {
"reflect-metadata": "^0.1.10"
},
"nyc": {
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"src/*.d.ts",
"src/**/*.d.ts"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"html",
"text"
],
"all": true
}
}