-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
112 lines (112 loc) · 2.76 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
{
"name": "mongoose-pii",
"version": "2.0.0",
"description": "A Mongoose plugin that lets you transparently cipher stored PII and use securely-hashed passwords. Helps with security best practices for data storage.",
"keywords": [
"mongodb",
"mongoose",
"security",
"plugin",
"pii",
"password",
"passwords",
"bcrypt"
],
"main": "index.js",
"engines": {
"node": ">= 8.6",
"npm": ">= 5.2"
},
"devInfo": {
"why-no-deprecation-in-test": "Because we’re intentionally testing deprecated Mongo/Mongoose APIs are still hooked onto (count, findAndModify, update…)"
},
"scripts": {
"lint": "eslint *.js util/*.js examples/*.js",
"test": "npm run lint && npm run test:core",
"test:core": "npx --node-arg --no-deprecation jest",
"test:watch": "npm run test:core -- --watch"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm test",
"pre-push": "npm test"
}
},
"directories": {
"example": "examples"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deliciousinsights/mongoose-pii.git"
},
"bugs": {
"url": "https://github.com/deliciousinsights/mongoose-pii/issues"
},
"author": "Christophe Porteneuve <[email protected]> (https://delicious-insights.com/)",
"homepage": "https://deliciousinsights.github.io/mongoose-pii",
"license": "MIT",
"eslintConfig": {
"extends": [
"standard",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"no-irregular-whitespace": 0
},
"env": {
"commonjs": true,
"es6": true,
"jest": true,
"node": true
}
},
"prettier": {
"arrowParens": "always",
"jsxSingleQuote": true,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/*.js",
"!commitlint.config.js",
"<rootDir>/util/*.js"
],
"coverageReporters": [
"lcov",
"text",
"html"
],
"notify": true,
"testEnvironment": "node"
},
"dependencies": {
"bcryptjs": "^2.4.3"
},
"peerDependencies": {
"mongoose": ">= 4"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.0.10",
"jest": "^24.9.0",
"mongodb-memory-server": "^6.2.3",
"mongoose": "^5.8.9",
"prettier": "^1.19.1"
}
}