UNPKG

@ipikuka/mdx

Version:

An opinionated wrapper of `next-mdx-remote-client`

106 lines (105 loc) 2.62 kB
{ "name": "@ipikuka/mdx", "version": "1.1.0", "description": "An opinionated wrapper of `next-mdx-remote-client`", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": "./dist/index.js", "./csr": "./dist/index.js", "./serialize": "./dist/serialize.js", "./rsc": "./dist/rsc.js", "./utils": "./dist/utils.js" }, "typesVersions": { "*": { "csr": [ "./dist/index.d.ts" ], "serialize": [ "./dist/serialize.d.ts" ], "rsc": [ "./dist/rsc.d.ts" ], "utils": [ "./dist/utils.d.ts" ] } }, "scripts": { "build": "rimraf dist && tsc --build", "format": "npm run prettier && npm run lint", "prettier": "prettier --write .", "lint": "eslint .", "test": "NODE_OPTIONS=--experimental-vm-modules jest --config ./jest.config.cjs", "test:file": "NODE_OPTIONS=--experimental-vm-modules jest --config ./jest.config.cjs plugins.test.tsx", "prepare": "npm run build", "prepublishOnly": "npm run test && npm run format" }, "files": [ "dist", "LICENSE", "README.md", "tsconfig.json" ], "repository": { "type": "git", "url": "git+https://github.com/ipikuka/mdx.git" }, "keywords": [ "mdx", "markdown", "next", "nextjs", "next.js", "next-mdx-remote-client", "remark", "rehype", "recma" ], "author": "ipikuka <talatkuyuk@gmail.com>", "license": "MIT", "homepage": "https://github.com/ipikuka/mdx#readme", "bugs": { "url": "https://github.com/ipikuka/mdx/issues" }, "publishConfig": { "access": "public" }, "dependencies": { "@ipikuka/plugins": "^1.0.2" }, "devDependencies": { "@mdx-js/mdx": "^3.1.0", "@mdx-js/react": "^3.1.0", "@types/jest": "^29.5.14", "@types/node": "^20.17.47", "@types/react": "^18.3.21", "@types/react-dom": "^18.3.7", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "dedent": "^1.6.0", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.4.0", "jest": "^29.7.0", "prettier": "^3.5.3", "prettier-2": "npm:prettier@^2.8.8", "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^6.0.1", "ts-jest": "^29.3.3", "typescript": "^5.8.3", "vfile": "^6.0.3" }, "peerDependencies": { "next-mdx-remote-client": "^1.0.0 || ^2.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "engines": { "node": ">=18.18.0" } }