UNPKG

dumi

Version:

📖 Documentation Generator of React Component

184 lines (183 loc) • 5.37 kB
{ "name": "dumi", "version": "2.2.17", "description": "📖 Documentation Generator of React Component", "keywords": [ "generator", "umi", "webpack", "react", "static site generator", "jamstack", "markdown", "components", "documentation" ], "homepage": "https://d.umijs.org", "bugs": { "url": "https://github.com/umijs/dumi/issues" }, "repository": { "type": "git", "url": "https://github.com/umijs/dumi" }, "license": "MIT", "main": "dist/index.js", "types": "index.d.ts", "bin": "./bin/dumi.js", "files": [ "bin", "dist", "compiled", "theme-default", "index.d.ts", "plugin-utils.js", "plugin-utils.d.ts" ], "scripts": { "build": "father build && npm run build:crates", "build:crates": "cargo build --target wasm32-wasi -r --out-dir compiled/crates -Z unstable-options", "build:deps": "node scripts/pre-bundle-worker.js && father prebundle", "build:suites": "pnpm run --filter=\"./suites/**\" build", "dev": "father dev", "docs:build": "node ./bin/dumi.js build", "docs:dev": "node ./bin/dumi.js dev", "docs:sync": "node ./scripts/sync-from-umi.js", "format": "prettier --cache --write .", "lint": "npm run lint:es && npm run lint:css", "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"", "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"", "prepare": "husky install && npm run build && npm run build:suites && node ./bin/dumi.js setup && npm run docs:sync", "prepublishOnly": "npm run build", "test": "vitest", "vercel:build": "npm run docs:build", "vercel:install": "./scripts/vercel-install.sh" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "*.{md,json}": [ "prettier --cache --write --no-error-on-unmatched-pattern" ], "*.{css,less}": [ "stylelint --fix", "prettier --cache --write" ], "*.{js,jsx}": [ "eslint --fix", "prettier --cache --write" ], "*.{ts,tsx}": [ "eslint --fix", "prettier --cache --parser=typescript --write" ] }, "dependencies": { "@ant-design/icons-svg": "^4.2.1", "@makotot/ghostui": "^2.0.0", "@stackblitz/sdk": "^1.9.0", "@swc/core": "1.3.72", "@types/hast": "^2.3.5", "@types/mdast": "^3.0.12", "@umijs/bundler-utils": "^4.0.84", "@umijs/core": "^4.0.84", "@umijs/utils": "^4.0.84", "animated-scroll-to": "^2.3.0", "classnames": "2.3.2", "codesandbox": "^2.2.3", "copy-to-clipboard": "^3.3.3", "deepmerge": "^4.3.1", "dumi-afx-deps": "^1.0.0-alpha.19", "dumi-assets-types": "2.0.0-alpha.0", "enhanced-resolve": "^5.15.0", "estree-util-to-js": "^1.2.0", "estree-util-visit": "^1.2.1", "file-system-cache": "^2.4.3", "github-slugger": "^1.5.0", "hast-util-is-element": "^2.1.3", "hast-util-raw": "^8.0.0", "hast-util-to-estree": "^2.3.3", "hast-util-to-string": "^2.0.0", "heti": "^0.9.4", "hosted-git-info": "^6.1.1", "html-to-text": "^9.0.5", "html2sketch": "^1.0.2", "js-yaml": "^4.1.0", "lodash.throttle": "^4.1.1", "mdast-util-find-and-replace": "^2.2.2", "mdast-util-to-string": "^3.2.0", "nprogress": "^0.2.0", "pluralize": "^8.0.0", "prism-react-renderer": "^1.3.5", "prism-themes": "^1.9.0", "prismjs": "^1.29.0", "raw-loader": "^4.0.2", "rc-motion": "^2.7.3", "rc-tabs": "^12.10.0", "rc-tree": "^5.7.9", "react-copy-to-clipboard": "^5.1.0", "react-error-boundary": "^4.0.10", "react-intl": "^6.4.4", "rehype-autolink-headings": "^6.1.1", "rehype-remove-comments": "^5.0.0", "rehype-stringify": "^9.0.3", "remark-directive": "^2.0.1", "remark-frontmatter": "^4.0.1", "remark-gfm": "^3.0.1", "remark-parse": "^10.0.2", "remark-rehype": "^10.1.0", "sass": "^1.64.1", "sitemap": "^7.1.1", "umi": "^4.0.84", "unified": "^10.1.2", "unist-util-visit": "^4.1.2", "unist-util-visit-parents": "^5.1.3", "url": "^0.11.1", "v8-compile-cache": "2.3.0", "vfile": "^5.3.7" }, "devDependencies": { "@commitlint/cli": "^17.6.7", "@commitlint/config-conventional": "^17.6.7", "@types/github-slugger": "^1.3.0", "@types/highlight-words-core": "^1.2.1", "@types/hosted-git-info": "^3.0.2", "@types/js-yaml": "^4.0.5", "@types/lodash.throttle": "^4.1.7", "@types/node": "^18.17.1", "@types/pluralize": "^0.0.30", "@types/react": "^18.2.17", "@types/react-copy-to-clipboard": "^5.0.4", "@umijs/lint": "^4.0.84", "@umijs/plugins": "4.0.32", "dumi-theme-mobile": "workspace:*", "eslint": "^8.46.0", "fast-glob": "^3.3.1", "father": "^4.3.0", "highlight-words-core": "^1.2.2", "husky": "^8.0.3", "lint-staged": "^13.2.3", "prettier": "^2.8.8", "prettier-plugin-organize-imports": "^3.2.3", "prettier-plugin-packagejson": "^2.4.5", "react": "^18.2.0", "stylelint": "^15.10.2", "ts-node": "^10.9.1", "typescript": "~5.0.4", "vitest": "^0.33.0" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8" }, "packageManager": "pnpm@8.4.0", "publishConfig": { "access": "public" }, "authors": [ "Peach <scdzwyxst@gmail.com>" ] }