hexo-post-parser
Version:
Parse Hexo Post To Object and pre-process all markdown posts for Automated SEO
176 lines • 6.49 kB
JSON
{
"name": "hexo-post-parser",
"projectName": "Hexo Post Parser",
"version": "3.0.1",
"description": "Parse Hexo Post To Object and pre-process all markdown posts for Automated SEO",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"type": "module",
"exports": {
".": {
"require": {
"default": "./dist/index.cjs",
"types": "./dist/index.d.cts"
},
"import": {
"default": "./dist/index.mjs",
"types": "./dist/index.d.mts"
}
}
},
"scripts": {
"prepare": "husky && node package-switch.cjs local",
"lint": "cross-env-shell ESLINT_USE_FLAT_CONFIG=false && eslint --fix src",
"clean": "rimraf dist && npm run build",
"prebuild": "node src/index.builder.mjs",
"build:packages": "yarn workspaces --worktree --no-private run build",
"build": "tsc --build tsconfig.build.json && rollup -c",
"build-clean": "yarn clean && yarn build",
"prepack": "node package-switch.cjs production",
"pack": "node packer.cjs --yarn",
"postpack": "node package-switch.cjs local",
"prepublish": "node package-switch.cjs production",
"postpublish": "node package-switch.cjs local",
"docs": "node typedoc-runner.cjs --publish",
"format": "prettier -w src/**/*.ts",
"ci": "yarn install --immutable --immutable-cache --check-cache --frozen-lockfile --check-files",
"update:postinstall": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/postinstall.js > postinstall.cjs",
"update:build-release": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/.github/workflows/build-release.yml > .github/workflows/build-release.yml",
"update:typedoc": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/typedoc.js > typedoc.cjs",
"update:typedoc-runner": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/typedoc-runner.js > typedoc-runner.cjs",
"update:typedoc-server": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/typedoc-server.js > typedoc-server.cjs",
"update:packer": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/packer.js > packer.cjs",
"update:changelog": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/changelog.js > changelog.cjs",
"update:ncu": "npx npm-check-updates -u",
"update": "run-s \"update:**\"",
"test": "cross-env-shell NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand --silent=false"
},
"files": [
"dist/",
"!**/*.tsbuildinfo"
],
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dimaslanjaka/hexo-post-parser.git"
},
"keywords": [
"hexo",
"markdown",
"post",
"parser",
"hexo-parser",
"hexo-post",
"hexo-markdown"
],
"author": "Dimas Lanjaka <dimaslanjaka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dimaslanjaka/hexo-post-parser/issues"
},
"homepage": "https://github.com/dimaslanjaka/hexo-post-parser#readme",
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-typescript": "^7.25.7",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@jest/environment": "^29.7.0",
"@jest/expect": "^29.7.0",
"@jest/globals": "^29.7.0",
"@jest/types": "^29.6.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"@types/bluebird": "^3.5.42",
"@types/debug": "^4",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/hexo": "https://github.com/dimaslanjaka/hexo/raw/fc1f9b7/releases/hexo.tgz",
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.17.12",
"@types/lodash.deburr": "^4.1.9",
"@types/node": "^22.7.7",
"@types/showdown": "^2",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"babel-jest": "^29.7.0",
"binary-collections": "^2.0.6",
"cross-env": "^7.0.3",
"cross-spawn": "https://github.com/dimaslanjaka/node-cross-spawn/raw/80999ac/release/cross-spawn.tgz",
"depcheck": "^1.4.7",
"dotenv": "^16.4.5",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"git-command-helper": "^2.0.2",
"globals": "^15.11.0",
"gulp": "^5.0.0",
"gulp-cli": "^3.0.0",
"hexo": "https://github.com/dimaslanjaka/hexo/raw/fc1f9b7/releases/hexo.tgz",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"jest-mock": "^29.7.0",
"lint-staged": "^15.2.10",
"minimatch": "^10.0.1",
"npm-check-updated": "^6.0.4",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"semver": "^7.6.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.10",
"typedoc-plugin-missing-exports": "^3.0.0",
"typescript": "^5.6.3"
},
"dependencies": {
"@types/markdown-it": "https://github.com/dimaslanjaka/markdown-it/raw/95599a5a20b2f162a776abaa3a0b7f8aaac2f6e1/release/markdown-it.tgz",
"ansi-colors": "^4.1.3",
"axios": "^1.7.7",
"bluebird": "^3.7.2",
"debug": "^4.3.7",
"deepmerge-ts": "^7.1.3",
"front-matter": "^4.0.2",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"highlight.js": "^11.10.0",
"jsdom": "^25.0.1",
"lodash": "^4.17.21",
"lodash.deburr": "^4.1.0",
"markdown-it": "https://github.com/dimaslanjaka/markdown-it/raw/95599a5a20b2f162a776abaa3a0b7f8aaac2f6e1/release/markdown-it.tgz",
"markdown-it-abbr": "^2.0.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.2.0",
"markdown-it-footnote": "^4.0.0",
"markdown-it-mark": "^4.0.0",
"markdown-it-sub": "^2.0.0",
"markdown-it-sup": "^2.0.0",
"marked": "^14.1.3",
"moment-timezone": "^0.5.46",
"rimraf": "^6.0.1",
"sbg-utility": "^2.0.5",
"showdown": "^2.1.0",
"tiny-typed-emitter": "^2.1.0",
"upath": "^2.0.1",
"yaml": "^2.6.0",
"yargs": "^17.7.2"
},
"directories": {
"test": "test",
"lib": "dist"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=18"
}
}