UNPKG

nextra-dify-plugin

Version:

A Next.js webpack plugin for integrating Dify knowledge base with Nextra documentation

68 lines 1.95 kB
{ "name": "nextra-dify-plugin", "type": "module", "version": "0.0.6", "description": "A Next.js webpack plugin for integrating Dify knowledge base with Nextra documentation", "author": "witsaint", "license": "MIT", "keywords": [ "nextjs", "nextra", "webpack", "plugin", "dify", "knowledge-base", "mdx", "documentation" ], "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "dependencies": { "@mdx-js/mdx": "^3.0.0", "axios": "^1.6.0", "glob": "^10.3.0", "gray-matter": "^4.0.3" }, "devDependencies": { "@antfu/eslint-config": "^4.10.1", "@types/node": "^22.13.10", "bumpp": "^10.1.0", "eslint": "^9.25.1", "lint-staged": "^15.5.0", "simple-git-hooks": "^2.11.1", "tinyexec": "^0.3.2", "tsx": "^4.19.3", "typescript": "^5.8.3", "unbuild": "^3.5.0", "vitest": "^3.1.2", "vitest-package-exports": "^0.1.1", "webpack": "^5.0.0" }, "simple-git-hooks": { "pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged" }, "lint-staged": { "*": "eslint --fix" }, "scripts": { "build": "unbuild --dev", "build-release": "unbuild", "dev": "unbuild --watch", "release": "bumpp && pnpm publish --no-git-checks", "lint": "eslint . --cache --cache-location .cache/eslint/main.eslintcache", "test": "run-s test-unit", "test-unit": "vitest run --passWithNoTests", "test-unit-watch": "vitest watch --ui", "test-docs": "cd packages/nextra-test-docs && pnpm dev", "test-docs:build": "cd packages/nextra-test-docs && pnpm build", "test-docs:start": "cd packages/nextra-test-docs && pnpm start", "typecheck": "tsc --project ./tsconfig.json --noEmit", "lint-staged-files": "lint-staged --allow-empty", "postinstall": "pnpm build", "preinstall": "npx only-allow pnpm" } }