{ "name": "@hedgedoc/react-client", "version": "0.0.1", "license": "AGPL-3.0", "scripts": { "build": "next build", "build:netlify": "bash netlify/patch-files.sh && cross-env NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG=true yarn build:mock", "build:mock": "cross-env NEXT_PUBLIC_USE_MOCK_API=true next build", "build:test": "cross-env NEXT_PUBLIC_USE_MOCK_API=true NEXT_PUBLIC_TEST_MODE=true next build", "analyze": "cross-env ANALYZE=true next build", "dev": "cross-env PORT=3001 next dev", "dev:test": "cross-env PORT=3001 NEXT_PUBLIC_TEST_MODE=true next dev", "dev:for-real-backend": "cross-env PORT=3001 NEXT_PUBLIC_USE_MOCK_API=false NEXT_PUBLIC_BACKEND_BASE_URL=http://localhost:3000/ next dev", "format": "prettier -c \"src/**/*.{ts,tsx,js}\" \"cypress/**/*.{ts,tsx}\"", "format:fix": "prettier -w \"src/**/*.{ts,tsx,js}\" \"cypress/**/*.{ts,tsx}\"", "lint": "eslint --max-warnings=0 --ext .ts,.tsx src", "lint:fix": "eslint --fix --ext .ts,.tsx src", "start": "cross-env PORT=3001 next start", "start:mock": "cross-env PORT=3001 NEXT_PUBLIC_USE_MOCK_API=true next start", "start:ci": "cross-env NEXT_PUBLIC_USE_MOCK_API=true NEXT_PUBLIC_TEST_MODE=true PORT=3001 next start", "cy:open": "cypress open", "cy:run:chrome": "cypress run --browser chrome", "cy:run:firefox": "cypress run --browser firefox", "test": "jest --watch", "test:ci": "jest --ci" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "dependencies": { "@codemirror/lang-markdown": "0.20.0", "@codemirror/language-data": "0.20.0", "@codemirror/theme-one-dark": "0.20.0", "@fontsource/source-sans-pro": "4.5.9", "@hedgedoc/html-to-react": "1.2.0", "@hedgedoc/markdown-it-image-size": "1.0.3", "@hedgedoc/markdown-it-task-lists": "1.0.3", "@matejmazur/react-katex": "3.1.3", "@react-hook/resize-observer": "1.2.5", "@redux-devtools/core": "3.12.0", "@reduxjs/toolkit": "1.8.1", "@svgr/webpack": "6.2.1", "@uiw/react-codemirror": "4.7.0", "abcjs": "6.0.2", "bootstrap": "4.6.1", "copy-webpack-plugin": "10.2.4", "cross-env": "7.0.3", "d3-graphviz": "4.1.1", "deepmerge": "4.2.2", "diff": "5.0.0", "dompurify": "2.3.6", "emoji-picker-element": "1.11.3", "emoji-picker-element-data": "1.3.0", "fast-deep-equal": "3.1.3", "firacode": "6.2.0", "flowchart.js": "1.17.1", "fork-awesome": "1.2.0", "highlight.js": "11.5.1", "i18next": "21.6.16", "i18next-browser-languagedetector": "6.1.4", "i18next-resources-to-backend": "1.0.0", "js-yaml": "4.1.0", "katex": "0.15.3", "luxon": "2.3.2", "markdown-it": "13.0.1", "markdown-it-abbr": "1.0.4", "markdown-it-anchor": "8.6.3", "markdown-it-container": "3.0.0", "markdown-it-deflist": "2.1.0", "markdown-it-emoji": "2.0.2", "markdown-it-footnote": "3.0.3", "markdown-it-ins": "3.0.1", "markdown-it-mark": "3.0.1", "markdown-it-mathjax": "2.0.0", "markdown-it-plantuml": "1.4.1", "markdown-it-regex": "0.2.0", "markdown-it-sub": "1.0.0", "markdown-it-sup": "1.0.0", "markdown-it-task-lists": "2.1.1", "markdown-it-toc-done-right": "4.2.0", "markmap-common": "0.1.6", "markmap-lib": "0.12.0", "markmap-view": "0.2.7", "mermaid": "9.0.1", "next": "12.1.5", "optional-js": "2.3.0", "react": "18.1.0", "react-bootstrap": "1.6.4", "react-bootstrap-typeahead": "5.2.2", "react-diff-viewer": "3.1.1", "react-dom": "18.1.0", "react-i18next": "11.16.7", "react-redux": "8.0.1", "react-use": "17.3.2", "redux": "4.2.0", "reveal.js": "4.3.1", "sanitize-filename": "1.6.3", "sass": "1.51.0", "sharp": "0.30.4", "twemoji-colr-font": "0.0.4", "uuid": "8.3.2", "vega": "5.22.1", "vega-embed": "6.20.8", "vega-lite": "5.2.0", "words-count": "2.0.2" }, "devDependencies": { "@next/bundle-analyzer": "12.1.5", "@testing-library/cypress": "8.0.2", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "14.1.1", "@types/d3-graphviz": "2.6.7", "@types/diff": "5.0.2", "@types/dompurify": "2.3.3", "@types/js-yaml": "4.0.5", "@types/luxon": "2.3.2", "@types/markdown-it": "12.2.3", "@types/markdown-it-container": "2.0.5", "@types/markdown-it-plantuml": "1.4.1", "@types/mermaid": "8.2.9", "@types/node": "16.11.33", "@types/react": "18.0.9", "@types/react-bootstrap-typeahead": "5.1.8", "@types/react-dom": "18.0.3", "@types/sass": "1.43.1", "@types/uuid": "8.3.4", "@typescript-eslint/eslint-plugin": "5.21.0", "@typescript-eslint/parser": "5.21.0", "cypress": "9.6.0", "cypress-commands": "2.0.1", "cypress-fill-command": "1.0.2", "eslint": "8.14.0", "eslint-config-next": "12.1.5", "eslint-config-prettier": "8.5.0", "eslint-plugin-chai-friendly": "0.7.2", "eslint-plugin-cypress": "2.12.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "6.0.0", "eslint-plugin-testing-library": "5.3.1", "jest": "28.0.3", "jest-environment-jsdom": "28.0.2", "netlify-cli": "10.3.0", "prettier": "2.6.2", "react-test-renderer": "18.1.0", "redux-devtools-extension": "2.13.9", "ts-loader": "9.3.0", "ts-mockery": "1.2.0", "ts-node": "10.7.0", "typescript": "4.6.4" }, "packageManager": "yarn@3.2.0" }