-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
120 lines (120 loc) · 3 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
{
"name": "express-security-txt",
"version": "0.0.0-development",
"description": "Express middleware that implements a security.txt path and policy",
"main": "index.js",
"scripts": {
"lint": "standard && eslint *.js",
"lint:fix": "standard --fix",
"test": "jest",
"test:watch": "jest --watch",
"coverage:view": "opn coverage/lcov-report/index.html",
"commit": "git-cz",
"docs": "yarn run docs:code && yarn run docs:api",
"docs:api": "doxdox *.js --layout bootstrap --output docs/index.html",
"docs:code": "docco *.js --output docs/code",
"semantic-release": "semantic-release",
"snyk-protect": "snyk protect",
"prepublishOnly": "npm run snyk-protect"
},
"author": "Liran Tal",
"license": "MIT",
"devDependencies": {
"commitizen": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"docco": "^0.8.0",
"doxdox": "^3.0.0",
"eslint": "^6.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-security": "^1.3.0",
"jest": "^22.0.0",
"opn-cli": "^3.1.0",
"semantic-release": "^15.0.0",
"snyk": "^1.90.0",
"standard": "^12.0.0"
},
"jest": {
"verbose": true,
"notify": true,
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"standard": {
"env": [
"node",
"jest"
]
},
"eslintConfig": {
"env": {
"node": true,
"es6": true,
"jest": true
},
"plugins": [
"node",
"security"
],
"extends": [
"plugin:node/recommended"
],
"rules": {
"node/no-unsupported-features": "off",
"node/no-unpublished-require": "off",
"security/detect-non-literal-fs-filename": "error",
"security/detect-unsafe-regex": "error",
"security/detect-buffer-noassert": "error",
"security/detect-child-process": "error",
"security/detect-disable-mustache-escape": "error",
"security/detect-eval-with-expression": "error",
"security/detect-no-csrf-before-method-override": "error",
"security/detect-non-literal-regexp": "error",
"security/detect-non-literal-require": "error",
"security/detect-object-injection": "error",
"security/detect-possible-timing-attacks": "error",
"security/detect-pseudoRandomBytes": "error"
},
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true
}
}
},
"dependencies": {
"joi": "^14.3.1"
},
"release": {
"branch": "master",
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
]
}
},
"snyk": true
}