1 | {
|
2 | "name": "ydoc",
|
3 | "version": "4.1.0",
|
4 | "description": "基于 Markdown 的静态站点生成工具",
|
5 | "scripts": {
|
6 | "test": "mocha --reporter spec --bail --recursive",
|
7 | "commet": "node commetparser/app.js",
|
8 | "buildCss": "node theme/build.js watch",
|
9 | "build": "ydoc build && sh build.sh"
|
10 | },
|
11 | "keywords": [
|
12 | "doc",
|
13 | "docs",
|
14 | "document",
|
15 | "documents",
|
16 | "documentation",
|
17 | "markdown",
|
18 | "build",
|
19 | "fe",
|
20 | "front-end",
|
21 | "js"
|
22 | ],
|
23 | "homepage": "https://ydoc.ymfe.org/",
|
24 | "main": "src/index.js",
|
25 | "bin": {
|
26 | "ydoc": "bin/ydoc"
|
27 | },
|
28 | "repository": {
|
29 | "type": "git",
|
30 | "url": "git@github.com:YMFE/ydoc.git"
|
31 | },
|
32 | "engines": {
|
33 | "node": ">=7.6.0"
|
34 | },
|
35 | "license": "Apache2.0",
|
36 | "dependencies": {
|
37 | "bash-color": "0.0.4",
|
38 | "cheerio": "^0.20.0",
|
39 | "chokidar": "^2.0.0",
|
40 | "debug": "*",
|
41 | "fs-extra": "^5.0.0",
|
42 | "growl": "~1.7.0",
|
43 | "he": "^1.1.1",
|
44 | "koa": "^2.4.1",
|
45 | "koa-static": "^4.0.2",
|
46 | "markdown-it": "^8.4.0",
|
47 | "noox": "^0.1.2",
|
48 | "ora": "^1.3.0",
|
49 | "prismjs": "^1.14.0",
|
50 | "readline-sync": "^1.4.9",
|
51 | "tiny-lr": "0.0.5",
|
52 | "underscore": "^1.8.3",
|
53 | "watch": "~0.9.0",
|
54 | "yargs": "^10.0.3",
|
55 | "ydoc-plugin-copy": "0.0.1",
|
56 | "ydoc-plugin-demo": "^1.0.0",
|
57 | "ydoc-plugin-edit-page": "0.0.2",
|
58 | "ydoc-plugin-execution-time": "^1.0.0",
|
59 | "ydoc-plugin-img-view": "^1.0.1",
|
60 | "ydoc-plugin-import-asset": "^1.0.1",
|
61 | "ydoc-plugin-search": "^1.1.6"
|
62 | },
|
63 | "devDependencies": {
|
64 | "ghooks": "^2.0.0",
|
65 | "markdown-it-include": "^1.0.0",
|
66 | "markdown-it-sub": "^1.0.0",
|
67 | "mocha": "^4.1.0",
|
68 | "node-sass": "^4.7.2",
|
69 | "rewire": "^3.0.2",
|
70 | "validate-commit-msg": "^2.12.2"
|
71 | },
|
72 | "config": {
|
73 | "ghooks": {
|
74 | "commit-msg": "validate-commit-msg"
|
75 | },
|
76 | "validate-commit-msg": {
|
77 | "types": [
|
78 | "feat",
|
79 | "fix",
|
80 | "docs",
|
81 | "test",
|
82 | "chore",
|
83 | "refactor",
|
84 | "opti"
|
85 | ],
|
86 | "warnOnFail": false,
|
87 | "maxSubjectLength": 100,
|
88 | "subjectPattern": ".+",
|
89 | "subjectPatternErrorMsg": "please input meesage!",
|
90 | "helpMessage": "Commit message error, \n Please see: https://github.com/conventional-changelog-archived-repos/validate-commit-msg"
|
91 | }
|
92 | }
|
93 | } |
\ | No newline at end of file |