@blankeos/velite
Version:
Turns Markdown / MDX, YAML, JSON, or other files into app's data layer with type-safe schema.
87 lines (86 loc) • 2.29 kB
JSON
{
"name": "@blankeos/velite",
"version": "0.2.3",
"description": "Turns Markdown / MDX, YAML, JSON, or other files into app's data layer with type-safe schema.",
"keywords": [
"contentlayer",
"headless-cms",
"data-layer",
"creative",
"content",
"velite",
"cli",
"zce"
],
"repository": "zce/velite",
"license": "MIT",
"author": "zce <w@zce.me> (https://zce.me)",
"type": "module",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": "./bin/velite.js",
"files": [
"dist"
],
"scripts": {
"build": "tsc && rollup -c",
"test": "node --import tsx --test test/*.ts",
"docs:dev": "cd docs && pnpm dev",
"docs:build": "cd docs && pnpm build",
"format": "prettier . --write"
},
"prettier": "@zce/prettier-config",
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,ts,md}": "prettier --write"
},
"dependencies": {
"@mdx-js/mdx": "^3.1.0",
"esbuild": "^0.25.1",
"sharp": "^0.33.5",
"terser": "^5.39.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4",
"@types/node": "^22.13.13",
"@types/picomatch": "^3.0.2",
"@zce/prettier-config": "^1.0.0",
"chokidar": "^4.0.3",
"fast-glob": "^3.3.3",
"hast-util-raw": "^9.1.0",
"hast-util-to-string": "^3.0.1",
"lint-staged": "^15.5.0",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-to-hast": "^13.2.0",
"mdast-util-toc": "^7.1.0",
"picomatch": "^4.0.2",
"prettier": "^3.5.3",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"rollup": "^4.37.0",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-esbuild": "^6.2.1",
"simple-git-hooks": "^2.12.1",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.3",
"vfile-reporter": "^8.1.1",
"yaml": "^2.7.0"
},
"packageManager": "pnpm@10.7.0",
"engines": {
"node": "^18.17.0 || >=20.3.0"
}
}