mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
Many things work. What doesn't work (needs work): - Any dynamic config options (f.e. any that use functions) need to be specified in the HTML by augmenting the injected config object. This includes plugins, Vue components, and similar. - Plugins and Vue don't work on initial SSR render. Switch pages dynamically and they work during the dynamic markdown handling. - Cover page causes an error - Search plugin causes an error
129 lines
4.2 KiB
JSON
129 lines
4.2 KiB
JSON
{
|
|
"name": "docsify",
|
|
"version": "4.12.1",
|
|
"description": "A magical documentation generator.",
|
|
"author": {
|
|
"name": "qingwei-li",
|
|
"email": "cinwell.li@gmail.com",
|
|
"url": "https://github.com/QingWei-Li"
|
|
},
|
|
"homepage": "https://docsify.js.org",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/docsifyjs/docsify.git"
|
|
},
|
|
"main": "lib/docsify.js",
|
|
"type": "module",
|
|
"unpkg": "lib/docsify.min.js",
|
|
"files": [
|
|
"lib",
|
|
"themes"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "npm i && lerna bootstrap --no-ci",
|
|
"serve": "npm run _node -- server.js",
|
|
"serve:ssr": "cross-env SSR=1 npm run _node -- server.js",
|
|
"dev": "run-p serve watch:*",
|
|
"dev:ssr": "run-p serve:ssr watch:*",
|
|
"lint": "npm run _eslint -- .",
|
|
"fixlint": "npm run _eslint -- . --fix",
|
|
"test": "npm run _jest",
|
|
"test:e2e": "npm run _jest -- --selectProjects e2e",
|
|
"test:integration": "npm run _jest -- --selectProjects integration",
|
|
"test:unit": "npm run _jest -- --selectProjects unit",
|
|
"css": "npm run _node -- build/css.js",
|
|
"watch:css": "npm run css -- -o themes -w",
|
|
"watch:js": "npm run _node -- build/build.js",
|
|
"build:css:min": "mkdirp lib/themes && npm run css -- -o lib/themes && npm run _node -- build/mincss.js",
|
|
"build:css": "mkdirp themes && npm run css -- -o themes",
|
|
"build:js": "cross-env NODE_ENV=production npm run _node -- build/build.js",
|
|
"build:cover": "npm run _node -- build/cover.js",
|
|
"build": "rimraf lib themes && run-s build:js build:css build:css:min build:cover",
|
|
"prepare": "npm run build",
|
|
"pub:next": "cross-env RELEASE_TAG=next sh build/release.sh",
|
|
"pub": "sh build/release.sh",
|
|
"postinstall": "opencollective-postinstall",
|
|
"_node": "node --experimental-specifier-resolution=node",
|
|
"_eslint": "DISABLE_V8_COMPILE_CACHE=1 node -- ./node_modules/.bin/eslint",
|
|
"// ^ _eslint comment": "The DISABLE_V8_COMPILE_CACHE=1 var enables ESM import() in .eslintrc.cjs. See https://github.com/eslint/eslint/issues/13684",
|
|
"_jest": "npm run _node -- --experimental-vm-modules ./node_modules/.bin/jest",
|
|
"// ^ _jest comment": "--experimental-vm-modules is needed in order to enable full native ESM support in Jest"
|
|
},
|
|
"husky-OFF": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "eslint --fix"
|
|
},
|
|
"dependencies": {
|
|
"dompurify": "^2.2.7",
|
|
"marked": "^1.2.9",
|
|
"medium-zoom": "^1.0.6",
|
|
"opencollective-postinstall": "^2.0.2",
|
|
"prismjs": "^1.23.0",
|
|
"strip-indent": "^3.0.0",
|
|
"tinydate": "^1.3.0",
|
|
"tweezer.js": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"autoprefixer-stylus": "^1.0.0",
|
|
"axios": "^0.21.1",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^26.3.0",
|
|
"browser-sync": "^2.26.12",
|
|
"chokidar": "^3.4.2",
|
|
"common-tags": "^1.8.0",
|
|
"conventional-changelog-cli": "^2.1.0",
|
|
"copy-dir": "^1.2.0",
|
|
"cross-env": "^6.0.3",
|
|
"cssnano": "^4.1.10",
|
|
"deasync": "^0.1.20",
|
|
"es-main": "^1.0.2",
|
|
"eslint": "7.12.1",
|
|
"eslint-plugin-import": "2.20.1",
|
|
"eslint-plugin-jest": "24.0.2",
|
|
"eslint-plugin-jest-playwright": "0.2.1",
|
|
"eslint-plugin-prettier": "3.1.2",
|
|
"husky": "^3.1.0",
|
|
"jest": "^26.4.2",
|
|
"jest-image-snapshot": "^4.2.0",
|
|
"jest-playwright-preset": "^1.4.1",
|
|
"lerna": "^3.22.1",
|
|
"lint-staged": "^10.4.0",
|
|
"live-server": "^1.2.1",
|
|
"mkdirp": "^0.5.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"playwright": "^1.8.0",
|
|
"playwright-firefox": "^1.5.2",
|
|
"prettier": "^1.19.1",
|
|
"rimraf": "^3.0.0",
|
|
"rollup": "^1.23.1",
|
|
"rollup-plugin-async": "^1.2.0",
|
|
"rollup-plugin-buble": "^0.19.8",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"rollup-plugin-uglify": "^6.0.4",
|
|
"serve-handler": "^6.1.2",
|
|
"stylus": "^0.54.5",
|
|
"vue2": "npm:vue@^2.6.12",
|
|
"vue3": "npm:vue@^3.0.0",
|
|
"xhr-mock": "^2.5.1"
|
|
},
|
|
"keywords": [
|
|
"doc",
|
|
"docs",
|
|
"documentation",
|
|
"creator",
|
|
"generator"
|
|
],
|
|
"collective": {
|
|
"url": "https://opencollective.com/docsify"
|
|
}
|
|
}
|