2020-05-14 13:41:38 +00:00
|
|
|
{
|
2022-11-02 15:24:45 +00:00
|
|
|
"name": "@hedgedoc/frontend",
|
2022-11-11 09:31:57 +00:00
|
|
|
"version": "2.0.0-dev",
|
|
|
|
"private": true,
|
2021-04-10 14:39:12 +00:00
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2022-09-16 09:03:29 +00:00
|
|
|
"build": "cross-env NODE_ENV=production next build",
|
2021-12-25 15:44:24 +00:00
|
|
|
"build:mock": "cross-env NEXT_PUBLIC_USE_MOCK_API=true next build",
|
2022-09-16 09:03:29 +00:00
|
|
|
"build:test": "cross-env NODE_ENV=test NEXT_PUBLIC_TEST_MODE=true next build",
|
2022-10-02 19:59:42 +00:00
|
|
|
"analyze": "cross-env ANALYZE=true yarn build",
|
2021-12-25 15:44:24 +00:00
|
|
|
"dev": "cross-env PORT=3001 next dev",
|
2022-09-16 09:03:29 +00:00
|
|
|
"dev:test": "cross-env PORT=3001 NODE_ENV=test NEXT_PUBLIC_TEST_MODE=true next dev",
|
2022-11-20 19:59:16 +00:00
|
|
|
"dev:with-local-backend": "cross-env PORT=3001 NEXT_PUBLIC_USE_MOCK_API=false HD_EDITOR_BASE_URL=http://localhost:8080/ HD_RENDERER_BASE_URL=http://localhost:8080/ 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-09-16 09:03:29 +00:00
|
|
|
"start:ci": "cross-env NODE_ENV=test 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",
|
2022-09-16 09:03:29 +00:00
|
|
|
"test": "cross-env NODE_ENV=test jest --watch",
|
|
|
|
"test:ci": "cross-env NODE_ENV=test 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-12-18 20:01:50 +00:00
|
|
|
"@codemirror/autocomplete": "6.4.0",
|
2022-12-28 18:22:33 +00:00
|
|
|
"@codemirror/commands": "6.1.3",
|
2022-11-11 14:18:40 +00:00
|
|
|
"@codemirror/lang-markdown": "6.0.5",
|
2022-12-17 03:23:08 +00:00
|
|
|
"@codemirror/language": "6.3.2",
|
2022-06-18 02:38:04 +00:00
|
|
|
"@codemirror/language-data": "6.1.0",
|
2022-11-21 14:33:03 +00:00
|
|
|
"@codemirror/lint": "6.1.0",
|
2022-12-28 18:08:08 +00:00
|
|
|
"@codemirror/state": "6.2.0",
|
2022-09-12 10:52:56 +00:00
|
|
|
"@codemirror/theme-one-dark": "6.1.0",
|
2023-01-07 07:36:45 +00:00
|
|
|
"@codemirror/view": "6.7.2",
|
2022-08-13 12:13:38 +00:00
|
|
|
"@fontsource/source-sans-pro": "4.5.11",
|
2022-12-04 21:42:39 +00:00
|
|
|
"@hedgedoc/commons": "workspace:commons",
|
2022-07-30 00:35:57 +00:00
|
|
|
"@hedgedoc/html-to-react": "1.4.5",
|
2022-12-02 18:50:55 +00:00
|
|
|
"@hedgedoc/markdown-it-plugins": "2.0.0",
|
2022-10-23 22:16:27 +00:00
|
|
|
"@mrdrogdrog/optional": "1.0.0",
|
2022-07-30 00:36:18 +00:00
|
|
|
"@react-hook/resize-observer": "1.2.6",
|
2022-06-04 00:15:43 +00:00
|
|
|
"@redux-devtools/core": "3.13.1",
|
2022-12-03 21:28:05 +00:00
|
|
|
"@reduxjs/toolkit": "1.9.1",
|
2022-10-30 11:40:59 +00:00
|
|
|
"@svgr/webpack": "6.5.1",
|
2022-12-24 12:35:05 +00:00
|
|
|
"@types/katex": "0.16.0",
|
2022-12-30 09:37:30 +00:00
|
|
|
"@uiw/react-codemirror": "4.19.5",
|
2022-11-21 13:36:19 +00:00
|
|
|
"abcjs": "6.1.7",
|
2022-11-30 01:37:29 +00:00
|
|
|
"bootstrap": "5.2.3",
|
2022-05-21 12:17:09 +00:00
|
|
|
"copy-webpack-plugin": "11.0.0",
|
2021-04-10 14:39:12 +00:00
|
|
|
"cross-env": "7.0.3",
|
2022-12-28 17:54:24 +00:00
|
|
|
"d3-graphviz": "5.0.2",
|
2022-07-30 21:34:36 +00:00
|
|
|
"d3-selection": "3.0.0",
|
2022-04-15 21:03:15 +00:00
|
|
|
"deepmerge": "4.2.2",
|
2022-05-29 13:19:47 +00:00
|
|
|
"diff": "5.1.0",
|
2022-07-30 21:32:19 +00:00
|
|
|
"dom-serializer": "2.0.0",
|
|
|
|
"domhandler": "5.0.3",
|
2023-01-07 18:55:37 +00:00
|
|
|
"dompurify": "2.4.3",
|
2022-12-30 09:49:53 +00:00
|
|
|
"emoji-picker-element": "1.15.0",
|
2021-12-25 15:46:48 +00:00
|
|
|
"emoji-picker-element-data": "1.3.0",
|
2022-09-26 14:23:45 +00:00
|
|
|
"eventemitter2": "6.4.9",
|
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-12-04 21:22:21 +00:00
|
|
|
"highlight.js": "11.7.0",
|
2022-07-30 21:32:19 +00:00
|
|
|
"htmlparser2": "8.0.1",
|
2023-01-08 15:31:11 +00:00
|
|
|
"i18next": "22.4.9",
|
2022-11-05 12:02:28 +00:00
|
|
|
"i18next-browser-languagedetector": "7.0.1",
|
2022-12-18 20:41:35 +00:00
|
|
|
"i18next-resources-to-backend": "1.1.1",
|
2022-11-02 15:24:45 +00:00
|
|
|
"isomorphic-ws": "5.0.0",
|
2021-10-24 17:10:44 +00:00
|
|
|
"js-yaml": "4.1.0",
|
2022-12-10 10:10:50 +00:00
|
|
|
"katex": "0.16.4",
|
2023-01-07 21:00:41 +00:00
|
|
|
"luxon": "3.2.1",
|
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-12-24 08:46:42 +00:00
|
|
|
"markdown-it-anchor": "8.6.6",
|
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",
|
2022-12-18 20:02:33 +00:00
|
|
|
"mermaid": "9.3.0",
|
2022-12-24 12:17:49 +00:00
|
|
|
"next": "13.1.1",
|
2022-06-18 15:56:59 +00:00
|
|
|
"react": "18.2.0",
|
2022-12-12 03:39:54 +00:00
|
|
|
"react-bootstrap": "2.7.0",
|
2022-09-10 17:44:25 +00:00
|
|
|
"react-bootstrap-typeahead": "6.0.0",
|
2021-10-24 17:10:44 +00:00
|
|
|
"react-diff-viewer": "3.1.1",
|
2022-06-18 15:56:59 +00:00
|
|
|
"react-dom": "18.2.0",
|
2023-01-07 21:01:54 +00:00
|
|
|
"react-i18next": "12.1.4",
|
2022-11-05 00:59:57 +00:00
|
|
|
"react-redux": "8.0.5",
|
2022-05-21 12:45:36 +00:00
|
|
|
"react-use": "17.4.0",
|
2022-04-30 01:51:06 +00:00
|
|
|
"redux": "4.2.0",
|
2022-10-22 01:45:40 +00:00
|
|
|
"reveal.js": "4.4.0",
|
2021-10-24 17:10:44 +00:00
|
|
|
"sanitize-filename": "1.6.3",
|
2022-12-24 08:47:13 +00:00
|
|
|
"sass": "1.57.1",
|
2022-12-24 09:20:42 +00:00
|
|
|
"sharp": "0.31.3",
|
2022-12-18 21:54:55 +00:00
|
|
|
"tlds": "1.236.0",
|
2022-07-10 20:46:59 +00:00
|
|
|
"twemoji-colr-font": "14.0.2",
|
2022-09-10 09:45:09 +00:00
|
|
|
"uuid": "9.0.0",
|
2022-03-26 02:48:33 +00:00
|
|
|
"vega": "5.22.1",
|
2022-06-18 02:38:48 +00:00
|
|
|
"vega-embed": "6.21.0",
|
2022-10-15 15:32:27 +00:00
|
|
|
"vega-lite": "5.6.0",
|
2022-06-18 16:40:28 +00:00
|
|
|
"words-count": "2.0.2",
|
2023-01-07 22:01:55 +00:00
|
|
|
"ws": "8.12.0",
|
2022-07-30 00:37:05 +00:00
|
|
|
"y-codemirror.next": "0.3.2",
|
2022-07-03 08:53:15 +00:00
|
|
|
"y-protocols": "1.0.5",
|
2023-01-01 18:07:48 +00:00
|
|
|
"yjs": "13.5.44"
|
2021-12-25 15:44:24 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-12-24 12:17:49 +00:00
|
|
|
"@next/bundle-analyzer": "13.1.1",
|
2022-12-18 22:04:02 +00:00
|
|
|
"@testing-library/cypress": "9.0.0",
|
2022-12-24 02:43:02 +00:00
|
|
|
"@testing-library/dom": "8.19.1",
|
2022-08-06 14:50:32 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2022-09-10 00:59:51 +00:00
|
|
|
"@testing-library/react": "13.4.0",
|
2022-08-13 12:45:13 +00:00
|
|
|
"@testing-library/user-event": "14.4.3",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/d3-graphviz": "2.6.7",
|
|
|
|
"@types/diff": "5.0.2",
|
2022-11-12 00:03:40 +00:00
|
|
|
"@types/dompurify": "2.4.0",
|
2022-12-31 02:52:26 +00:00
|
|
|
"@types/jest": "29.2.5",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/js-yaml": "4.0.5",
|
2023-01-01 20:20:52 +00:00
|
|
|
"@types/luxon": "3.2.0",
|
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-12-28 17:32:07 +00:00
|
|
|
"@types/node": "18.11.18",
|
2022-12-03 05:01:34 +00:00
|
|
|
"@types/react": "18.0.26",
|
2022-12-24 13:29:25 +00:00
|
|
|
"@types/react-dom": "18.0.10",
|
2021-12-25 15:44:24 +00:00
|
|
|
"@types/sass": "1.43.1",
|
2022-07-30 21:32:19 +00:00
|
|
|
"@types/testing-library__jest-dom": "5.14.5",
|
2022-12-04 21:23:55 +00:00
|
|
|
"@types/uuid": "9.0.0",
|
2022-12-30 09:48:44 +00:00
|
|
|
"@types/ws": "8.5.4",
|
2023-01-07 21:03:05 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.48.0",
|
|
|
|
"@typescript-eslint/parser": "5.48.0",
|
2022-09-17 01:22:33 +00:00
|
|
|
"csstype": "3.1.1",
|
2023-01-07 21:02:26 +00:00
|
|
|
"cypress": "12.3.0",
|
2022-06-18 15:57:17 +00:00
|
|
|
"cypress-commands": "3.0.0",
|
2022-02-13 11:14:01 +00:00
|
|
|
"cypress-fill-command": "1.0.2",
|
2022-12-31 09:40:45 +00:00
|
|
|
"eslint": "8.31.0",
|
2022-12-24 12:15:54 +00:00
|
|
|
"eslint-config-next": "13.1.1",
|
2023-01-02 20:03:02 +00:00
|
|
|
"eslint-config-prettier": "8.6.0",
|
2021-12-25 15:44:24 +00:00
|
|
|
"eslint-plugin-chai-friendly": "0.7.2",
|
|
|
|
"eslint-plugin-cypress": "2.12.1",
|
2023-01-07 10:01:28 +00:00
|
|
|
"eslint-plugin-jest": "27.2.1",
|
2021-12-25 15:44:24 +00:00
|
|
|
"eslint-plugin-node": "11.1.0",
|
2022-07-02 14:46:43 +00:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-10-22 14:38:50 +00:00
|
|
|
"eslint-plugin-promise": "6.1.1",
|
|
|
|
"eslint-plugin-testing-library": "5.9.1",
|
2022-11-11 14:22:25 +00:00
|
|
|
"jest": "29.3.1",
|
|
|
|
"jest-environment-jsdom": "29.3.1",
|
2023-01-07 21:47:52 +00:00
|
|
|
"prettier": "2.8.2",
|
2022-06-18 15:56:59 +00:00
|
|
|
"react-test-renderer": "18.2.0",
|
2022-12-03 09:57:06 +00:00
|
|
|
"ts-loader": "9.4.2",
|
2021-12-25 15:44:24 +00:00
|
|
|
"ts-mockery": "1.2.0",
|
2022-07-16 10:06:38 +00:00
|
|
|
"ts-node": "10.9.1",
|
2022-12-10 09:20:11 +00:00
|
|
|
"typescript": "4.9.4"
|
2021-12-30 17:45:04 +00:00
|
|
|
},
|
2022-12-24 09:39:27 +00:00
|
|
|
"packageManager": "yarn@3.3.1"
|
2020-05-14 13:41:38 +00:00
|
|
|
}
|