UNPKG

notebook-mdx

Version:

Jupyter Notebook support for MDX via Remark and Rehype plugins

106 lines (105 loc) 2.68 kB
{ "name": "notebook-mdx", "version": "0.1.2", "description": "Jupyter Notebook support for MDX via Remark and Rehype plugins", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./client": { "types": "./dist/client.d.ts", "import": "./dist/client.js", "require": "./dist/client.cjs" }, "./server": { "types": "./dist/server.d.ts", "import": "./dist/server.js", "require": "./dist/server.cjs" }, "./package.json": "./package.json" }, "files": [ "dist", "README.md" ], "sideEffects": false, "scripts": { "prepare": "tsdown", "build": "tsdown", "dev": "tsdown --watch", "test": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "clean": "rm -rf dist", "prepublishOnly": "pnpm run clean && pnpm run build", "lint": "echo 'Linting not configured yet'", "typecheck": "tsc --noEmit" }, "keywords": [ "jupyter", "notebook", "mdx", "remark", "rehype", "unified", "react", "typescript", "documentation", "data-science", "code-cells", "syntax-highlighting" ], "homepage": "https://notebook-mdx.vercel.app", "repository": { "type": "git", "url": "https://github.com/abhay-ramesh/notebook-mdx.git", "directory": "packages/notebook-mdx" }, "bugs": { "url": "https://github.com/abhay-ramesh/notebook-mdx/issues" }, "author": { "name": "Abhay Ramesh", "url": "https://github.com/abhay-ramesh" }, "license": "MIT", "dependencies": { "highlight.js": "^11.11.1", "katex": "^0.16.9", "plotly.js-dist-min": "^2.29.1", "unist-util-visit": "^5.0.0", "vfile": "^6.0.3" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "remark-directive": "^4.0.0", "unified": "^11.0.0" }, "devDependencies": { "@repo/typescript-config": "workspace:*", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@types/hast": "^3.0.0", "@types/katex": "^0.16.7", "@types/mdast": "^4.0.0", "@types/node": "^20.0.0", "@types/plotly.js": "^2.12.29", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@types/unist": "^3.0.0", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "jsdom": "^26.1.0", "remark-directive": "^4.0.0", "tsdown": "^0.12.9", "typescript": "^5.0.0", "vitest": "^3.2.4" } }