mongoose-keywords
Version:
Mongoose plugin that recursively generates keywords for documents based on its fields
68 lines (67 loc) • 2.05 kB
JSON
{
"name": "mongoose-keywords",
"version": "0.4.1",
"description": "Mongoose plugin that recursively generates keywords for documents based on its fields",
"main": "dist/index.js",
"files": [
"bin/",
"dist/"
],
"scripts": {
"clean": "rimraf dist",
"lint": "eslint src test",
"check": "npm run lint -s && dependency-check package.json --entry src",
"watch": "watch 'npm run build' src test",
"test": "babel-node test/index.js | tspec",
"prebuild": "npm run check -s && npm run clean -s",
"build": "babel --optional runtime src -d dist",
"postbuild": "npm run test -s",
"coverage": "babel-node node_modules/isparta/bin/isparta cover test/index.js",
"coveralls": "npm run coverage -s && coveralls < coverage/lcov.info",
"postcoveralls": "rimraf ./coverage",
"prepublish": "npm run build -s",
"deploy": "git pull --rebase origin master && git push origin master",
"patch": "npm version patch && npm publish",
"minor": "npm version minor && npm publish",
"major": "npm version major && npm publish",
"postpublish": "git push origin master --follow-tags",
"toc": "doctoc --github --title \"# Changelog\" CHANGELOG.md"
},
"repository": {
"type": "git",
"url": "git+https://github.com/diegohaz/mongoose-keywords.git"
},
"keywords": [
"keywords",
"keyword",
"mongoose",
"mongodb",
"terms",
"kebab"
],
"author": "Diego Haz <hazdiego@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/diegohaz/mongoose-keywords/issues"
},
"homepage": "https://github.com/diegohaz/mongoose-keywords#readme",
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "*",
"babel-preset-es2015": "^6.6.0",
"coveralls": "*",
"dependency-check": "*",
"doctoc": "*",
"eslint": "*",
"isparta": "*",
"mongoose": "^5.0.15",
"rimraf": "*",
"tap-spec": "*",
"tape": "*",
"watch": "*"
},
"dependencies": {
"lodash": "^4.11.2"
}
}