forked from stellar/stellar-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.83 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
{
"name": "stellar-docs",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"api:clean": "docusaurus clean-api-docs -p openapi all && docusaurus clean-api-docs -p platformapis all",
"api:bundle": "yarn bundle-horizon && yarn bundle-anchor-platform && yarn bundle-stellar-disbursement-platform",
"bundle-horizon": "redocly bundle openapi/horizon/main.yml --output openapi/horizon/bundled.yml",
"bundle-anchor-platform": "redocly bundle openapi/anchor-platform/Platform\\ API.yml --output openapi/anchor-platform/bundled.yml && yarn redocly bundle openapi/anchor-platform/Callbacks\\ API.yml --output openapi/anchor-platform/bundled_callback.yml && yarn redocly bundle openapi/anchor-platform/Custody\\ API.yml --output openapi/anchor-platform/bundled_custody.yml",
"bundle-stellar-disbursement-platform": "redocly bundle openapi/stellar-disbursement-platform/main.yml --output openapi/stellar-disbursement-platform/bundled.yml",
"api:gen": "docusaurus gen-api-docs -p openapi all && docusaurus gen-api-docs -p platformapis all && rm docs/data/horizon/api-reference/resources/*.info.mdx && rm platforms/anchor-platform/api-reference/resources/*.info.mdx && rm platforms/anchor-platform/api-reference/callbacks/*.info.mdx && rm platforms/stellar-disbursement-platform/api-reference/resources/*.info.mdx && rm platforms/anchor-platform/api-reference/custody-server/*.info.mdx",
"api": "yarn api:clean && yarn api:bundle && yarn api:gen",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"format:mdx": "prettier --write \"{docs,src/pages}/**/*.{md,mdx}\"",
"check:mdx": "prettier -c \"{docs,src/pages}/**/*.{md,mdx}\"",
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky",
"postinstall": "patch-package",
"rpcspec:build": "node openrpc/scripts/build.mjs",
"rpcspec:validate": "node openrpc/scripts/build.mjs && node openrpc/scripts/validate.mjs",
"stellar-cli:build": "node scripts/stellar_cli.mjs"
},
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/remark-plugin-npm2yarn": "3.4.0",
"@docusaurus/theme-mermaid": "3.4.0",
"@mdx-js/react": "^3.0.0",
"@metamask/open-rpc-docs-react": "^0.1.2",
"@open-rpc/meta-schema": "^1.14.9",
"@open-rpc/schema-utils-js": "^1.16.2",
"ajv": "^8.16.0",
"axios": "^1.6.8",
"canvas-embed": "^1.0.80",
"clsx": "^2.0.0",
"docusaurus-plugin-openapi-docs": "^3.0.1",
"docusaurus-plugin-sentry": "^2.0.0",
"docusaurus-theme-openapi-docs": "^3.0.1",
"patch-package": "^8.0.0",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rehype-katex": "^7.0.0",
"remark-math": "^6.0.0"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@docusaurus/eslint-plugin": "3.4.0",
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/tsconfig": "3.4.0",
"@docusaurus/types": "3.4.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.6.0",
"@redocly/cli": "^1.17.0",
"@stellar/prettier-config": "^1.2.0",
"eslint": "^9.6.0",
"husky": "^9.0.11",
"prettier": "^3.3.2",
"react-player": "^2.16.0",
"typescript": "~5.2.2"
},
"engines": {
"node": ">=18"
},
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}