forked from w3f/polkadot-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (105 loc) · 4.96 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"scripts": {
"kusama:clean": "shx rm -rf node_modules/.cache; docusaurus clear kusama-guide",
"kusama:test": "jest --env=jsdom",
"kusama:start": "docusaurus start kusama-guide",
"kusama:build": "cross-env BUILDING=true docusaurus build kusama-guide; node kusama-guide/postprocess",
"kusama:publish-gh-pages": "cross-env PUBLISHING=true docusaurus deploy kusama-guide",
"kusama:copy-assets": "shx mkdir -p kusama-guide/i18n/zh-CN/docusaurus-plugin-content-docs/current",
"kusama:i18n:download": "yarn polkadot:crowdin:download:zh-CN",
"kusama:i18n:copy-translations": "cp -R polkadot-wiki/i18n/zh-CN/docusaurus-plugin-content-docs/current kusama-guide/i18n/zh-CN/docusaurus-plugin-content-docs/current",
"kusama:pdf": "yarn pdf --initialDocURLs \"http://localhost:3000/docs/kusama-index\" --outputPDFFilename=\"kusama-guide/static/kusama-wiki.pdf\" --coverTitle=\"KUSAMA GUIDE\"",
"polkadot:clean": "shx rm -rf node_modules/.cache; docusaurus clear polkadot-wiki",
"polkadot:test": "jest --env=jsdom",
"polkadot:start": "docusaurus start polkadot-wiki",
"polkadot:build": "cross-env BUILDING=true docusaurus build polkadot-wiki; node polkadot-wiki/postprocess",
"polkadot:publish-gh-pages": "cross-env PUBLISHING=true docusaurus deploy polkadot-wiki",
"polkadot:pdf": "yarn pdf --initialDocURLs \"http://localhost:3000/docs/getting-started\" --outputPDFFilename=\"polkadot-wiki/static/polkadot-wiki.pdf\" --coverTitle=\"POLKADOT WIKI\"",
"copy:translations": "cp -R polkadot-wiki/translated_docs kusama-guide ",
"publish-gh-pages": "cd polkadot-wiki; docusaurus-publish",
"write-translations": "docusaurus-write-translations",
"version": "docusaurus-version",
"rename-version": "docusaurus-rename-version",
"crowdin-upload": "crowdin --config ../crowdin-docs-v1.yaml upload sources --auto-update -b master",
"crowdin-download": "crowdin --config ../crowdin-docs-v1.yaml download -b master",
"polkadot:crowdin:upload:source": "crowdin upload sources --config ./crowdin.yaml -b master",
"polkadot:crowdin:download:ru": "crowdin download --config ./crowdin.yaml -b master -l ru",
"polkadot:crowdin:download:zh-CN": "crowdin download --config ./crowdin.yaml -b master -l zh-CN",
"polkadot:copy-assets:ru": "shx mkdir -p polkadot-wiki/i18n/ru-RU/docusaurus-plugin-content-docs/current; shx cp -R docs/assets polkadot-wiki/i18n/ru-RU/docusaurus-plugin-content-docs/current",
"polkadot:copy-assets:zh-CN": "shx mkdir -p polkadot-wiki/i18n/zh-CN/docusaurus-plugin-content-docs/current; shx cp -R docs/assets polkadot-wiki/i18n/zh-CN/docusaurus-plugin-content-docs/current",
"pdf": "npx mr-pdf --contentSelector=\"article\" --paginationSelector=\".pagination-nav__item--next > a\" --pdfFormat=\"A4\" --pdfMargin=\"90,60,80,60\"",
"crowdin": "crowdin",
"docusaurus": "docusaurus",
"prepare": "husky install",
"update:auctions": "node ./components/utilities/updateAuctions.js",
"audit:links": "python ./scripts/auditLinks.py",
"audit:images": "python ./scripts/auditImages.py",
"prettier:all": "npx prettier --write ."
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@crowdin/cli": "^3.9.1",
"@docusaurus/core": "^2.1.0",
"@docusaurus/module-type-aliases": "^2.2.0",
"@docusaurus/plugin-client-redirects": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@octokit/rest": "^19.0.5",
"@polkadot/api": "^9.11.1",
"@polkadot/keyring": "10.1.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.0.4",
"axios": "^1.2.2",
"chalk": "^5.2.0",
"cloudflare": "^2.9.1",
"cross-env": "^7.0.3",
"fs-extra": "^11.1.0",
"husky": "^8.0.3",
"ipfs-http-client": "^57.0.3",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"katex": "^0.16.4",
"loud-rejection": "^2.2.0",
"mr-pdf": "^1.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.2",
"pretty-quick": "^3.1.3",
"react": "^17.0.2",
"react-bootstrap": "^2.7.0",
"react-dom": "^17.0.2",
"remarkable-katex": "^1.2.1",
"shx": "^0.3.4",
"unist-util-visit": "2.0.1",
"yargs": "^17.6.2"
},
"dependencies": {
"@algolia/client-search": "^4.14.3",
"@mdx-js/runtime": "^1.6.22",
"@polkadot/util": "10.1.1",
"@polkadot/util-crypto": "10.1.1",
"@polkadot/wasm-crypto": "^6.4.1",
"@polkadot/x-randomvalues": "*",
"@types/react": "^18.0.9",
"ansi-html": "^0.0.9",
"ansi-regex": "^6.0.1",
"browserslist": "^4.21.4",
"check-peer-dependencies": "^4.1.0",
"crowdin-cli": "^0.3.0",
"css-what": "^6.1.0",
"glob-parent": "^6.0.2",
"immer": "^9.0.17",
"node-fetch": "^3.3.0",
"node-forge": "^1.3.1",
"nth-check": "^2.1.1",
"react-treebeard": "^3.2.4",
"remark-docusaurus-tabs": "^0.2.0",
"set-value": "^4.1.0",
"trim": "^1.0.1",
"typescript": "^4.9.4"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}