From 14b8603164186a035f2981dd951a15786bdf7b42 Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Wed, 6 Dec 2023 10:22:20 -0500 Subject: [PATCH] wip remove yarn --- docs/docusaurus.config.js | 4 ++-- docs/package.json | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index b284b55276..bb1b698515 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -1,8 +1,8 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion -const lightCodeTheme = require('prism-react-renderer/themes/github'); -const darkCodeTheme = require('prism-react-renderer/themes/dracula'); +const lightCodeTheme = require('prism-react-renderer').themes.github; +const darkCodeTheme = require('prism-react-renderer').themes.dracula; /** @type {import('@docusaurus/types').Config} */ const config = { diff --git a/docs/package.json b/docs/package.json index 4b60ed9fed..2048711a6a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,6 +3,10 @@ "version": "0.0.1", "private": false, "scripts": { + "start": "npm run start", + "build": "npm run build", + "deploy": "npm run deploy", + "serve": "npm run serve" }, "dependencies": { "@cmfcmf/docusaurus-search-local": "^1.1.0",