-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.22 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
{
"name": "@lykmapipo/mongoose-taggable",
"version": "0.5.0",
"description": "mongoose plugin to add tags and taggable behaviour",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf lib dist es umd logs",
"prepare": "husky install",
"prebuild": "npm test && npm run clean",
"build": "rollup -c",
"lint": "eslint --fix --ext .js src/ test/ examples/ rollup.config.js",
"prettier": "prettier --write '**/*.{md,json,yml,html}'",
"pretest": "npm run lint",
"test": "NODE_ENV=test nyc --reporter=html --reporter=text mocha --exit --timeout=8000 --require @babel/register test/**/*.spec.js",
"test:unit": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/unit/**/*.spec.js",
"test:integration": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/integration/**/*.spec.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md",
"cmt": "git add -A && git-cz",
"changelog": "changelog",
"chore:deps": "ncu -u --timeout=60000 && npm install --save --timeout=60000",
"chore:deps:minor": "ncu -u --target=minor --timeout=60000 && npm install --save --timeout=60000",
"chore:deps:patch": "ncu -u --target=patch --timeout=60000 && npm install --save --timeout=60000",
"lint:config": "eslint --print-config rollup.config.js",
"examples": "NODE_ENV=development BASE_PATH=./examples babel-node ./examples/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/lykmapipo/mongoose-taggable.git"
},
"keywords": [
"mongoose",
"mongoose-plugin",
"lykmapipo",
"tag",
"keyword",
"taggable",
"stopwords",
"blacklist"
],
"author": {
"name": "lykmapipo",
"email": "[email protected]",
"url": "https://github.com/lykmapipo"
},
"contributors": [
{
"name": "lykmapipo",
"email": "[email protected]",
"url": "https://github.com/lykmapipo"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/lykmapipo/mongoose-taggable/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/lykmapipo/mongoose-taggable",
"devDependencies": {
"@babel/cli": "^7.18.9",
"@babel/core": "^7.18.9",
"@babel/node": "^7.18.9",
"@babel/preset-env": "^7.18.9",
"@babel/register": "^7.18.9",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@commitlint/travis-cli": "^14.1.0",
"@lykmapipo/mongoose-faker": ">=0.12.0",
"@lykmapipo/mongoose-test-helpers": ">=0.10.0",
"@lykmapipo/test-helpers": ">=0.6.23",
"chai": "^4.3.6",
"commitizen": "^4.2.5",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"doxdox": "^3.0.0",
"eslint": "^8.20.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.2.1",
"generate-changelog": "^1.8.0",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"mocha": "^9.2.2",
"mongoose": ">=6.5.0",
"mongoose-hidden": "^1.9.1",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.77.2"
},
"peerDependencies": {
"mongoose": ">=6.5.0"
},
"dependencies": {
"@lykmapipo/common": ">=0.44.5",
"@lykmapipo/env": ">=0.17.39",
"@lykmapipo/mongoose-common": ">=0.40.0",
"async": ">=3.2.4",
"inflection": ">=1.13.2",
"lodash": ">=4.17.21",
"moment": ">=2.29.4",
"stopwords-iso": ">=1.1.0",
"traverse": ">=0.6.6"
},
"engines": {
"node": ">=8.11.1",
"npm": ">=5.6.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"src/**/*.js": [
"npm run lint",
"git add -A"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}