UNPKG

3.56 kBJSONView Raw
1{
2 "name": "docsify",
3 "version": "4.12.1",
4 "description": "A magical documentation generator.",
5 "author": {
6 "name": "qingwei-li",
7 "email": "cinwell.li@gmail.com",
8 "url": "https://github.com/QingWei-Li"
9 },
10 "homepage": "https://docsify.js.org",
11 "license": "MIT",
12 "repository": {
13 "type": "git",
14 "url": "git+https://github.com/docsifyjs/docsify.git"
15 },
16 "main": "lib/docsify.js",
17 "unpkg": "lib/docsify.min.js",
18 "files": [
19 "lib",
20 "themes"
21 ],
22 "scripts": {
23 "bootstrap": "npm i && lerna bootstrap && npm run build:ssr",
24 "serve": "node server",
25 "serve:ssr": "cross-env SSR=1 node server",
26 "dev": "run-p serve watch:*",
27 "dev:ssr": "run-p serve:ssr watch:*",
28 "lint": "eslint .",
29 "fixlint": "eslint . --fix",
30 "test": "jest",
31 "test:e2e": "jest --selectProjects e2e",
32 "test:integration": "jest --selectProjects integration",
33 "test:unit": "jest --selectProjects unit",
34 "css": "node build/css",
35 "watch:css": "npm run css -- -o themes -w",
36 "watch:js": "node build/build.js",
37 "build:css:min": "mkdirp lib/themes && npm run css -- -o lib/themes && node build/mincss.js",
38 "build:css": "mkdirp themes && npm run css -- -o themes",
39 "build:js": "cross-env NODE_ENV=production node build/build.js",
40 "build:ssr": "node build/ssr.js",
41 "build:cover": "node build/cover.js",
42 "build": "rimraf lib themes && run-s build:js build:css build:css:min build:ssr build:cover",
43 "prepare": "npm run build",
44 "pub:next": "cross-env RELEASE_TAG=next sh build/release.sh",
45 "pub": "sh build/release.sh",
46 "postinstall": "opencollective-postinstall"
47 },
48 "husky": {
49 "hooks": {
50 "pre-commit": "lint-staged"
51 }
52 },
53 "lint-staged": {
54 "*.js": "eslint --fix"
55 },
56 "dependencies": {
57 "dompurify": "^2.2.6",
58 "marked": "^1.2.9",
59 "medium-zoom": "^1.0.6",
60 "opencollective-postinstall": "^2.0.2",
61 "prismjs": "^1.23.0",
62 "strip-indent": "^3.0.0",
63 "tinydate": "^1.3.0",
64 "tweezer.js": "^1.4.0"
65 },
66 "devDependencies": {
67 "@babel/core": "^7.11.6",
68 "@babel/preset-env": "^7.11.5",
69 "autoprefixer-stylus": "^1.0.0",
70 "axios": "^0.21.1",
71 "babel-eslint": "^10.0.3",
72 "babel-jest": "^26.3.0",
73 "browser-sync": "^2.26.12",
74 "chokidar": "^3.4.2",
75 "common-tags": "^1.8.0",
76 "conventional-changelog-cli": "^2.1.0",
77 "copy-dir": "^1.2.0",
78 "cross-env": "^6.0.3",
79 "cssnano": "^4.1.10",
80 "eslint": "^5.16.0",
81 "eslint-plugin-import": "^2.20.1",
82 "eslint-plugin-jest": "^24.0.2",
83 "eslint-plugin-jest-playwright": "^0.2.1",
84 "eslint-plugin-prettier": "^3.1.2",
85 "husky": "^3.1.0",
86 "jest": "^26.4.2",
87 "jest-image-snapshot": "^4.2.0",
88 "jest-playwright-preset": "^1.4.1",
89 "lerna": "^3.22.1",
90 "lint-staged": "^10.4.0",
91 "live-server": "^1.2.1",
92 "mkdirp": "^0.5.1",
93 "npm-run-all": "^4.1.5",
94 "playwright": "^1.8.0",
95 "prettier": "^1.19.1",
96 "rimraf": "^3.0.0",
97 "rollup": "^1.23.1",
98 "rollup-plugin-async": "^1.2.0",
99 "rollup-plugin-buble": "^0.19.8",
100 "rollup-plugin-commonjs": "^10.1.0",
101 "rollup-plugin-node-resolve": "^5.2.0",
102 "rollup-plugin-replace": "^2.2.0",
103 "rollup-plugin-uglify": "^6.0.4",
104 "serve-handler": "^6.1.2",
105 "stylus": "^0.54.5",
106 "vue2": "npm:vue@^2.6.12",
107 "vue3": "npm:vue@^3.0.0",
108 "xhr-mock": "^2.5.1"
109 },
110 "keywords": [
111 "doc",
112 "docs",
113 "documentation",
114 "creator",
115 "generator"
116 ],
117 "collective": {
118 "url": "https://opencollective.com/docsify"
119 }
120}