πŸ“¦ YMFE / ydoc

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