-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
59 lines (59 loc) · 2.31 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
{
"name": "processmd",
"version": "4.7.0",
"description": "Process a directory of markdown and yaml files to JSON files",
"main": "index.js",
"bin": {
"processmd": "./cli.js"
},
"scripts": {
"prettier": "prettier --write --single-quote --trailing-comma --no-semi *.js",
"start": "npm run build:json",
"build:json": "node cli.js \"test/data/input/**/*.{yml,md}\" --stdout --includeBodyProps --summaryOutput test/data/output.json --outputDir test/data/output",
"build:summary": "node cli.js \"test/data/input/**/*.{yml,md}\" --stdout --preview 40 --summaryOutput test/data/outputSummary.json --outputDir test/data/output",
"build:summary:array": "node cli.js \"test/data/input/**/*.{yml,md}\" --stdout --preview 40 --summaryOutput test/data/outputSummaryArray.json --summaryOutputFormat array --outputDir test/data/output",
"build:yaml": "node cli.js \"test/data/output/**/*.json\" --stdout --includeBodyProps --summaryOutput test/data/back.json --convertMode source --outputDir test/data/input",
"build:all": "npm run build:json && npm run build:summary && npm run build:yaml",
"build": "npm run fix-line-endings",
"fix-line-endings": "mv cli.js cli.old.js && cat cli.old.js | tr -d '\r' > cli.js",
"fix-eol": "tr -d '\\015' <test/data/input/frontmatter-code.md >test/data/input/frontmatter-code2.md",
"lint": "standard",
"test": "jasmine",
"pretest": "npm run lint",
"preversion": "npm run lint && npm run test && npm run build",
"v-patch": "npm version patch && git push --tags && npm publish && git push",
"v-minor": "npm version minor && git push --tags && npm publish && git push",
"v-major": "npm version major && git push --tags && npm publish && git push"
},
"keywords": [
"process",
"markdown",
"yaml",
"json"
],
"author": "Tim Scanlin",
"license": "MIT",
"dependencies": {
"globby": "^10.0.1",
"highlight.js": "^10.4.1",
"js-yaml": "^3.13.1",
"markdown-it": "^12.3.2",
"markdown-it-latex": "^0.2.0",
"markdown-it-named-headings": "^1.1.0",
"mkdirp": "^0.5.1",
"remove-markdown": "^0.3.0",
"yargs": "^14.2.0"
},
"devDependencies": {
"jasmine": "^3.5.0",
"prettier": "^1.18.2",
"standard": "^14.3.1"
},
"standard": {
"globals": [
"describe",
"expect",
"it"
]
}
}