hexo-generator-json-content
Version:
Hexo plugin to generate a JSON file with the contents of posts and pages to generic use or consumption, like AJAX site search, Twitter typehead or public content API
56 lines (55 loc) • 1.6 kB
JSON
{
"name": "hexo-generator-json-content",
"version": "4.2.3",
"description": "Hexo plugin to generate a JSON file with the contents of posts and pages to generic use or consumption, like AJAX site search, Twitter typehead or public content API",
"scripts": {
"clean": "shx rm -rf dist",
"major": "npm version major && npm run push",
"minor": "npm version minor && npm run push",
"patch": "npm version patch && npm run push",
"prepare": "npm run dist",
"push": "git push && git push --tags",
"lint": "prettier --write ./src/*.js ./src/**/*.js",
"dist": "run-s dist:*",
"dist:lint": "npm run lint",
"dist:clean": "npm run clean",
"dist:build": "rollup -c"
},
"repository": {
"type": "git",
"url": "https://github.com/alexbruno/hexo-generator-json-content.git"
},
"keywords": [
"hexo",
"json",
"templating",
"generator",
"content"
],
"author": "Alex Bruno Cáceres <git.alexbr@outlook.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/alexbruno/hexo-generator-json-content/issues"
},
"homepage": "https://github.com/alexbruno/hexo-generator-json-content",
"dependencies": {
"hexo-util": "latest",
"keyword-extractor": "latest",
"moment": "latest"
},
"devDependencies": {
"husky": "^4.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.1",
"rollup": "^2.1.0",
"shx": "^0.3.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && git add ."
}
},
"main": "dist/main.js",
"esnext": "dist/module.js",
"module": "dist/module.js"
}