UNPKG

@asafarim/simple-md-viewer

Version:

A professional markdown viewer with file tree navigation, directory content browsing, and advanced YAML front matter support

91 lines 2.73 kB
{ "name": "@asafarim/simple-md-viewer", "version": "1.5.2", "description": "A professional markdown viewer with file tree navigation, directory content browsing, and advanced YAML front matter support", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js", "types": "./dist/index.d.ts" }, "./style.css": "./dist/style.css", "./dist/style.css": "./dist/style.css" }, "homepage": "https://alisafari-it.github.io/simple-md-viewer/#/", "repository": { "type": "git", "url": "https://github.com/alisafari-it/simple-md-viewer.git" }, "license": "MIT", "author": "Ali Safari", "files": [ "dist", "md-docs", "server.js", "README.md", "LICENSE", "assets", "smv-logo.svg", ".env" ], "publishConfig": { "access": "public" }, "dependencies": { "@asafarim/shared": "^1.0.3", "cors": "^2.8.5", "dotenv": "^17.2.0", "express": "^4.18.2", "js-yaml": "^4.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-markdown": "^8.0.7", "react-router-dom": "^6.30.1", "react-syntax-highlighter": "^15.5.0", "remark-gfm": "^3.0.1" }, "devDependencies": { "@types/connect": "^3.4.38", "@types/js-yaml": "^4.0.9", "@types/node": "^24.0.14", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@types/react-syntax-highlighter": "^15.5.13", "@vitejs/plugin-react": "^4.0.3", "concurrently": "^8.2.2", "gh-pages": "^6.3.0", "terser": "^5.43.1", "typescript": "^5.0.2", "vite": "^4.4.5" }, "keywords": [ "asafarim", "markdown", "viewer", "file-explorer", "markdown-viewer", "file-explorer-viewer", "directory-browser", "file-tree", "content-viewer", "yaml-frontmatter" ], "optionalDependencies": { "fsevents": "^2.3.3" }, "scripts": { "rm": "rm -rf node_modules dist assets pnpm-lock.yaml", "dev": "npx kill-port 5173 5174 && vite", "build": "vite build && tsc --emitDeclarationOnly --declaration --outDir dist", "build:lib": "vite build --mode lib && tsc --project tsconfig.build.json && echo 'declare module \"@asafarim/simple-md-viewer/style.css\"; declare module \"@asafarim/simple-md-viewer/dist/style.css\";' > dist/style.css.d.ts", "type-check": "tsc --noEmit", "declarations": "tsc --project tsconfig.build.json", "serve": "npx kill-port 3300 3301 3500 && node server.js --watch", "start": "concurrently \"pnpm run dev\" \"pnpm run serve\"", "predeploy": "pnpm run build", "deploy": "npx gh-pages -d dist" } }