-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
137 lines (137 loc) · 3.68 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
130
131
132
133
134
135
136
137
{
"name": "express-version-route",
"version": "0.0.0-development",
"description": "provides middleware to load controllers based on api versions",
"main": "index.js",
"scripts": {
"lint": "standard && eslint *.js",
"lint:fix": "standard --fix",
"test": "yarn run lint && ava",
"test:watch": "yarn run lint && ava --watch",
"test:coverage": "yarn run lint && nyc --reporter=lcov ava --tap",
"coverage:view": "opn coverage/lcov-report/index.html",
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"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"
},
"author": "Liran Tal",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/lirantal/express-version-route.git"
},
"homepage": "https://github.com/lirantal/express-version-route#readme",
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-angular": "^7.0.1",
"ava": "^2.0.0",
"commitizen": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"docco": "^0.7.0",
"doxdox": "^2.0.1",
"eslint": "^6.0.0",
"eslint-plugin-ava": "^5.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-security": "^1.3.0",
"husky": "^3.0.0",
"nyc": "^13.2.0",
"opn-cli": "^4.0.0",
"semantic-release": "^15.8.1",
"standard": "^12.0.0"
},
"nyc": {
"statements": 85,
"branches": 85,
"functions": 85,
"lines": 85,
"reporter": [
"lcov",
"text-summary"
],
"cache": true,
"check-coverage": true
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint --env HUSKY_GIT_PARAMS",
"pre-commit": "yarn run lint",
"pre-push": "yarn run lint && yarn run test",
"post-merge": "yarn install",
"post-checkout": "git status",
"post-commit": "git status"
}
},
"commitlint": {
"extends": [
"@commitlint/config-angular"
]
},
"eslintConfig": {
"env": {
"node": true,
"es6": true
},
"plugins": [
"node",
"security",
"ava"
],
"extends": [
"plugin:ava/recommended",
"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
}
}
},
"release": {
"branch": "master",
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
]
}
},
"dependencies": {
"semver": "^6.3.0"
}
}