-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
68 lines (68 loc) · 2.84 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
{
"name": "bloom-docs",
"version": "0.0.0",
"private": true,
"scripts": {
"simulate-locally": "yarn pull && yarn make-pdf && yarn crowdin:sync && yarn serve",
"docusaurus": "docusaurus",
"start": "yarn copy-static-docs && docusaurus start",
"build": "yarn copy-static-docs && docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "yarn rimraf ./docs/ && docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"pull": "cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --require-slugs --locales en,fr",
"//clear-then-pull": "for a time, we were clearing by default but decided not to as a way to keep published pages published if their status changes (e.g. to ReadyForReview)",
"clear-then-pull": "yarn clear && cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --require-slugs --locales en,fr",
"pull-test-only": "yarn clear && cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --status-tag test --log-level debug",
"copy-static-docs": "cp ./static-docs/*.* ./docs",
"docu-pdf": "docu-pdf",
"make-pdf": "bash make-pdf.sh",
"pull-to-test-docs": "cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE -m \"./testdocs\" --status-tag test --log-level debug",
"crowdin": "crowdin",
"//pretranslate": " used to re-apply translations when files are renamed or reorganized",
"crowdin:pretranslate": "crowdin pre-translate --method tm --translate-untranslated-only --translate-with-perfect-match-only --verbose",
"crowdin:sync": "docusaurus write-translations && crowdin upload sources --delete-obsolete && crowdin download"
},
"dependencies": {
"@crowdin/cli": "3.19.4",
"@docusaurus/core": "^2.1.0",
"@docusaurus/plugin-ideal-image": "^2.1.0",
"@docusaurus/preset-classic": "^2.1.0",
"@easyops-cn/docusaurus-search-local": "^0.41.0",
"@mdx-js/react": "^1",
"clsx": "^1.1.1",
"cross-var": "^1.1.0",
"docu-pdf": "^1.3.0",
"prism-react-renderer": "^1.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-player": "^2.10.1",
"rimraf": "^4.1.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.1.0",
"@sillsdev/docu-notion": "0.16.1",
"@tsconfig/docusaurus": "^1.0.6",
"typescript": "^4.6.4"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"packageManager": "yarn@1.22.19",
"volta": {
"node": "18.16.0",
"yarn": "1.22.22"
}
}