forked from w3f/polkadot-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.61 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
{
"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 scripts/inject.js --rootDir kusama-guide/build",
"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 scripts/removeUneeded.js ksm",
"polkadot:start": "yarn mirror; cd website; docusaurus-start",
"polkadot:build": "BUILDING=true; cd website; docusaurus-build; node ./postprocess",
"polkadot:inject": "node scripts/inject.js --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/learn-introduction\" --paginationSelector=\".docs-next.button\" --excludeSelectors=\".docs-prevnext\" --pdfFormat=\"A4\" --outputPDFFilename=\"website/static/polkadot-wiki.pdf\" --pdfMargin=\"30, 5, 10, 5\"",
"polkadot:remove": "node scripts/removeUneeded.js dot",
"mirror": "node scripts/mirror.js",
"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"
},
"devDependencies": {
"docusaurus": "^1.14.6"
},
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@polkadot/keyring": "^3.7.1",
"@octokit/rest": "^18.0.9",
"@polkadot/api": "^2.8.1",
"axios": "^0.21.0",
"fs-extra": "^9.0.1",
"ipfs-http-client": "^48.1.2",
"katex": "^0.12.0",
"mr-pdf": "^0.2.3",
"patch-package": "^6.2.2",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.2.0",
"react-bootstrap": "^1.4.0",
"remarkable-katex": "^1.1.7",
"replace-in-file": "^6.1.0",
"semver": "^7.3.2",
"yargs": "^16.1.1"
}
}