-
Notifications
You must be signed in to change notification settings - Fork 136
/
package.json
80 lines (80 loc) · 3.37 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
{
"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 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 all && rm api/horizon/resources/*.info.mdx && rm api/anchor-platform/resources/*.info.mdx && rm api/anchor-platform/callbacks/*.info.mdx && rm api/stellar-disbursement-platform/resources/*.info.mdx && rm api/anchor-platform/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/**/*.{md,mdx}\"",
"check:mdx": "prettier -c \"docs/**/*.{md,mdx}\"",
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install"
},
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/plugin-google-analytics": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.1",
"@mdx-js/react": "^1.6.22",
"@metamask/open-rpc-docs-react": "^0.1.2",
"clsx": "^1.2.1",
"docusaurus-plugin-openapi-docs": "^1.7.2",
"docusaurus-plugin-sass": "^0.2.2",
"docusaurus-plugin-sentry": "^1.0.0",
"docusaurus-theme-openapi-docs": "^1.7.2",
"hast-util-is-element": "1.1.0",
"mdx-mermaid": "^1.3.2",
"mermaid": "^8.11.5",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"redocusaurus": "^1.4.0",
"rehype-katex": "5",
"remark-math": "3",
"sass": "^1.55.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": "^2.1.0",
"@redocly/cli": "^1.0.0-beta.125",
"@stellar/eslint-config": "^2.1.2",
"@stellar/prettier-config": "^1.0.1",
"@stellar/tsconfig": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"husky": "^8.0.0",
"prettier": "^2.7.1",
"typescript": "^4.8.2"
}
}