2016-11-20 15:56:37 +08:00
|
|
|
{
|
|
|
|
"name": "docsify",
|
2020-03-24 22:38:55 +08:00
|
|
|
"version": "4.11.3",
|
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",
|
|
|
|
"src",
|
|
|
|
"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-02-14 17:52:53 +08:00
|
|
|
"test": "mocha ./test/**/*.test.js",
|
2020-01-30 20:14:13 +08:00
|
|
|
"testServer": "node cypress/setup.js",
|
|
|
|
"test:e2e": "start-server-and-test testServer http://localhost:3000 cy:run",
|
|
|
|
"posttest:e2e": "rimraf cypress/fixtures/docs",
|
|
|
|
"cy:run": "cypress run",
|
|
|
|
"cy:open": "cypress open ",
|
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",
|
2019-12-17 05:18:47 +08:00
|
|
|
"postinstall": "opencollective-postinstall"
|
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": {
|
2019-10-16 21:20:54 +08:00
|
|
|
"marked": "^0.7.0",
|
2020-03-05 16:39:37 +08:00
|
|
|
"medium-zoom": "^1.0.5",
|
2019-12-17 05:18:47 +08:00
|
|
|
"opencollective-postinstall": "^2.0.2",
|
2020-03-05 16:39:31 +08:00
|
|
|
"prismjs": "^1.19.0",
|
2020-01-05 12:28:38 +08:00
|
|
|
"strip-indent": "^3.0.0",
|
2017-05-16 23:03:22 +08:00
|
|
|
"tinydate": "^1.0.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": {
|
2019-10-16 21:20:54 +08:00
|
|
|
"autoprefixer-stylus": "^1.0.0",
|
2020-02-20 16:31:05 +08:00
|
|
|
"babel-eslint": "^10.0.3",
|
2019-01-30 16:39:23 +08:00
|
|
|
"chai": "^4.2.0",
|
2019-10-16 21:20:54 +08:00
|
|
|
"chokidar": "^3.2.1",
|
|
|
|
"conventional-changelog-cli": "^2.0.25",
|
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",
|
2020-01-30 20:14:13 +08:00
|
|
|
"cypress": "^3.8.1",
|
|
|
|
"cypress-image-snapshot": "^3.1.1",
|
2019-10-16 21:20:54 +08:00
|
|
|
"eslint": "^5.16.0",
|
2020-02-20 16:31:05 +08:00
|
|
|
"eslint-plugin-import": "^2.20.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2019-01-30 15:48:34 +08:00
|
|
|
"esm": "^3.1.4",
|
2019-12-19 16:38:21 +08:00
|
|
|
"husky": "^3.1.0",
|
2019-10-16 21:20:54 +08:00
|
|
|
"jsdom": "^15.1.1",
|
|
|
|
"lerna": "^3.17.0",
|
2020-04-09 13:05:59 +08:00
|
|
|
"lint-staged": "^10.1.2",
|
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",
|
2019-01-30 16:39:23 +08:00
|
|
|
"mocha": "^5.2.0",
|
2018-11-27 13:13:38 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
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-01-30 20:14:13 +08:00
|
|
|
"start-server-and-test": "^1.10.6",
|
2019-02-21 04:36:47 +08:00
|
|
|
"stylus": "^0.54.5"
|
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
|
|
|
}
|