forked from CampbellSoftwareSolutions/mongoose-id-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.1 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.1 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
{
"name": "mongoose-ref-validator",
"version": "0.0.1",
"description": "Mongoose plugin to validate that references refer to objects that actually exist in the referenced collection",
"license": "LGPL-3.0",
"repository": {
"type": "git",
"url": "git://github.com/ericmakesapps/mongoose-ref-validator"
},
"author": {
"name": "Eric Ferreira",
"email": "eric@ericmakesapps.com",
"url": "https://ericmakesapps.com"
},
"homepage": "https://github.com/ericmakesapps/mongoose-ref-validator",
"bugs": {
"url": "https://github.com/ericmakesapps/mongoose-ref-validator/issues"
},
"main": "index.js",
"scripts": {
"build": "tsc",
"check": "run-p lint format test",
"clean-lib": "rimraf lib/*",
"fix": "run-s fix:lint fix:format test",
"fix:format": "npm run format -- --write",
"fix:lint": "npm run lint -- --fix",
"format": "prettier -c --ignore-path .gitignore \"**/?*.@(js|ts|jsx|tsx|json|md|html|css|scss)\"",
"lint": "eslint src --ext .ts,.tsx --max-warnings 0",
"postbuild": "node scripts/copy-for-publish.js",
"prebuild": "run-p clean-lib check",
"publish": "npm run build && cd lib && npm publish",
"test": "ts-mocha -R spec ./src/**/*.test.ts",
"test:watch": "npm run test -- --watch --watch-files \"./@(test|src)/**\"",
"version": "npm --no-git-tag-version version"
},
"keywords": [
"mongoose",
"ref",
"reference",
"id",
"objectid",
"key",
"foreign key",
"validate",
"validator",
"exists",
"mongodb"
],
"dependencies": {
"clone": "^2.1.2",
"traverse": "^0.6.7"
},
"devDependencies": {
"@ericbf/helpers": "^1.3.2",
"@types/clone": "^2.1.1",
"@types/traverse": "^0.6.32",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"app-root-path": "^3.1.0",
"async": "~3.2.4",
"eslint": "^8.34.0",
"mocha": "^10.2.0",
"mongodb-memory-server": "^8.11.5",
"mongoose": "*",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier-plugin-package": "^1.3.0",
"rimraf": "^4.1.2",
"should": "~13.2.3",
"ts-mocha": "^10.0.0",
"typescript": "^4.9.5"
},
"engine": "node >= 0.4.0",
"readmeFilename": "README.md"
}