-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 3.46 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 3.46 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "bloom-docs",
"version": "0.0.0",
"private": true,
"scripts": {
"simulate-locally": "pnpm pull && pnpm make-pdf && pnpm crowdin:sync && pnpm serve",
"docusaurus": "docusaurus",
"start": "pnpm copy-static-docs && docusaurus start",
"build": "pnpm copy-static-docs && docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "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": "pnpm 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": "pnpm clear && cross-var docu-notion -n $SIL_BLOOM_DOCS_NOTION_TOKEN -r $SIL_BLOOM_DOCS_NOTION_ROOT_PAGE --status-tag test --log-level debug",
"ref-docs": "bash ref-docs/run-ref-docs.sh",
"ref-docs:incremental": "bash ref-docs/run-ref-docs.sh --incremental",
"ref-docs:clear": "rimraf ./ref-docs/downloads ./ref-docs/previous-downloads.json ./docs/ref-docs ./static/ref-docs-assets",
"copy-static-docs": "cp ./static-docs/*.* ./docs",
"docu-pdf": "docu-pdf",
"make-pdf": "bash make-pdf.sh http://localhost:3000",
"make-pdf:live": "bash make-pdf.sh https://docs.bloomlibrary.org",
"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": "3.10.1",
"@docusaurus/plugin-ideal-image": "3.10.1",
"@docusaurus/preset-classic": "3.10.1",
"@docusaurus/theme-common": "3.10.1",
"@mdx-js/react": "3.1.1",
"clsx": "2.1.1",
"cross-var": "1.1.0",
"docu-pdf": "1.6.1",
"node-fetch": "2.7.0",
"prism-react-renderer": "2.4.1",
"puppeteer": "22.15.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-player": "2.12.0",
"rimraf": "6.1.3"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.10.1",
"@docusaurus/tsconfig": "3.10.1",
"@sillsdev/docu-notion": "1.0.0-alpha.7",
"@types/jsdom": "27.0.0",
"@types/turndown": "5.0.6",
"@types/xml2js": "0.4.14",
"jsdom": "27.4.0",
"ts-node": "10.9.2",
"turndown": "7.2.4",
"typescript": "5.9.3",
"xml2js": "0.6.2"
},
"engines": {
"node": "24.15.0",
"pnpm": "10.33.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": "pnpm@10.33.4",
"volta": {
"node": "24.15.0",
"pnpm": "10.33.4"
}
}