forked from box/developer.box.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.19 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
{
"name": "developer.box.com",
"description": "Box Developer Documentation - Configuration",
"version": "1.0.0",
"main": "content/pages/index.md",
"repository": {
"type": "git",
"url": "https://github.com/box/developer.box.com.git"
},
"keywords": [
"box",
"platform",
"api",
"documentation"
],
"author": "Box <[email protected]>",
"license": "Apache-2.0",
"private": true,
"scripts": {
"lint": "yarn lint:all",
"ci": "yarn lint:ci",
"test": "jest ./tests",
"lint:all": "concurrently 'yarn lint:ci' 'yarn lint:yaml'",
"lint:ci": "concurrently 'yarn lint:links' 'yarn lint:markdown' 'yarn lint:spelling' '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:all' src content --interval=1",
"watch:test": "watch 'yarn test' 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()' --no-warnings",
"build:guides": "node -e 'require(\"./src/markdown\").writeGuides()'",
"build:pages": "node -e 'require(\"./src/markdown\").writePages()'",
"build:actions": "cp -rf .github ./compiled",
"postbuild": "yarn optimize:images",
"optimize:images": "node src/images/optimize.js",
"start": "yarn watch:content",
"develop": "concurrently 'yarn watch:test'",
"new": "yarn new:guide",
"new:guide": "yarn new:guide:example",
"new:guide:example": "node -e 'require(\"./src/scripts/from-template\").run(\"template.md\", \"guides\")'",
"new:guide:empty": "node -e 'require(\"./src/scripts/from-template\").run(\"template-empty.md\", \"guides\")'",
"new:page": "yarn new:page:example",
"new:page:example": "node -e 'require(\"./src/scripts/from-template\").run(\"template.md\", \"pages\")'",
"new:page:empty": "node -e 'require(\"./src/scripts/from-template\").run(\"template-empty.md\", \"pages\")'"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.1",
"alex": "^9.0.1",
"axios": "^0.21.1",
"comment-json": "^4.0.4",
"concurrently": "^5.3.0",
"dot-prop": "^6.0.0",
"fs-extra": "^9.0.0",
"glob": "^7.1.6",
"jest": "^26.6.3",
"js-yaml": "^3.13.1",
"jsonpath": "^1.0.2",
"markdown-spellcheck": "^1.3.1",
"markdownlint-cli": "^0.25.0",
"sha1-from-file": "^2.0.1",
"sharp": "^0.26.2",
"strip-indent": "^3.0.0",
"watch": "^1.0.2"
}
}