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",