-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
148 lines (148 loc) · 3.09 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
138
139
140
141
142
143
144
145
146
147
148
{
"name": "mongoose-slug-plugin",
"description": "Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)",
"version": "2.1.0",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"ava": {
"failFast": true,
"verbose": true
},
"bugs": {
"url": "https://github.com/ladjs/mongoose-slug-plugin/issues",
"email": "niftylettuce@gmail.com"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"shadowgate15 (https://github.com/shadowgate15)"
],
"dependencies": {
"is-string-and-not-blank": "^0.0.2",
"lodash": "^4.17.15",
"speakingurl": "^14.0.1"
},
"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",
"dayjs": "^1.8.27",
"eslint": "6.x",
"eslint-config-xo-lass": "^1.0.3",
"fixpack": "^3.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"mongoose": "^5.8.3",
"nyc": "^15.0.1",
"remark-cli": "^8.0.0",
"remark-preset-github": "^1.0.1",
"xo": "0.25"
},
"engines": {
"node": ">=8.3"
},
"homepage": "https://github.com/ladjs/mongoose-slug-plugin",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [
"301",
"302",
"blog",
"boom",
"dashed",
"dasherize",
"dashes",
"express",
"generator",
"get",
"history",
"hyphenize",
"hyphens",
"koa",
"lad",
"limax",
"lodash",
"me",
"mollusc",
"mongo",
"mongodb",
"mongoose",
"mongoosejs",
"plugin",
"post",
"preserve",
"redirect",
"redirection",
"seo",
"slug",
"slugify",
"slugme",
"slugme",
"slugs",
"speaking",
"speakingurl",
"str",
"string",
"template",
"tmpl",
"unique",
"url",
"urls"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
],
"package.json": [
"fixpack",
"git add"
]
},
"main": "index.js",
"peerDependencies": {
"mongoose": ">=5.7"
},
"prettier": {
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
},
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ladjs/mongoose-slug-plugin"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"pretest": "mongo mongoose_slug_plugin --eval 'db.dropDatabase();'",
"test": "npm run lint && npm run test-coverage",
"test-coverage": "cross-env NODE_ENV=test nyc ava"
},
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
]
}
}