-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 2.88 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "mongoose-omit-common-fields",
"description": "Array of common fields to emit for Mongoose toObject/toJSON (helpful for security)",
"version": "0.0.6",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"bugs": {
"url": "https://github.com/ladjs/mongoose-omit-common-fields/issues",
"email": "niftylettuce@gmail.com"
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
],
"dependencies": {
"camelcase": "^6.0.0"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"ava": "^3.8.2",
"codecov": "^3.7.0",
"cross-env": "^7.0.2",
"eslint": "6.x",
"eslint-config-prettier": "^6.11.0",
"eslint-config-xo-lass": "^1.0.3",
"eslint-plugin-prettier": "^3.1.3",
"fixpack": "^3.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.7",
"lodash.isarray": "^4.0.0",
"lodash.isobject": "^3.0.2",
"nyc": "^15.0.1",
"prettier": "^2.0.5",
"remark-cli": "^8.0.0",
"remark-preset-github": "^1.0.1",
"xo": "0.25"
},
"engines": {
"node": ">=8.3"
},
"homepage": "https://github.com/ladjs/mongoose-omit-common-fields",
"keywords": [
"common",
"fields",
"helper",
"hide",
"json",
"koa",
"lad",
"lass",
"mongo",
"mongoose",
"object",
"omit",
"omitted",
"remove",
"security",
"toJSON",
"toObject"
],
"license": "MIT",
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [
"prettier --write --single-quote --trailing-comma none",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
]
},
"main": "index.js",
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100,
"reporter": [
"lcov",
"html",
"text"
]
},
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ladjs/mongoose-omit-common-fields"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"precommit": "lint-staged && npm test",
"test": "npm run lint && npm run test-coverage",
"test-coverage": "cross-env NODE_ENV=test nyc ava"
},
"xo": {
"extends": "prettier",
"plugins": [
"prettier"
],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
}
],
"max-len": [
"error",
{
"code": 80,
"ignoreUrls": true
}
],
"capitalized-comments": "off",
"camelcase": "off",
"no-warning-comments": "off"
},
"space": true
}
}