-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 3.52 KB
/
package.json
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "mdp",
"version": "0.1.41",
"description": "Markdown partial processor",
"author": "muji <noop@xpm.io>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tmpfs/mdp"
},
"bugs": {
"url": "https://github.com/tmpfs/mdp/issues"
},
"keywords": [
"cli",
"readme",
"markdown",
"html",
"partial"
],
"dependencies": {
"async": "~1.5.2",
"circular": "^1.0.5",
"cli-command": "~0.8.300",
"cli-env": "~1.0.10",
"cli-interface": "~1.0.19",
"cli-logger": "~0.5.40",
"cli-mid-color": "~1.0.10",
"cli-mid-debug": "^1.0.3",
"cli-mid-logger": "~1.0.10",
"cli-mid-verbose": "^1.0.1",
"cli-types": "~0.1.2",
"cli-util": "^1.1.26",
"manual": "~1.0.0",
"markzero": "~0.1.31",
"moment": "~2.11.1",
"ttycolor": "~0.9.0"
},
"devDependencies": {
"chai": "~3.4.1",
"coveralls": "~2.11.6",
"istanbul": "~0.4.2",
"mocha": "~2.3.4"
},
"engine": [
"node >= 0.10.21"
],
"scripts": {
"lint": "jshint . && jscs .",
"docs": "npm run readme && npm run manual",
"prepublish": "npm run readme",
"md": "./bin/mdp --force --debug",
"readme": "rm -f README.md && ./bin/mdp --force -o doc/alt -v && mv doc/alt/README.md .",
"readme-debug": "rm -f README.md && ./bin/mdp --force --debug -o doc/alt -v && mv doc/alt/README.md .",
"manual": "rm -f MANUAL.md && ./bin/mdp --force -i doc/manual.json -o MANUAL.md",
"test": "mocha ${SPEC:-test/spec}",
"cover": "istanbul cover _mocha -- ${SPEC:-test/spec}"
},
"directories": {
"bin": "./bin"
},
"mdp": {
"title": {
"ref": "name",
"format": "%s(1)"
},
"pedantic": true,
"include": "doc/readme",
"require": "lib",
"gfm": true,
"branch": "master",
"links": "links.md",
"toc": "Table of Contents",
"order": false,
"base": "https://github.com/tmpfs/mdp",
"env": true,
"partial": [
{
"ref": "description"
},
{
"inc": [
"introduction.md",
"features.md",
"install.md"
]
},
{
"title": "Usage",
"bin": "mdp --help",
"type": "code",
"footer": "The program help output is also available as markdown see [MANUAL](/MANUAL.md)"
},
{
"title": "Configuration",
"text": "This document was generated with the following configuration (see [package.json](/package.json)):",
"ref": "mdp",
"stringify": true,
"format": "```json\n%s\n```",
"footer": "***Note this is not necessarily the optimal configuration it is designed to showcase the partial functionality.***"
},
{
"inc": "meta.md"
},
{
"req": "defaults.js",
"type": "code",
"language": "javascript"
},
{
"inc": [
"partial.md",
"environment.md",
"generator.md"
]
},
{
"title": "Middleware",
"inc": "middleware.md"
},
{
"text": "The `inspect` middleware is shown below:",
"req": "middleware/inspect.js",
"type": "code",
"language": "javascript"
},
{
"text": "You can enable it by declaring it in the meta data (or by using `--inspect`):",
"obj": {
"middleware": [
"inspect"
]
},
"type": "code",
"language": "json"
},
{
"inc": [
"license.md",
"footer.md"
]
}
]
}
}