2016-11-20 15:56:37 +08:00
|
|
|
{
|
|
|
|
"name": "docsify",
|
2022-01-06 16:55:27 +08:00
|
|
|
"version": "4.12.2",
|
2016-11-20 15:56:37 +08:00
|
|
|
"description": "A magical documentation generator.",
|
2017-03-16 05:07:28 +08:00
|
|
|
"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",
|
2018-07-01 13:48:44 +08:00
|
|
|
"url": "git+https://github.com/docsifyjs/docsify.git"
|
2017-03-16 05:07:28 +08:00
|
|
|
},
|
2016-11-26 14:28:21 +08:00
|
|
|
"main": "lib/docsify.js",
|
2018-06-29 21:28:09 +08:00
|
|
|
"unpkg": "lib/docsify.min.js",
|
2018-03-03 23:21:12 +08:00
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"themes"
|
|
|
|
],
|
2016-11-20 15:56:37 +08:00
|
|
|
"scripts": {
|
2017-10-16 08:23:47 +08:00
|
|
|
"bootstrap": "npm i && lerna bootstrap && npm run build:ssr",
|
2018-03-03 22:51:27 +08:00
|
|
|
"serve": "node server",
|
|
|
|
"serve:ssr": "cross-env SSR=1 node server",
|
|
|
|
"dev": "run-p serve watch:*",
|
|
|
|
"dev:ssr": "run-p serve:ssr watch:*",
|
2020-02-14 17:52:53 +08:00
|
|
|
"lint": "eslint .",
|
2020-02-14 23:11:53 +08:00
|
|
|
"fixlint": "eslint . --fix",
|
2020-10-26 15:23:34 +08:00
|
|
|
"test": "jest",
|
2022-01-04 15:54:37 +08:00
|
|
|
"build:test": "npm run build && npm test",
|
2020-10-06 03:10:30 +08:00
|
|
|
"test:e2e": "jest --selectProjects e2e",
|
|
|
|
"test:integration": "jest --selectProjects integration",
|
|
|
|
"test:unit": "jest --selectProjects unit",
|
2019-12-17 01:02:32 +08:00
|
|
|
"css": "node build/css",
|
|
|
|
"watch:css": "npm run css -- -o themes -w",
|
2018-03-03 22:51:27 +08:00
|
|
|
"watch:js": "node build/build.js",
|
2019-12-17 01:02:32 +08:00
|
|
|
"build:css:min": "mkdirp lib/themes && npm run css -- -o lib/themes && node build/mincss.js",
|
|
|
|
"build:css": "mkdirp themes && npm run css -- -o themes",
|
2018-03-03 22:51:27 +08:00
|
|
|
"build:js": "cross-env NODE_ENV=production node build/build.js",
|
|
|
|
"build:ssr": "node build/ssr.js",
|
|
|
|
"build:cover": "node build/cover.js",
|
2019-12-17 01:02:32 +08:00
|
|
|
"build": "rimraf lib themes && run-s build:js build:css build:css:min build:ssr build:cover",
|
2020-01-25 11:59:15 +08:00
|
|
|
"prepare": "npm run build",
|
2018-03-03 22:51:27 +08:00
|
|
|
"pub:next": "cross-env RELEASE_TAG=next sh build/release.sh",
|
2018-02-11 15:04:31 +08:00
|
|
|
"pub": "sh build/release.sh",
|
2021-12-10 01:55:30 +08:00
|
|
|
"postinstall": "opencollective-postinstall",
|
|
|
|
"docker:build": "docker build -f Dockerfile -t docsify-test:local .",
|
|
|
|
"docker:clean": "docker rmi docsify-test:local",
|
2021-12-10 02:11:12 +08:00
|
|
|
"docker:rebuild": "npm run docker:clean && npm run docker:build",
|
2022-01-04 15:54:37 +08:00
|
|
|
"docker:test": "npm run docker:cli -- test",
|
|
|
|
"docker:build:test": "npm run docker:cli -- build:test",
|
|
|
|
"docker:test:e2e": "npm run docker:cli -- test:e2e",
|
|
|
|
"docker:test:integration": "npm run docker:cli -- test:integration",
|
|
|
|
"docker:test:unit": "npm run docker:cli -- test:unit",
|
|
|
|
"docker:cli": "docker run --rm -it --ipc=host --mount type=bind,source=$(pwd)/test,target=/app/test docsify-test:local"
|
2017-05-30 03:48:29 +08:00
|
|
|
},
|
2019-12-19 16:38:21 +08:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2020-04-09 13:05:59 +08:00
|
|
|
"*.js": "eslint --fix"
|
2017-05-30 03:48:29 +08:00
|
|
|
},
|
2017-03-16 05:07:28 +08:00
|
|
|
"dependencies": {
|
2021-09-15 10:42:29 +08:00
|
|
|
"dompurify": "^2.3.1",
|
2021-02-05 10:41:08 +08:00
|
|
|
"marked": "^1.2.9",
|
2020-08-17 16:39:14 +08:00
|
|
|
"medium-zoom": "^1.0.6",
|
2019-12-17 05:18:47 +08:00
|
|
|
"opencollective-postinstall": "^2.0.2",
|
2021-01-28 17:33:22 +08:00
|
|
|
"prismjs": "^1.23.0",
|
2020-01-05 12:28:38 +08:00
|
|
|
"strip-indent": "^3.0.0",
|
2020-08-18 22:04:44 +08:00
|
|
|
"tinydate": "^1.3.0",
|
2017-10-31 21:20:08 +08:00
|
|
|
"tweezer.js": "^1.4.0"
|
2016-11-22 23:28:31 +08:00
|
|
|
},
|
2016-11-20 15:56:37 +08:00
|
|
|
"devDependencies": {
|
2020-10-06 03:10:30 +08:00
|
|
|
"@babel/core": "^7.11.6",
|
|
|
|
"@babel/preset-env": "^7.11.5",
|
2019-10-16 21:20:54 +08:00
|
|
|
"autoprefixer-stylus": "^1.0.0",
|
2021-01-06 18:22:42 +08:00
|
|
|
"axios": "^0.21.1",
|
2020-02-20 16:31:05 +08:00
|
|
|
"babel-eslint": "^10.0.3",
|
2020-10-06 03:10:30 +08:00
|
|
|
"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",
|
2020-01-30 20:14:13 +08:00
|
|
|
"copy-dir": "^1.2.0",
|
2019-10-16 21:20:54 +08:00
|
|
|
"cross-env": "^6.0.3",
|
|
|
|
"cssnano": "^4.1.10",
|
|
|
|
"eslint": "^5.16.0",
|
2020-02-20 16:31:05 +08:00
|
|
|
"eslint-plugin-import": "^2.20.1",
|
2020-10-06 03:10:30 +08:00
|
|
|
"eslint-plugin-jest": "^24.0.2",
|
|
|
|
"eslint-plugin-jest-playwright": "^0.2.1",
|
2020-02-20 16:31:05 +08:00
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2019-12-19 16:38:21 +08:00
|
|
|
"husky": "^3.1.0",
|
2020-10-06 03:10:30 +08:00
|
|
|
"jest": "^26.4.2",
|
|
|
|
"jest-image-snapshot": "^4.2.0",
|
2020-11-28 16:35:43 +08:00
|
|
|
"jest-playwright-preset": "^1.4.1",
|
2020-06-18 02:25:59 +08:00
|
|
|
"lerna": "^3.22.1",
|
2020-10-06 03:10:30 +08:00
|
|
|
"lint-staged": "^10.4.0",
|
2018-11-27 13:13:38 +08:00
|
|
|
"live-server": "^1.2.1",
|
2019-12-17 01:02:32 +08:00
|
|
|
"mkdirp": "^0.5.1",
|
2018-11-27 13:13:38 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-02-05 01:11:11 +08:00
|
|
|
"playwright": "^1.8.0",
|
2020-02-20 16:31:05 +08:00
|
|
|
"prettier": "^1.19.1",
|
2019-10-16 21:20:54 +08:00
|
|
|
"rimraf": "^3.0.0",
|
|
|
|
"rollup": "^1.23.1",
|
2017-05-30 13:58:05 +08:00
|
|
|
"rollup-plugin-async": "^1.2.0",
|
2019-10-16 21:20:54 +08:00
|
|
|
"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",
|
2019-12-17 01:02:32 +08:00
|
|
|
"rollup-plugin-uglify": "^6.0.4",
|
2020-05-24 04:55:05 +08:00
|
|
|
"serve-handler": "^6.1.2",
|
2020-10-06 03:10:30 +08:00
|
|
|
"stylus": "^0.54.5",
|
2020-10-08 02:13:03 +08:00
|
|
|
"vue2": "npm:vue@^2.6.12",
|
|
|
|
"vue3": "npm:vue@^3.0.0",
|
2020-10-06 03:10:30 +08:00
|
|
|
"xhr-mock": "^2.5.1"
|
2016-11-20 15:56:37 +08:00
|
|
|
},
|
2018-03-03 23:21:12 +08:00
|
|
|
"keywords": [
|
|
|
|
"doc",
|
|
|
|
"docs",
|
|
|
|
"documentation",
|
|
|
|
"creator",
|
|
|
|
"generator"
|
|
|
|
],
|
2018-02-11 15:04:31 +08:00
|
|
|
"collective": {
|
2019-12-17 05:18:47 +08:00
|
|
|
"url": "https://opencollective.com/docsify"
|
2018-02-11 15:04:31 +08:00
|
|
|
}
|
2018-02-10 16:09:01 +08:00
|
|
|
}
|