mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 20:08:56 -05:00
618289b52e
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
174 lines
6 KiB
JSON
174 lines
6 KiB
JSON
{
|
|
"name": "@hedgedoc/frontend",
|
|
"version": "2.0.0-dev",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"build": "cross-env NODE_ENV=production next build",
|
|
"build:mock": "cross-env NEXT_PUBLIC_USE_MOCK_API=true next build",
|
|
"build:test": "cross-env NODE_ENV=test NEXT_PUBLIC_TEST_MODE=true next build",
|
|
"analyze": "cross-env ANALYZE=true yarn build --profile",
|
|
"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=${HD_FRONTEND_PORT:-3001} next start",
|
|
"start:ci": "cross-env PORT=3001 NODE_ENV=test next start",
|
|
"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",
|
|
"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"
|
|
},
|
|
"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/autocomplete": "6.8.1",
|
|
"@codemirror/commands": "6.2.4",
|
|
"@codemirror/lang-markdown": "6.2.0",
|
|
"@codemirror/language": "6.8.0",
|
|
"@codemirror/language-data": "6.3.1",
|
|
"@codemirror/lint": "6.4.0",
|
|
"@codemirror/state": "6.2.1",
|
|
"@codemirror/theme-one-dark": "6.1.2",
|
|
"@codemirror/view": "6.14.1",
|
|
"@fontsource/source-sans-pro": "5.0.5",
|
|
"@hedgedoc/commons": "workspace:commons",
|
|
"@hedgedoc/html-to-react": "2.0.0",
|
|
"@hedgedoc/markdown-it-plugins": "2.0.0",
|
|
"@mrdrogdrog/optional": "1.1.0",
|
|
"@react-hook/resize-observer": "1.2.6",
|
|
"@redux-devtools/core": "3.13.1",
|
|
"@reduxjs/toolkit": "1.9.5",
|
|
"@svgr/webpack": "8.0.1",
|
|
"@types/katex": "0.16.0",
|
|
"@uiw/react-codemirror": "4.21.7",
|
|
"abcjs": "6.2.2",
|
|
"bootstrap": "5.3.0",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"cross-env": "7.0.3",
|
|
"d3-graphviz": "5.0.2",
|
|
"d3-selection": "3.0.0",
|
|
"deepmerge": "4.3.1",
|
|
"diff": "5.1.0",
|
|
"dom-serializer": "2.0.0",
|
|
"domhandler": "5.0.3",
|
|
"dompurify": "3.0.4",
|
|
"emoji-picker-element": "1.18.3",
|
|
"emoji-picker-element-data": "1.4.0",
|
|
"eventemitter2": "6.4.9",
|
|
"fast-deep-equal": "3.1.3",
|
|
"firacode": "6.2.0",
|
|
"flexsearch-ts": "0.7.35",
|
|
"flowchart.js": "1.17.1",
|
|
"highlight.js": "11.8.0",
|
|
"htmlparser2": "9.0.0",
|
|
"i18next": "23.2.8",
|
|
"i18next-browser-languagedetector": "7.1.0",
|
|
"i18next-resources-to-backend": "1.1.4",
|
|
"katex": "0.16.8",
|
|
"luxon": "3.3.0",
|
|
"markdown-it": "13.0.1",
|
|
"markdown-it-abbr": "1.0.4",
|
|
"markdown-it-anchor": "8.6.7",
|
|
"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",
|
|
"mermaid": "10.2.4",
|
|
"next": "13.4.9",
|
|
"react": "18.2.0",
|
|
"react-bootstrap": "2.8.0",
|
|
"react-bootstrap-icons": "1.10.3",
|
|
"react-bootstrap-typeahead": "6.2.3",
|
|
"react-diff-viewer": "3.1.1",
|
|
"react-dom": "18.2.0",
|
|
"react-i18next": "13.0.1",
|
|
"react-redux": "8.1.1",
|
|
"react-use": "17.4.0",
|
|
"redux": "4.2.1",
|
|
"reveal.js": "4.5.0",
|
|
"sanitize-filename": "1.6.3",
|
|
"sass": "1.63.6",
|
|
"sharp": "0.32.1",
|
|
"tlds": "1.240.0",
|
|
"twemoji-colr-font": "14.1.3",
|
|
"uuid": "9.0.0",
|
|
"vega": "5.25.0",
|
|
"vega-embed": "6.22.1",
|
|
"vega-lite": "5.13.0",
|
|
"words-count": "2.0.2",
|
|
"ws": "8.13.0",
|
|
"yjs": "13.6.6"
|
|
},
|
|
"devDependencies": {
|
|
"@next/bundle-analyzer": "13.4.9",
|
|
"@testing-library/cypress": "9.0.0",
|
|
"@testing-library/dom": "9.3.1",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "14.0.0",
|
|
"@testing-library/react-hooks": "8.0.1",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@types/d3-graphviz": "2.6.7",
|
|
"@types/diff": "5.0.3",
|
|
"@types/dompurify": "3.0.2",
|
|
"@types/jest": "29.5.2",
|
|
"@types/luxon": "3.3.0",
|
|
"@types/markdown-it": "12.2.3",
|
|
"@types/markdown-it-container": "2.0.5",
|
|
"@types/markdown-it-plantuml": "1.4.1",
|
|
"@types/node": "20.4.1",
|
|
"@types/react": "18.2.14",
|
|
"@types/react-dom": "18.2.6",
|
|
"@types/sass": "1.43.1",
|
|
"@types/testing-library__jest-dom": "5.14.7",
|
|
"@types/uuid": "9.0.2",
|
|
"@types/ws": "8.5.5",
|
|
"@typescript-eslint/eslint-plugin": "5.61.0",
|
|
"@typescript-eslint/parser": "5.61.0",
|
|
"csstype": "3.1.2",
|
|
"cypress": "12.17.0",
|
|
"cypress-commands": "3.0.0",
|
|
"cypress-fill-command": "1.0.2",
|
|
"eslint": "8.44.0",
|
|
"eslint-config-next": "13.4.9",
|
|
"eslint-config-prettier": "8.8.0",
|
|
"eslint-plugin-chai-friendly": "0.7.2",
|
|
"eslint-plugin-cypress": "2.13.3",
|
|
"eslint-plugin-jest": "27.2.2",
|
|
"eslint-plugin-node": "11.1.0",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-promise": "6.1.1",
|
|
"eslint-plugin-testing-library": "5.11.0",
|
|
"jest": "29.6.1",
|
|
"jest-environment-jsdom": "29.6.1",
|
|
"prettier": "2.8.8",
|
|
"react-test-renderer": "18.2.0",
|
|
"ts-loader": "9.4.4",
|
|
"ts-mockery": "1.2.0",
|
|
"ts-node": "10.9.1",
|
|
"typescript": "5.1.6"
|
|
},
|
|
"packageManager": "yarn@3.6.1"
|
|
}
|