2020-05-14 09:41:38 -04:00
|
|
|
{
|
2022-11-02 11:24:45 -04:00
|
|
|
"name": "@hedgedoc/frontend",
|
2022-11-11 04:31:57 -05:00
|
|
|
"version": "2.0.0-dev",
|
|
|
|
"private": true,
|
2021-04-10 10:39:12 -04:00
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2022-09-16 05:03:29 -04:00
|
|
|
"build": "cross-env NODE_ENV=production next build",
|
2021-12-25 10:44:24 -05:00
|
|
|
"build:mock": "cross-env NEXT_PUBLIC_USE_MOCK_API=true next build",
|
2022-09-16 05:03:29 -04:00
|
|
|
"build:test": "cross-env NODE_ENV=test NEXT_PUBLIC_TEST_MODE=true next build",
|
2023-06-27 04:43:35 -04:00
|
|
|
"analyze": "cross-env ANALYZE=true yarn build --profile",
|
2021-11-19 12:04:04 -05: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 10:44:24 -05:00
|
|
|
"lint": "eslint --max-warnings=0 --ext .ts,.tsx src",
|
|
|
|
"lint:fix": "eslint --fix --ext .ts,.tsx src",
|
2023-03-25 11:19:31 -04:00
|
|
|
"start": "cross-env PORT=${HD_FRONTEND_PORT:-3001} next start",
|
2022-12-11 18:46:30 -05:00
|
|
|
"start:ci": "cross-env PORT=3001 NODE_ENV=test next start",
|
2023-03-25 11:19:31 -04:00
|
|
|
"start:dev": "cross-env PORT=${HD_FRONTEND_PORT:-3001} next dev",
|
|
|
|
"start:dev:mock": "cross-env PORT=${HD_FRONTEND_PORT:-3001} NEXT_PUBLIC_USE_MOCK_API=true HD_BASE_URL=\"http://localhost:3001/\" HD_RENDERER_BASE_URL=\"http://127.0.0.1:3001/\" next dev",
|
|
|
|
"start:dev:test": "cross-env PORT=${HD_FRONTEND_PORT:-3001} NODE_ENV=test NEXT_PUBLIC_TEST_MODE=true next dev",
|
2022-12-11 18:46:30 -05:00
|
|
|
"test:e2e:open": "cypress open",
|
|
|
|
"test:e2e": "cypress run --browser chrome",
|
|
|
|
"test:e2e:ci": "cypress run --browser chrome --record true --parallel --group \"chrome\"",
|
|
|
|
"test:watch": "cross-env NODE_ENV=test jest --watch",
|
|
|
|
"test:ci": "cross-env NODE_ENV=test jest --ci",
|
|
|
|
"test": "cross-env NODE_ENV=test jest"
|
2021-06-06 17:14:00 -04:00
|
|
|
},
|
2021-04-10 10:39:12 -04: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 10:44:24 -05:00
|
|
|
"dependencies": {
|
2023-07-18 15:15:16 -04:00
|
|
|
"@codemirror/autocomplete": "6.9.0",
|
2023-08-26 08:16:40 -04:00
|
|
|
"@codemirror/commands": "6.2.5",
|
2023-06-23 09:10:29 -04:00
|
|
|
"@codemirror/lang-markdown": "6.2.0",
|
2023-08-16 16:11:41 -04:00
|
|
|
"@codemirror/language": "6.9.0",
|
2023-05-01 14:52:34 -04:00
|
|
|
"@codemirror/language-data": "6.3.1",
|
2023-08-26 08:16:40 -04:00
|
|
|
"@codemirror/lint": "6.4.1",
|
2023-05-23 06:04:48 -04:00
|
|
|
"@codemirror/state": "6.2.1",
|
2023-04-17 16:13:50 -04:00
|
|
|
"@codemirror/theme-one-dark": "6.1.2",
|
2023-07-31 17:42:45 -04:00
|
|
|
"@codemirror/view": "6.16.0",
|
2023-08-06 02:57:57 -04:00
|
|
|
"@fontsource/source-sans-pro": "5.0.8",
|
2022-12-04 16:42:39 -05:00
|
|
|
"@hedgedoc/commons": "workspace:commons",
|
2023-08-26 06:44:01 -04:00
|
|
|
"@hedgedoc/html-to-react": "workspace:html-to-react",
|
2023-08-26 05:38:23 -04:00
|
|
|
"@hedgedoc/markdown-it-plugins": "workspace:markdown-it-plugins",
|
2023-07-30 05:40:51 -04:00
|
|
|
"@mrdrogdrog/optional": "1.2.1",
|
2022-07-29 20:36:18 -04:00
|
|
|
"@react-hook/resize-observer": "1.2.6",
|
2022-06-03 20:15:43 -04:00
|
|
|
"@redux-devtools/core": "3.13.1",
|
2023-04-17 23:40:31 -04:00
|
|
|
"@reduxjs/toolkit": "1.9.5",
|
2023-08-15 03:32:56 -04:00
|
|
|
"@svgr/webpack": "8.1.0",
|
2023-07-29 18:35:18 -04:00
|
|
|
"@types/katex": "0.16.2",
|
2023-08-26 05:03:37 -04:00
|
|
|
"@uiw/react-codemirror": "4.21.11",
|
2023-04-17 12:02:25 -04:00
|
|
|
"abcjs": "6.2.2",
|
2023-07-26 05:31:56 -04:00
|
|
|
"bootstrap": "5.3.1",
|
2022-05-21 08:17:09 -04:00
|
|
|
"copy-webpack-plugin": "11.0.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"cross-env": "7.0.3",
|
2023-08-01 17:43:40 -04:00
|
|
|
"d3-graphviz": "5.1.0",
|
2022-07-30 17:34:36 -04:00
|
|
|
"d3-selection": "3.0.0",
|
2023-03-16 19:04:32 -04:00
|
|
|
"deepmerge": "4.3.1",
|
2022-05-29 09:19:47 -04:00
|
|
|
"diff": "5.1.0",
|
2022-07-30 17:32:19 -04:00
|
|
|
"dom-serializer": "2.0.0",
|
|
|
|
"domhandler": "5.0.3",
|
2023-07-11 04:12:19 -04:00
|
|
|
"dompurify": "3.0.5",
|
2023-06-30 13:16:35 -04:00
|
|
|
"emoji-picker-element": "1.18.3",
|
2023-06-11 12:35:05 -04:00
|
|
|
"emoji-picker-element-data": "1.4.0",
|
2022-09-26 10:23:45 -04:00
|
|
|
"eventemitter2": "6.4.9",
|
2021-10-24 13:10:44 -04:00
|
|
|
"fast-deep-equal": "3.1.3",
|
2021-12-11 03:41:12 -05:00
|
|
|
"firacode": "6.2.0",
|
2023-07-02 11:23:13 -04:00
|
|
|
"flexsearch-ts": "0.7.35",
|
2022-02-05 12:54:21 -05:00
|
|
|
"flowchart.js": "1.17.1",
|
2023-04-29 10:25:13 -04:00
|
|
|
"highlight.js": "11.8.0",
|
2023-05-10 08:01:28 -04:00
|
|
|
"htmlparser2": "9.0.0",
|
2023-08-26 00:52:40 -04:00
|
|
|
"i18next": "23.4.6",
|
2023-06-27 04:45:23 -04:00
|
|
|
"i18next-browser-languagedetector": "7.1.0",
|
2023-05-19 05:36:08 -04:00
|
|
|
"i18next-resources-to-backend": "1.1.4",
|
2023-06-24 02:57:54 -04:00
|
|
|
"katex": "0.16.8",
|
2023-08-22 19:08:17 -04:00
|
|
|
"luxon": "3.4.1",
|
2022-05-07 12:04:38 -04:00
|
|
|
"markdown-it": "13.0.1",
|
2021-10-24 13:10:44 -04:00
|
|
|
"markdown-it-abbr": "1.0.4",
|
2023-02-18 15:51:53 -05:00
|
|
|
"markdown-it-anchor": "8.6.7",
|
2021-10-24 13:10:44 -04:00
|
|
|
"markdown-it-container": "3.0.0",
|
|
|
|
"markdown-it-deflist": "2.1.0",
|
2022-04-26 08:36:18 -04:00
|
|
|
"markdown-it-emoji": "2.0.2",
|
2021-10-24 13:10:44 -04: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",
|
2023-08-26 03:22:03 -04:00
|
|
|
"mermaid": "10.4.0",
|
2023-08-19 05:20:47 -04:00
|
|
|
"next": "13.4.19",
|
2022-06-18 11:56:59 -04:00
|
|
|
"react": "18.2.0",
|
2023-06-22 23:32:54 -04:00
|
|
|
"react-bootstrap": "2.8.0",
|
2023-04-03 13:12:31 -04:00
|
|
|
"react-bootstrap-icons": "1.10.3",
|
2023-06-11 22:06:14 -04:00
|
|
|
"react-bootstrap-typeahead": "6.2.3",
|
2021-10-24 13:10:44 -04:00
|
|
|
"react-diff-viewer": "3.1.1",
|
2022-06-18 11:56:59 -04:00
|
|
|
"react-dom": "18.2.0",
|
2023-08-22 20:44:27 -04:00
|
|
|
"react-i18next": "13.2.0",
|
2023-07-29 14:07:46 -04:00
|
|
|
"react-redux": "8.1.2",
|
2022-05-21 08:45:36 -04:00
|
|
|
"react-use": "17.4.0",
|
2023-01-28 17:15:47 -05:00
|
|
|
"redux": "4.2.1",
|
2023-04-13 08:30:16 -04:00
|
|
|
"reveal.js": "4.5.0",
|
2021-10-24 13:10:44 -04:00
|
|
|
"sanitize-filename": "1.6.3",
|
2023-08-18 19:31:43 -04:00
|
|
|
"sass": "1.66.1",
|
2023-08-15 15:56:17 -04:00
|
|
|
"sharp": "0.32.5",
|
2023-08-09 11:30:30 -04:00
|
|
|
"tlds": "1.242.0",
|
2023-06-21 14:15:56 -04:00
|
|
|
"twemoji-colr-font": "14.1.3",
|
2022-09-10 05:45:09 -04:00
|
|
|
"uuid": "9.0.0",
|
2023-04-26 17:16:51 -04:00
|
|
|
"vega": "5.25.0",
|
2023-08-02 15:41:37 -04:00
|
|
|
"vega-embed": "6.22.2",
|
2023-07-20 13:43:43 -04:00
|
|
|
"vega-lite": "5.14.1",
|
2022-06-18 12:40:28 -04:00
|
|
|
"words-count": "2.0.2",
|
2023-03-11 14:57:47 -05:00
|
|
|
"ws": "8.13.0",
|
2023-07-18 17:39:16 -04:00
|
|
|
"yjs": "13.6.7"
|
2021-12-25 10:44:24 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-19 05:20:47 -04:00
|
|
|
"@next/bundle-analyzer": "13.4.19",
|
2022-12-18 17:04:02 -05:00
|
|
|
"@testing-library/cypress": "9.0.0",
|
2023-06-14 13:50:16 -04:00
|
|
|
"@testing-library/dom": "9.3.1",
|
2023-08-24 05:09:45 -04:00
|
|
|
"@testing-library/jest-dom": "6.1.2",
|
2023-02-18 19:34:13 -05:00
|
|
|
"@testing-library/react": "14.0.0",
|
2023-06-24 09:13:21 -04:00
|
|
|
"@testing-library/react-hooks": "8.0.1",
|
2022-08-13 08:45:13 -04:00
|
|
|
"@testing-library/user-event": "14.4.3",
|
2021-12-25 10:44:24 -05:00
|
|
|
"@types/d3-graphviz": "2.6.7",
|
2023-03-23 13:05:36 -04:00
|
|
|
"@types/diff": "5.0.3",
|
2023-04-20 10:06:34 -04:00
|
|
|
"@types/dompurify": "3.0.2",
|
2023-08-22 16:59:01 -04:00
|
|
|
"@types/jest": "29.5.4",
|
2023-07-20 20:53:21 -04:00
|
|
|
"@types/luxon": "3.3.1",
|
2023-08-07 18:44:33 -04:00
|
|
|
"@types/markdown-it": "13.0.0",
|
2023-07-24 14:06:30 -04:00
|
|
|
"@types/markdown-it-container": "2.0.6",
|
2021-12-25 10:44:24 -05:00
|
|
|
"@types/markdown-it-plantuml": "1.4.1",
|
2023-08-25 20:25:13 -04:00
|
|
|
"@types/node": "20.5.6",
|
2023-08-22 16:58:47 -04:00
|
|
|
"@types/react": "18.2.21",
|
2023-07-12 15:39:20 -04:00
|
|
|
"@types/react-dom": "18.2.7",
|
2021-12-25 10:44:24 -05:00
|
|
|
"@types/sass": "1.43.1",
|
2023-07-24 19:13:37 -04:00
|
|
|
"@types/testing-library__jest-dom": "5.14.9",
|
2023-06-08 17:22:46 -04:00
|
|
|
"@types/uuid": "9.0.2",
|
|
|
|
"@types/ws": "8.5.5",
|
2023-08-21 13:25:31 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.4.1",
|
|
|
|
"@typescript-eslint/parser": "6.4.1",
|
2023-04-01 18:32:44 -04:00
|
|
|
"csstype": "3.1.2",
|
2023-08-15 16:24:16 -04:00
|
|
|
"cypress": "12.17.4",
|
2022-06-18 11:57:17 -04:00
|
|
|
"cypress-commands": "3.0.0",
|
2022-02-13 06:14:01 -05:00
|
|
|
"cypress-fill-command": "1.0.2",
|
2023-08-26 02:43:39 -04:00
|
|
|
"eslint": "8.48.0",
|
2023-08-19 09:41:57 -04:00
|
|
|
"eslint-config-next": "13.4.19",
|
2023-08-05 18:19:32 -04:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
2021-12-25 10:44:24 -05:00
|
|
|
"eslint-plugin-chai-friendly": "0.7.2",
|
2023-08-08 16:26:53 -04:00
|
|
|
"eslint-plugin-cypress": "2.14.0",
|
2023-07-13 13:40:25 -04:00
|
|
|
"eslint-plugin-jest": "27.2.3",
|
2021-12-25 10:44:24 -05:00
|
|
|
"eslint-plugin-node": "11.1.0",
|
2023-07-16 04:36:13 -04:00
|
|
|
"eslint-plugin-prettier": "5.0.0",
|
2022-10-22 10:38:50 -04:00
|
|
|
"eslint-plugin-promise": "6.1.1",
|
2023-08-24 15:53:22 -04:00
|
|
|
"eslint-plugin-testing-library": "6.0.1",
|
2023-08-25 20:26:00 -04:00
|
|
|
"jest": "29.6.4",
|
|
|
|
"jest-environment-jsdom": "29.6.4",
|
2023-08-15 13:15:53 -04:00
|
|
|
"prettier": "3.0.2",
|
2022-06-18 11:56:59 -04:00
|
|
|
"react-test-renderer": "18.2.0",
|
2023-06-28 09:14:43 -04:00
|
|
|
"ts-loader": "9.4.4",
|
2021-12-25 10:44:24 -05:00
|
|
|
"ts-mockery": "1.2.0",
|
2022-07-16 06:06:38 -04:00
|
|
|
"ts-node": "10.9.1",
|
2023-08-26 03:21:46 -04:00
|
|
|
"typescript": "5.2.2"
|
2021-12-30 12:45:04 -05:00
|
|
|
},
|
2023-08-26 05:03:23 -04:00
|
|
|
"packageManager": "yarn@3.6.3"
|
2020-05-14 09:41:38 -04:00
|
|
|
}
|