forked from box/developer.box.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.72 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.72 KB
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
{
"name": "developer.box.com",
"description": "Box Developer Documentation - Configuration",
"version": "1.0.0",
"main": "index.yml",
"repository": {
"type": "git",
"url": "https://github.com/box/developer.box.com.git"
},
"keywords": [
"box",
"platform",
"api",
"documentation"
],
"author": "Box <oss@box.com>",
"license": "Apache-2.0",
"private": true,
"scripts": {
"test": "yarn lint",
"test:compiler": "jest ./tests",
"lint": "concurrently 'yarn lint:links' 'yarn lint:markdown' 'yarn lint:spelling' 'yarn lint:yaml' 'yarn lint:alex'",
"lint:markdown": "markdownlint -c markdownlintrc.json ./content ./templates",
"lint:spelling": "yarn lint:spelling:interactive -r",
"lint:spelling:interactive": "mdspell 'content/**/*.md' README.md CONTRIBUTING.md -a -n --en-us -d content/dictionaries/en_US",
"lint:alex": "alex content/ -q",
"lint:yaml": "yamllint ./content",
"lint:links": "jest ./src/markdown/tests/* --silent",
"watch:content": "concurrently 'yarn:watch:microcopy' 'yarn:watch:guides' 'yarn:watch:pages' 'yarn:watch:lint'",
"watch:microcopy": "watch 'yarn build:microcopy' content/microcopy src --interval=0.2",
"watch:guides": "watch 'yarn build:guides' content/guides src --interval=0.2",
"watch:pages": "watch 'yarn build:pages' content/pages src --interval=0.2",
"watch:lint": "watch 'yarn lint' src content --interval=1",
"watch:test:compiler": "watch 'yarn test:compiler' src tests --interval=1",
"clean": "rm -rf compiled && mkdir compiled",
"prebuild": "yarn clean",
"build": "concurrently 'yarn:build:*'",
"build:microcopy": "node -e 'require(\"./src/microcopy\").write()'",
"build:guides": "node -e 'require(\"./src/markdown\").writeGuides()'",
"build:pages": "node -e 'require(\"./src/markdown\").writePages()'",
"postbuild": "yarn optimize:images",
"optimize:images": "node src/images/optimize.js",
"start": "concurrently 'yarn watch:content'",
"develop": "concurrently 'yarn watch:test:compiler'",
"new": "yarn new:guide",
"new:guide": "yarn new:guide:empty",
"new:guide:example": "node -e 'require(\"./src/scripts/new-guide\").run(\"guide.md\")'",
"new:guide:empty": "node -e 'require(\"./src/scripts/new-guide\").run(\"guide-empty.md\")'"
},
"dependencies": {
"@stoplight/json-ref-resolver": "^3.0.1",
"alex": "^8.1.0",
"comment-json": "^3.0.2",
"concurrently": "^5.0.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"jest": "25.1.0",
"js-yaml": "^3.13.1",
"jsonpath": "^1.0.2",
"markdown-spellcheck": "^1.3.1",
"markdownlint-cli": "0.22.0",
"sha1-from-file": "^2.0.1",
"sharp": "^0.25.0",
"strip-indent": "^3.0.0",
"watch": "^1.0.2"
}
}