UNPKG

velite

Version:

Turns Markdown / MDX, YAML, JSON, or other files into app's data layer with type-safe schema.

84 lines 2.22 kB
{ "name": "velite", "version": "0.2.2", "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", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "bin": "./bin/velite.js", "files": [ "dist" ], "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.24.0", "sharp": "^0.33.5", "terser": "^5.37.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.0", "@types/hast": "^3.0.4", "@types/mdast": "^4.0.4", "@types/node": "^22.10.2", "@types/picomatch": "^3.0.1", "@zce/prettier-config": "^0.4.0", "chokidar": "^4.0.3", "fast-glob": "^3.3.2", "hast-util-raw": "^9.1.0", "hast-util-to-string": "^3.0.1", "lint-staged": "^15.2.11", "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.4.2", "rehype-raw": "^7.0.0", "rehype-stringify": "^10.0.1", "remark-gfm": "^4.0.0", "remark-parse": "^11.0.0", "remark-rehype": "^11.1.1", "rollup": "^4.28.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-esbuild": "^6.1.1", "simple-git-hooks": "^2.11.1", "tsx": "^4.19.2", "typescript": "^5.7.2", "unified": "^11.0.5", "unist-util-visit": "^5.0.0", "vfile": "^6.0.3", "vfile-reporter": "^8.1.1", "yaml": "^2.6.1" }, "engines": { "node": "^18.17.0 || >=20.3.0" }, "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" } }