2020-05-14 13:41:38 +00:00
|
|
|
{
|
2021-12-25 15:44:24 +00:00
|
|
|
"name": "@hedgedoc/react-client",
|
|
|
|
"version": "0.0.1",
|
2021-04-10 14:39:12 +00:00
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2021-12-25 15:44:24 +00:00
|
|
|
"build": "next build",
|
2022-02-06 19:38:40 +00:00
|
|
|
"build:netlify": "bash netlify/patch-files.sh && cross-env NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG=true yarn build:mock",
|
2021-12-25 15:44:24 +00:00
|
|
|
"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",
|
2021-11-19 17:04:04 +00:00
|
|
|
"format": "prettier -c \"src/**/*.{ts,tsx,js}\" \"cypress/**/*.{ts,tsx}\"",
|
|
|
|
"format:fix": "prettier -w \"src/**/*.{ts,tsx,js}\" \"cypress/**/*.{ts,tsx}\"",
|
2021-12-25 15:44:24 +00:00
|
|
|
"lint": "eslint --max-warnings=0 --ext .ts,.tsx src",
|
|
|
|
"lint:fix": "eslint --fix --ext .ts,.tsx src",
|
|
|
|
"start": "cross-env PORT=3001 next start",
|
2022-04-15 21:03:15 +00:00
|
|
|
"start:mock": "cross-env PORT=3001 NEXT_PUBLIC_USE_MOCK_API=true next start",
|
2021-12-25 15:44:24 +00:00
|
|
|
"start:ci": "cross-env NEXT_PUBLIC_USE_MOCK_API=true NEXT_PUBLIC_TEST_MODE=true PORT=3001 next start",
|
2021-04-10 14:39:12 +00:00
|
|
|
"cy:open": "cypress open",
|
|
|
|
"cy:run:chrome": "cypress run --browser chrome",
|
2021-12-25 15:44:24 +00:00
|
|
|
"cy:run:firefox": "cypress run --browser firefox",
|
|
|
|
"test": "jest --watch",
|
|
|
|
"test:ci": "jest --ci"
|
2021-06-06 21:14:00 +00:00
|
|
|
},
|
2021-04-10 14:39:12 +00:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
2021-12-25 15:44:24 +00:00
|
|
|
"dependencies": {
|
2022-04-30 14:20:41 +00:00
|
|
|
"@codemirror/lang-markdown": "0.20.0",
|
|
|
|
"@codemirror/language-data": "0.20.0",
|
|
|
|
"@codemirror/theme-one-dark": "0.20.0",
|
2022-05-07 16:01:17 +00:00
|
|
|
"@fontsource/source-sans-pro": "4.5.9",
|
2022-05-07 16:31:54 +00:00
|
|
|
"@hedgedoc/html-to-react": "1.3.0",
|
2021-12-19 16:28:25 +00:00
|
|
|
"@hedgedoc/markdown-it-image-size": "1.0.3",
|
2021-12-20 10:24:41 +00:00
|
|
|
"@hedgedoc/markdown-it-task-lists": "1.0.3",
|
2021-11-02 07:15:33 +00:00
|
|
|
"@matejmazur/react-katex": "3.1.3",
|
2022-04-14 19:41:48 +00:00
|
|
|
"@react-hook/resize-observer": "1.2.5",
|
2022-04-30 13:09:22 +00:00
|
|
|
"@redux-devtools/core": "3.12.0",
|
2022-05-01 13:00:33 +00:00
|
|
|
"@reduxjs/toolkit": "1.8.1",
|
2022-02-05 00:57:33 +00:00
|
|
|
"@svgr/webpack": "6.2.1",
|
2022-04-30 12:56:38 +00:00
|
|
|
"@uiw/react-codemirror": "4.7.0",
|
2022-03-26 02:45:03 +00:00
|
|
|
"abcjs": "6.0.2",
|
2021-10-29 18:27:32 +00:00
|
|
|
"bootstrap": "4.6.1",
|
2022-02-05 18:35:18 +00:00
|
|
|
"copy-webpack-plugin": "10.2.4",
|
2021-04-10 14:39:12 +00:00
|
|
|
"cross-env": "7.0.3",
|
2022-04-10 11:16:09 +00:00
|
|
|
"d3-graphviz": "4.1.1",
|
2022-04-15 21:03:15 +00:00
|
|
|
"deepmerge": "4.2.2",
|
2021-10-24 17:10:44 +00:00
|
|
|
"diff": "5.0.0",
|
2022-02-20 19:53:55 +00:00
|
|
|
"dompurify": "2.3.6",
|
2022-04-16 02:37:48 +00:00
|
|
|
"emoji-picker-element": "1.11.3",
|
2021-12-25 15:46:48 +00:00
|
|
|
"emoji-picker-element-data": "1.3.0",
|
2021-10-24 17:10:44 +00:00
|
|
|
"fast-deep-equal": "3.1.3",
|
2021-12-11 08:41:12 +00:00
|
|
|
"firacode": "6.2.0",
|
2022-02-05 17:54:21 +00:00
|
|
|
"flowchart.js": "1.17.1",
|
2021-10-24 17:10:44 +00:00
|
|
|
"fork-awesome": "1.2.0",
|
2022-04-15 08:55:39 +00:00
|
|
|
"highlight.js": "11.5.1",
|
2022-05-07 16:07:54 +00:00
|
|
|
"i18next": "21.7.1",
|
2022-04-02 01:05:23 +00:00
|
|
|
"i18next-browser-languagedetector": "6.1.4",
|
2021-10-24 17:10:44 +00:00
|
|
|
"i18next-resources-to-backend": "1.0.0",
|
|
|
|
"js-yaml": "4.1.0",
|
2022-03-20 21:21:55 +00:00
|
|
|
"katex": "0.15.3",
|
2022-04-26 12:40:49 +00:00
|
|
|
"luxon": "2.3.2",
|
2022-05-07 16:04:38 +00:00
|
|
|
"markdown-it": "13.0.1",
|
2021-10-24 17:10:44 +00:00
|
|
|
"markdown-it-abbr": "1.0.4",
|
2022-05-07 16:06:11 +00:00
|
|
|
"markdown-it-anchor": "8.6.3",
|
2021-10-24 17:10:44 +00:00
|
|
|
"markdown-it-container": "3.0.0",
|
|
|
|
"markdown-it-deflist": "2.1.0",
|
2022-04-26 12:36:18 +00:00
|
|
|
"markdown-it-emoji": "2.0.2",
|
2021-10-24 17:10:44 +00:00
|
|
|
"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",
|
2021-12-04 16:16:05 +00:00
|
|
|
"markmap-common": "0.1.6",
|
|
|
|
"markmap-lib": "0.12.0",
|
|
|
|
"markmap-view": "0.2.7",
|
2022-04-26 12:40:39 +00:00
|
|
|
"mermaid": "9.0.1",
|
2022-05-07 16:35:17 +00:00
|
|
|
"next": "12.1.6",
|
2021-10-24 22:13:40 +00:00
|
|
|
"optional-js": "2.3.0",
|
2022-04-30 12:56:29 +00:00
|
|
|
"react": "18.1.0",
|
2021-10-24 17:10:44 +00:00
|
|
|
"react-bootstrap": "1.6.4",
|
2022-02-19 21:45:34 +00:00
|
|
|
"react-bootstrap-typeahead": "5.2.2",
|
2021-10-24 17:10:44 +00:00
|
|
|
"react-diff-viewer": "3.1.1",
|
2022-04-30 12:56:29 +00:00
|
|
|
"react-dom": "18.1.0",
|
2022-05-07 16:07:54 +00:00
|
|
|
"react-i18next": "11.16.9",
|
2022-04-26 12:42:23 +00:00
|
|
|
"react-redux": "8.0.1",
|
2022-01-01 00:55:21 +00:00
|
|
|
"react-use": "17.3.2",
|
2022-04-30 01:51:06 +00:00
|
|
|
"redux": "4.2.0",
|
2022-03-27 19:44:08 +00:00
|
|
|
"reveal.js": "4.3.1",
|
2021-10-24 17:10:44 +00:00
|
|
|
"sanitize-filename": "1.6.3",
|
2022-04-26 20:44:51 +00:00
|
|
|
"sass": "1.51.0",
|
2022-04-26 21:12:08 +00:00
|
|
|
"sharp": "0.30.4",
|
2021-10-24 17:10:44 +00:00
|
|
|
"twemoji-colr-font": "0.0.4",
|
|
|
|
"uuid": "8.3.2",
|
2022-03-26 02:48:33 +00:00
|
|
|
"vega": "5.22.1",
|
2022-02-20 19:54:32 +00:00
|
|
|
"vega-embed": "6.20.8",
|
2021-11-30 03:07:18 +00:00
|
|
|
"vega-lite": "5.2.0",
|
2021-10-24 17:10:44 +00:00
|
|
|
"words-count": "2.0.2"
|
2021-12-25 15:44:24 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-05-07 16:35:17 +00:00
|
|
|
"@next/bundle-analyzer": "12.1.6",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@testing-library/cypress": "8.0.2",
|
2022-04-09 00:26:22 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.4",
|
2022-05-07 16:02:41 +00:00
|
|
|
"@testing-library/react": "13.2.0",
|
2022-04-17 10:35:26 +00:00
|
|
|
"@testing-library/user-event": "14.1.1",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/d3-graphviz": "2.6.7",
|
|
|
|
"@types/diff": "5.0.2",
|
2022-01-15 01:57:21 +00:00
|
|
|
"@types/dompurify": "2.3.3",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/js-yaml": "4.0.5",
|
2022-05-07 16:01:54 +00:00
|
|
|
"@types/luxon": "2.3.2",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/markdown-it": "12.2.3",
|
2022-01-22 09:57:50 +00:00
|
|
|
"@types/markdown-it-container": "2.0.5",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/markdown-it-plantuml": "1.4.1",
|
2022-03-26 02:44:04 +00:00
|
|
|
"@types/mermaid": "8.2.9",
|
2022-05-07 16:01:54 +00:00
|
|
|
"@types/node": "16.11.33",
|
|
|
|
"@types/react": "18.0.9",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/react-bootstrap-typeahead": "5.1.8",
|
2022-04-30 13:21:29 +00:00
|
|
|
"@types/react-dom": "18.0.3",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/sass": "1.43.1",
|
2022-01-08 12:31:27 +00:00
|
|
|
"@types/uuid": "8.3.4",
|
2022-05-07 16:35:01 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.22.0",
|
|
|
|
"@typescript-eslint/parser": "5.22.0",
|
2022-04-30 12:56:55 +00:00
|
|
|
"cypress": "9.6.0",
|
2021-12-25 15:44:24 +00:00
|
|
|
"cypress-commands": "2.0.1",
|
2022-02-13 11:14:01 +00:00
|
|
|
"cypress-fill-command": "1.0.2",
|
2022-05-07 16:35:01 +00:00
|
|
|
"eslint": "8.15.0",
|
|
|
|
"eslint-config-next": "12.1.6",
|
2022-03-05 19:40:00 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2021-12-25 15:44:24 +00:00
|
|
|
"eslint-plugin-chai-friendly": "0.7.2",
|
|
|
|
"eslint-plugin-cypress": "2.12.1",
|
|
|
|
"eslint-plugin-node": "11.1.0",
|
2021-12-30 13:45:18 +00:00
|
|
|
"eslint-plugin-promise": "6.0.0",
|
2022-05-07 16:35:01 +00:00
|
|
|
"eslint-plugin-testing-library": "5.4.0",
|
2022-05-07 16:32:45 +00:00
|
|
|
"jest": "28.1.0",
|
|
|
|
"jest-environment-jsdom": "28.1.0",
|
2022-05-07 15:59:37 +00:00
|
|
|
"netlify-cli": "10.3.0",
|
2022-04-02 17:21:35 +00:00
|
|
|
"prettier": "2.6.2",
|
2022-04-30 12:56:29 +00:00
|
|
|
"react-test-renderer": "18.1.0",
|
2021-12-25 15:44:24 +00:00
|
|
|
"redux-devtools-extension": "2.13.9",
|
2022-04-30 12:57:03 +00:00
|
|
|
"ts-loader": "9.3.0",
|
2021-12-25 15:44:24 +00:00
|
|
|
"ts-mockery": "1.2.0",
|
2022-03-12 14:05:14 +00:00
|
|
|
"ts-node": "10.7.0",
|
2022-04-30 12:58:46 +00:00
|
|
|
"typescript": "4.6.4"
|
2021-12-30 17:45:04 +00:00
|
|
|
},
|
2022-02-27 17:18:51 +00:00
|
|
|
"packageManager": "yarn@3.2.0"
|
2020-05-14 13:41:38 +00:00
|
|
|
}
|