2016-11-20 15:56:37 +08:00
{
"name" : "docsify" ,
2022-10-26 21:45:51 +08:00
"version" : "4.13.0" ,
2016-11-20 15:56:37 +08:00
"description" : "A magical documentation generator." ,
2017-03-16 05:07:28 +08:00
"homepage" : "https://docsify.js.org" ,
2023-06-25 14:57:42 +08:00
"repository" : "github:docsifyjs/docsify" ,
"authors" : "https://github.com/docsifyjs/docsify/graphs/contributors" ,
2017-03-16 05:07:28 +08:00
"license" : "MIT" ,
2023-06-25 14:57:42 +08:00
"collective" : {
"url" : "https://opencollective.com/docsify"
2017-03-16 05:07:28 +08:00
} ,
2023-06-25 14:57:42 +08:00
"type" : "module" ,
2023-10-20 09:24:35 +08:00
"// The 'main' and 'unpkg' fields will remain as legacy for backwards compatibility for now. We will add deprectaion warnings to these outputs to give people time to see the warnings in their apps in a non-breaking way, and eventually we can remove the legacy stuff." : "" ,
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" ,
2023-06-25 14:57:42 +08:00
"// We're using the 'exports' field as an override of the 'main' field to provide the new ESM setup. Once we remove legacy 'main', we will remove the 'exports' field and have a simple ESM setup with only a 'main' field." : "" ,
"exports" : {
"." : "./src/Docsify.js" ,
"./*" : "./*"
} ,
2018-03-03 23:21:12 +08:00
"files" : [
"lib" ,
"themes"
] ,
2016-11-20 15:56:37 +08:00
"scripts" : {
2022-10-26 21:38:31 +08:00
"build:cover" : "node build/cover.js" ,
2023-12-12 05:00:33 +08:00
"build:css:min" : "node build/mincss.js" ,
"build:css" : "mkdirp lib/themes && node build/css -o lib/themes" ,
2022-10-26 21:38:31 +08:00
"build:emoji" : "node ./build/emoji.js" ,
2018-03-03 22:51:27 +08:00
"build:js" : "cross-env NODE_ENV=production node build/build.js" ,
2022-10-26 21:38:31 +08:00
"build:test" : "npm run build && npm test" ,
2023-12-22 13:27:13 +08:00
"build" : "rimraf lib themes && run-s build:js build:css build:css:min build:cover build:emoji" ,
2023-12-12 05:00:33 +08:00
"dev" : "run-p serve:dev watch:*" ,
2022-10-26 21:38:31 +08:00
"docker:build:test" : "npm run docker:cli -- build:test" ,
2021-12-10 01:55:30 +08:00
"docker:build" : "docker build -f Dockerfile -t docsify-test:local ." ,
"docker:clean" : "docker rmi docsify-test:local" ,
2022-10-26 21:38:31 +08:00
"docker:cli" : "docker run --rm -it --ipc=host --mount type=bind,source=$(pwd)/test,target=/app/test 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: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" ,
2022-10-26 21:38:31 +08:00
"docker:test" : "npm run docker:cli -- test" ,
2023-12-12 05:00:33 +08:00
"jest" : "cross-env NODE_OPTIONS=--experimental-vm-modules jest" ,
2022-10-26 21:38:31 +08:00
"lint:fix" : "eslint . --fix" ,
2023-08-09 17:53:30 +08:00
"lint" : "prettier . --check && eslint ." ,
2024-01-17 22:49:35 +08:00
"postinstall" : "opencollective-postinstall && npx husky install" ,
2022-10-26 21:38:31 +08:00
"prepare" : "npm run build" ,
2023-12-12 05:00:33 +08:00
"prettier" : "prettier . --write" ,
2022-10-26 21:38:31 +08:00
"pub:next" : "cross-env RELEASE_TAG=next sh build/release.sh" ,
"pub" : "sh build/release.sh" ,
2023-12-22 13:27:13 +08:00
"serve:dev" : "npm run serve -- --dev" ,
2022-10-26 21:38:31 +08:00
"serve" : "node server" ,
"test:e2e" : "playwright test" ,
2023-06-25 14:57:42 +08:00
"test:integration" : "npm run jest -- --selectProjects integration" ,
"test:unit" : "npm run jest -- --selectProjects unit" ,
"test" : "npm run jest && run-s test:e2e" ,
2023-12-22 13:27:13 +08:00
"watch:css" : "npm run build:css -- -w" ,
2022-10-26 21:38:31 +08:00
"watch:js" : "node build/build.js"
2017-05-30 03:48:29 +08:00
} ,
2019-12-19 16:38:21 +08:00
"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" : {
2023-04-22 18:07:21 +08:00
"marked" : "^4.2.12" ,
2023-12-18 08:37:32 +08:00
"medium-zoom" : "^1.1.0" ,
2019-12-17 05:18:47 +08:00
"opencollective-postinstall" : "^2.0.2" ,
2022-11-14 18:54:02 +08:00
"prismjs" : "^1.29.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" : {
2022-10-26 21:38:31 +08:00
"@babel/core" : "^7.11.6" ,
"@babel/eslint-parser" : "^7.16.5" ,
2020-10-06 03:10:30 +08:00
"@babel/preset-env" : "^7.11.5" ,
2023-06-25 14:57:42 +08:00
"@eslint/js" : "^8.43.0" ,
2023-12-05 08:09:52 +08:00
"@playwright/test" : "^1.39.0" ,
2023-06-30 09:46:58 +08:00
"@rollup/plugin-commonjs" : "^25.0.2" ,
"@rollup/plugin-node-resolve" : "^15.1.0" ,
"@rollup/plugin-replace" : "^5.0.2" ,
"@rollup/plugin-terser" : "^0.4.3" ,
2023-06-25 14:57:42 +08:00
"@types/eslint" : "^8.40.2" ,
2019-10-16 21:20:54 +08:00
"autoprefixer-stylus" : "^1.0.0" ,
2023-08-31 13:59:24 +08:00
"axios" : "^1.5.0" ,
2022-10-26 21:38:31 +08:00
"babel-jest" : "^27.4.6" ,
2020-10-06 03:10:30 +08:00
"browser-sync" : "^2.26.12" ,
"chokidar" : "^3.4.2" ,
"common-tags" : "^1.8.0" ,
2023-06-26 15:38:42 +08:00
"conventional-changelog-cli" : "^3.0.0" ,
2020-01-30 20:14:13 +08:00
"copy-dir" : "^1.2.0" ,
2023-04-18 16:15:29 +08:00
"cross-env" : "^7.0.3" ,
2019-10-16 21:20:54 +08:00
"cssnano" : "^4.1.10" ,
2023-06-25 14:57:42 +08:00
"eslint" : "^8.43.0" ,
"eslint-config-prettier" : "^8.8.0" ,
"eslint-plugin-import" : "^2.27.5" ,
"eslint-plugin-jest" : "^27.2.2" ,
2023-09-10 16:21:05 +08:00
"eslint-plugin-playwright" : "^0.16.0" ,
2023-06-25 14:57:42 +08:00
"eslint-plugin-prettier" : "^4.2.1" ,
"globals" : "^13.20.0" ,
2024-03-04 18:41:16 +08:00
"husky" : "^9.0.11" ,
2022-10-26 21:38:31 +08:00
"jest" : "^27.4.7" ,
2023-05-19 16:26:03 +08:00
"lint-staged" : "^13.2.2" ,
2023-04-18 15:55:09 +08:00
"mkdirp" : "^3.0.0" ,
2018-11-27 13:13:38 +08:00
"npm-run-all" : "^4.1.5" ,
2023-06-25 14:57:42 +08:00
"prettier" : "^2.8.8" ,
2019-10-16 21:20:54 +08:00
"rimraf" : "^3.0.0" ,
2023-06-30 09:46:58 +08:00
"rollup" : "^3.25.3" ,
2020-05-24 04:55:05 +08:00
"serve-handler" : "^6.1.2" ,
2023-09-07 18:59:09 +08:00
"stylus" : "^0.60.0" ,
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"
2023-06-25 14:57:42 +08:00
]
2018-02-10 16:09:01 +08:00
}