2020-05-14 09:41:38 -04:00
|
|
|
{
|
2022-11-02 11:24:45 -04:00
|
|
|
"name": "@hedgedoc/frontend",
|
2023-10-23 16:46:19 -04:00
|
|
|
"version": "2.0.0-alpha.2",
|
2022-11-11 04:31:57 -05:00
|
|
|
"private": true,
|
2021-04-10 10:39:12 -04:00
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
2023-09-03 09:47:53 -04:00
|
|
|
"build": "dotenv -v NODE_ENV=production -c production -- ./build.sh",
|
|
|
|
"build:mock": "dotenv -v NEXT_PUBLIC_USE_MOCK_API=true -- ./build.sh",
|
|
|
|
"build:test": "dotenv -v NODE_ENV=test -v NEXT_PUBLIC_TEST_MODE=true -c test -- ./build.sh",
|
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-08-26 08:26:47 -04:00
|
|
|
"start": "cross-env PORT=${HD_FRONTEND_PORT:-3001} node dist/frontend/server.js",
|
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\"",
|
2024-01-15 16:35:55 -05:00
|
|
|
"test:watch": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" NODE_ENV=test jest --watch",
|
|
|
|
"test:ci": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" NODE_ENV=test jest --coverage",
|
|
|
|
"test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" NODE_ENV=test jest"
|
2021-06-06 17:14:00 -04:00
|
|
|
},
|
2024-02-10 09:50:37 -05:00
|
|
|
"browserslist": [
|
|
|
|
"Chrome 118",
|
|
|
|
">0.2%",
|
|
|
|
"Firefox ESR",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
2021-12-25 10:44:24 -05:00
|
|
|
"dependencies": {
|
2024-08-29 06:02:11 -04:00
|
|
|
"@codemirror/autocomplete": "6.18.0",
|
|
|
|
"@codemirror/commands": "6.6.0",
|
2024-08-28 18:35:39 -04:00
|
|
|
"@codemirror/lang-markdown": "6.2.5",
|
|
|
|
"@codemirror/language": "6.10.2",
|
2024-08-29 06:02:11 -04:00
|
|
|
"@codemirror/language-data": "6.5.1",
|
|
|
|
"@codemirror/lint": "6.8.1",
|
2024-08-28 18:35:39 -04:00
|
|
|
"@codemirror/state": "6.4.1",
|
2023-04-17 16:13:50 -04:00
|
|
|
"@codemirror/theme-one-dark": "6.1.2",
|
2024-08-29 06:02:11 -04:00
|
|
|
"@codemirror/view": "6.33.0",
|
2024-08-29 06:27:02 -04:00
|
|
|
"@dicebear/core": "7.1.3",
|
2024-08-29 08:47:39 -04:00
|
|
|
"@dicebear/identicon": "7.1.3",
|
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",
|
2024-08-29 04:59:20 -04:00
|
|
|
"@orama/orama": "2.0.23",
|
2022-07-29 20:36:18 -04:00
|
|
|
"@react-hook/resize-observer": "1.2.6",
|
2024-02-10 12:04:56 -05:00
|
|
|
"@redux-devtools/core": "4.0.0",
|
2024-08-29 06:19:21 -04:00
|
|
|
"@reduxjs/toolkit": "2.2.7",
|
2023-08-15 03:32:56 -04:00
|
|
|
"@svgr/webpack": "8.1.0",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/katex": "0.16.7",
|
2024-08-29 06:02:11 -04:00
|
|
|
"@uiw/react-codemirror": "4.23.0",
|
2024-08-29 06:27:17 -04:00
|
|
|
"abcjs": "6.4.2",
|
2024-08-29 04:59:33 -04:00
|
|
|
"bootstrap": "5.3.3",
|
2024-02-10 12:03:45 -05:00
|
|
|
"copy-webpack-plugin": "12.0.2",
|
2021-04-10 10:39:12 -04:00
|
|
|
"cross-env": "7.0.3",
|
2024-08-29 06:19:47 -04:00
|
|
|
"d3-graphviz": "5.6.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",
|
2024-08-29 06:19:58 -04:00
|
|
|
"diff": "5.2.0",
|
2022-07-30 17:32:19 -04:00
|
|
|
"dom-serializer": "2.0.0",
|
|
|
|
"domhandler": "5.0.3",
|
2024-08-29 08:39:46 -04:00
|
|
|
"dompurify": "3.1.6",
|
2024-08-29 06:44:09 -04:00
|
|
|
"emoji-picker-element": "1.22.4",
|
2024-08-29 05:00:22 -04:00
|
|
|
"emoji-picker-element-data": "1.6.1",
|
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",
|
2024-02-10 10:28:12 -05:00
|
|
|
"flowchart.js": "1.18.0",
|
2024-08-29 06:20:33 -04:00
|
|
|
"highlight.js": "11.10.0",
|
2024-02-10 10:28:26 -05:00
|
|
|
"htmlparser2": "9.1.0",
|
2024-08-29 06:22:22 -04:00
|
|
|
"i18next": "23.14.0",
|
2024-08-29 05:32:42 -04:00
|
|
|
"i18next-browser-languagedetector": "7.2.1",
|
|
|
|
"i18next-resources-to-backend": "1.2.1",
|
2024-08-29 05:00:45 -04:00
|
|
|
"katex": "0.16.11",
|
2024-08-29 06:21:07 -04:00
|
|
|
"luxon": "3.5.0",
|
2023-09-26 15:53:56 -04:00
|
|
|
"markdown-it": "13.0.2",
|
2023-12-07 14:24:15 -05:00
|
|
|
"markdown-it-abbr": "2.0.0",
|
2023-02-18 15:51:53 -05:00
|
|
|
"markdown-it-anchor": "8.6.7",
|
2023-12-07 14:53:01 -05:00
|
|
|
"markdown-it-container": "4.0.0",
|
|
|
|
"markdown-it-deflist": "3.0.0",
|
2024-02-10 12:04:12 -05:00
|
|
|
"markdown-it-emoji": "3.0.0",
|
2023-12-07 14:53:01 -05:00
|
|
|
"markdown-it-footnote": "4.0.0",
|
|
|
|
"markdown-it-ins": "4.0.0",
|
|
|
|
"markdown-it-mark": "4.0.0",
|
2021-10-24 13:10:44 -04:00
|
|
|
"markdown-it-mathjax": "2.0.0",
|
|
|
|
"markdown-it-plantuml": "1.4.1",
|
|
|
|
"markdown-it-regex": "0.2.0",
|
2023-12-07 14:53:01 -05:00
|
|
|
"markdown-it-sub": "2.0.0",
|
|
|
|
"markdown-it-sup": "2.0.0",
|
2024-08-29 06:21:18 -04:00
|
|
|
"mermaid": "10.9.1",
|
2024-08-29 08:57:30 -04:00
|
|
|
"next": "14.2.7",
|
2024-08-29 05:01:09 -04:00
|
|
|
"picocolors": "1.0.1",
|
2024-08-29 08:42:32 -04:00
|
|
|
"react": "18.3.1",
|
2024-08-29 05:01:23 -04:00
|
|
|
"react-bootstrap": "2.10.4",
|
2024-08-29 06:21:37 -04:00
|
|
|
"react-bootstrap-icons": "1.11.4",
|
2023-12-02 12:07:41 -05:00
|
|
|
"react-bootstrap-typeahead": "6.3.2",
|
2021-10-24 13:10:44 -04:00
|
|
|
"react-diff-viewer": "3.1.1",
|
2024-08-29 08:42:32 -04:00
|
|
|
"react-dom": "18.3.1",
|
2024-08-29 06:22:22 -04:00
|
|
|
"react-i18next": "14.1.3",
|
2024-08-29 05:47:48 -04:00
|
|
|
"react-redux": "9.1.2",
|
2024-08-29 05:01:46 -04:00
|
|
|
"react-use": "17.5.1",
|
2024-02-10 12:04:56 -05:00
|
|
|
"redux": "5.0.1",
|
2024-08-29 08:40:05 -04:00
|
|
|
"reveal.js": "5.1.0",
|
2021-10-24 13:10:44 -04:00
|
|
|
"sanitize-filename": "1.6.3",
|
2024-08-29 06:22:02 -04:00
|
|
|
"sass": "1.77.8",
|
2024-08-29 05:02:23 -04:00
|
|
|
"sharp": "0.33.5",
|
2024-08-29 06:22:12 -04:00
|
|
|
"tlds": "1.254.0",
|
2024-02-12 03:59:35 -05:00
|
|
|
"twemoji-colr-font": "15.0.3",
|
2023-09-17 15:52:31 -04:00
|
|
|
"uuid": "9.0.1",
|
2024-08-29 06:44:30 -04:00
|
|
|
"vega": "5.30.0",
|
|
|
|
"vega-embed": "6.26.0",
|
|
|
|
"vega-lite": "5.21.0",
|
2022-06-18 12:40:28 -04:00
|
|
|
"words-count": "2.0.2",
|
2024-08-28 14:28:48 -04:00
|
|
|
"ws": "8.17.1",
|
2024-08-29 01:18:26 -04:00
|
|
|
"yjs": "13.6.18"
|
2021-12-25 10:44:24 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-08-29 08:57:30 -04:00
|
|
|
"@next/bundle-analyzer": "14.2.7",
|
2024-08-29 03:10:26 -04:00
|
|
|
"@testing-library/cypress": "10.0.2",
|
2024-01-24 20:39:41 -05:00
|
|
|
"@testing-library/dom": "9.3.4",
|
2024-08-29 06:18:22 -04:00
|
|
|
"@testing-library/jest-dom": "6.5.0",
|
|
|
|
"@testing-library/react": "14.3.1",
|
2023-06-24 09:13:21 -04:00
|
|
|
"@testing-library/react-hooks": "8.0.1",
|
2024-01-24 20:39:41 -05:00
|
|
|
"@testing-library/user-event": "14.5.2",
|
2023-11-12 15:35:28 -05:00
|
|
|
"@types/d3-graphviz": "2.6.10",
|
2024-08-30 06:40:46 -04:00
|
|
|
"@types/diff": "5.2.2",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/dompurify": "3.0.5",
|
2024-02-10 10:31:44 -05:00
|
|
|
"@types/jest": "29.5.12",
|
2024-01-28 08:23:07 -05:00
|
|
|
"@types/luxon": "3.4.2",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/markdown-it": "13.0.7",
|
|
|
|
"@types/markdown-it-container": "2.0.9",
|
|
|
|
"@types/markdown-it-plantuml": "1.4.4",
|
2024-08-30 06:40:46 -04:00
|
|
|
"@types/node": "20.16.2",
|
|
|
|
"@types/react": "18.3.5",
|
|
|
|
"@types/react-dom": "18.3.0",
|
|
|
|
"@types/sass": "1.45.0",
|
2023-07-24 19:13:37 -04:00
|
|
|
"@types/testing-library__jest-dom": "5.14.9",
|
2024-01-28 11:45:34 -05:00
|
|
|
"@types/uuid": "9.0.8",
|
2023-12-07 12:49:37 -05:00
|
|
|
"@types/ws": "8.5.10",
|
2024-02-10 10:26:48 -05:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
|
|
"@typescript-eslint/parser": "6.21.0",
|
2023-12-07 13:47:40 -05:00
|
|
|
"csstype": "3.1.3",
|
2024-08-28 18:45:29 -04:00
|
|
|
"cypress": "13.6.6",
|
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",
|
2024-08-29 06:15:42 -04:00
|
|
|
"dotenv-cli": "7.4.2",
|
2024-02-23 17:05:04 -05:00
|
|
|
"eslint": "8.57.0",
|
2024-08-29 09:05:09 -04:00
|
|
|
"eslint-config-next": "14.2.7",
|
2023-12-07 14:56:11 -05:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-01-24 20:39:19 -05:00
|
|
|
"eslint-plugin-chai-friendly": "0.7.4",
|
2024-08-29 01:18:57 -04:00
|
|
|
"eslint-plugin-cypress": "2.15.2",
|
2024-02-23 17:05:04 -05:00
|
|
|
"eslint-plugin-jest": "27.9.0",
|
2024-08-29 09:05:09 -04:00
|
|
|
"eslint-plugin-n": "14.0.0",
|
|
|
|
"eslint-plugin-prettier": "5.2.1",
|
|
|
|
"eslint-plugin-promise": "6.6.0",
|
|
|
|
"eslint-plugin-testing-library": "6.3.0",
|
2023-09-12 02:58:08 -04:00
|
|
|
"jest": "29.7.0",
|
|
|
|
"jest-environment-jsdom": "29.7.0",
|
2024-08-29 09:05:09 -04:00
|
|
|
"prettier": "3.3.3",
|
2024-08-29 08:42:32 -04:00
|
|
|
"react-test-renderer": "18.3.1",
|
2023-11-30 19:19:13 -05:00
|
|
|
"ts-loader": "9.5.1",
|
2021-12-25 10:44:24 -05:00
|
|
|
"ts-mockery": "1.2.0",
|
2023-10-29 14:38:44 -04:00
|
|
|
"ts-node": "11.0.0-beta.1",
|
2024-08-29 08:38:18 -04:00
|
|
|
"typescript": "5.5.4",
|
2023-09-08 10:21:23 -04:00
|
|
|
"user-agent-data-types": "0.4.2"
|
2021-12-30 12:45:04 -05:00
|
|
|
},
|
2024-08-29 04:48:46 -04:00
|
|
|
"packageManager": "yarn@4.1.1"
|
2020-05-14 09:41:38 -04:00
|
|
|
}
|