Skip to content

Commit

Permalink
chore: update docusaurus template (#2104)
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <aeneasr@users.noreply.github.com>

Co-authored-by: aeneasr <aeneasr@users.noreply.github.com>
  • Loading branch information
aeneasr and aeneasr authored Oct 6, 2020
1 parent 6f51702 commit cf358c5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "docusaurus-template",
"version": "0.0.0",
"private": true,
"prettier": "ory-prettier-styles",
"consts": {
"prettierTarget": "{docs/**,docs,scripts,static,contrib}/*.{md,mdx,json,js,css,html}|*.{js,md}",
"prettierArgs": "--no-semi --single-quote --trailing-comma none"
"prettierTarget": "{docs/**,docs,scripts,static,contrib}/*.{md,mdx,json,js,css,html}|*.{js,md}"
},
"scripts": {
"gen": "npm run widdershins && cd .. && node ./docs/scripts/fix-api.js ./docs/docs/reference/api.mdx && node ./docs/scripts/config.js docs/config.js",
Expand All @@ -15,8 +15,8 @@
"swizzle": "docusaurus swizzle",
"serve": "docusaurus serve",
"deploy": "docusaurus deploy",
"format": "prettier --write ${npm_package_consts_prettierTarget} ${npm_package_consts_prettierArgs} || true",
"format:check": "prettier --check ${npm_package_consts_prettierTarget} ${npm_package_consts_prettierArgs}",
"format": "prettier --write ${npm_package_consts_prettierTarget}",
"format:check": "prettier --check ${npm_package_consts_prettierTarget}",
"postinstall": "patch-package"
},
"dependencies": {
Expand Down Expand Up @@ -50,6 +50,7 @@
"devDependencies": {
"json-schema-faker": "0.5.0-rcv.25",
"json-schema-ref-parser": "8.0.0",
"ory-prettier-styles": "^1.0.1",
"patch-package": "^6.2.2",
"prettier": "2.0.2",
"ramda": "0.27.0",
Expand Down

0 comments on commit cf358c5

Please sign in to comment.