forked from w3f/polkadot-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 3.28 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
{
"scripts": {
"start": "yarn polkadot:start",
"kusama:start": "yarn mirror; yarn copy:translations; cd kusama-guide; docusaurus-start",
"kusama:build": "BUILDING=true; yarn mirror; yarn copy:translations; cd kusama-guide; docusaurus-build; node ./postprocess",
"kusama:inject": "node --experimental-json-modules scripts/inject.mjs --rootDir kusama-guide/build/kusama-guide-hosting",
"kusama:publish-gh-pages": "yarn mirror; PUBLISHING=true; cd kusama-guide; docusaurus-publish",
"kusama:pdf": "yarn mr-pdf --initialDocsURL=\"http://localhost:3000/docs/en/kusama-index\" --paginationSelector=\".docs-next.button\" --excludeSelectors=\".docs-prevnext\" --pdfFormat=\"A4\" --outputPDFFilename=\"kusama-guide/static/kusama-wiki.pdf\" --pdfMargin=\"30, 5, 10, 5\"",
"kusama:remove": "node --experimental-json-modules scripts/removeUneeded.mjs ksm",
"polkadot:start": "yarn generateRegistryTable; yarn mirror; cd website; docusaurus-start",
"polkadot:build": "yarn generateRegistryTable; BUILDING=true; cd website; docusaurus-build; node ./postprocess",
"polkadot:inject": "node --experimental-json-modules scripts/inject.mjs --rootDir website/build/polkadot-wiki --node wss://rpc.polkadot.io",
"polkadot:publish-gh-pages": "yarn mirror; PUBLISHING=true; cd website; docusaurus-publish",
"polkadot:pdf": "yarn mr-pdf --initialDocsURL=\"http://localhost:3000/docs/en/getting-started\" --paginationSelector=\".docs-next.button\" --excludeSelectors=\".docs-prevnext,.navigationSlider,#klaro,#footer\" --pdfFormat=\"A4\" --outputPDFFilename=\"website/static/polkadot-wiki.pdf\" --pdfMargin=\"30, 5, 10, 5\"",
"polkadot:uploadPdf": "node --experimental-json-modules scripts/ipfs-upload-pdf.mjs",
"polkadot:remove": "node --experimental-json-modules scripts/removeUneeded.mjs dot",
"mirror": "node --experimental-json-modules scripts/mirror.mjs",
"copy:translations": "cp -R website/translated_docs kusama-guide ",
"publish-gh-pages": "cd website; docusaurus-publish",
"write-translations": "docusaurus-write-translations",
"version": "docusaurus-version",
"rename-version": "docusaurus-rename-version",
"crowdin-upload": "crowdin --config ../crowdin.yaml upload sources --auto-update -b master",
"crowdin-download": "crowdin --config ../crowdin.yaml download -b master",
"postinstall": "patch-package",
"generateRegistryTable": "node --experimental-json-modules scripts/generateRegistryTable.mjs > docs/build-ss58-registry.md; npx prettier docs/build-ss58-registry.md --write",
"generateErrorTable": "node --experimental-json-modules scripts/generateErrorTable.mjs >> docs/maintain-errors.md ; npx prettier docs/maintain-errors.md --write"
},
"devDependencies": {
"docusaurus": "^1.14.7"
},
"dependencies": {
"@actions/core": "^1.2.7",
"@actions/github": "^4.0.0",
"@octokit/rest": "^18.5.2",
"@polkadot/api": "^4.5.1",
"@polkadot/keyring": "^6.1.1",
"axios": "^0.21.1",
"fs-extra": "^9.1.0",
"ipfs-http-client": "^49.0.4",
"katex": "^0.13.2",
"mr-pdf": "^0.2.3",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.2.1",
"react-bootstrap": "^1.5.2",
"remarkable-katex": "^1.1.7",
"replace-in-file": "^6.2.0",
"semver": "^7.3.4",
"yargs": "^16.2.0"
}
}