hedgedoc/package.json
Philip Molares d0fc96b929
rework how the frontend is started (#361)
renamed frontend-config to api-url
renamed backend-config to config
removed api call to set frontend-config as the frontend either know where the backend is as it is delivered by it or get's this information via the enviroment variable REACT_APP_BACKEND
always start the client on Port 3001 as the backend will run on 3000 during development. changed the port on multiple occasions to accommodate for this
added package.json script 'start:dev'
changed README to better explain how to run backend and frontend side-by-side
2020-07-29 22:58:01 +02:00

146 lines
4.6 KiB
JSON

{
"name": "react_client",
"license": "AGPL-3.0",
"version": "0.1.0",
"dependencies": {
"@testing-library/jest-dom": "5.11.1",
"@testing-library/react": "10.4.7",
"@testing-library/user-event": "12.0.15",
"@types/codemirror": "0.0.97",
"@types/deep-equal": "1.0.1",
"@types/highlight.js": "9.12.4",
"@types/jest": "26.0.7",
"@types/js-yaml": "3.12.5",
"@types/markdown-it": "10.0.1",
"@types/markdown-it-anchor": "4.0.4",
"@types/markdown-it-container": "2.0.3",
"@types/node": "12.12.53",
"@types/node-sass": "4.11.1",
"@types/react": "16.9.43",
"@types/react-bootstrap": "1.0.1",
"@types/react-bootstrap-typeahead": "3.4.6",
"@types/react-dom": "16.9.8",
"@types/react-html-parser": "2.0.1",
"@types/react-mathjax": "1.0.0",
"@types/react-redux": "7.1.9",
"@types/react-router": "5.1.8",
"@types/react-router-bootstrap": "0.24.5",
"@types/react-router-dom": "5.1.5",
"@typescript-eslint/eslint-plugin": "3.7.0",
"@typescript-eslint/parser": "3.7.0",
"bootstrap": "4.5.0",
"codemirror": "5.56.0",
"deep-equal": "2.0.3",
"eslint-config-react-app": "5.2.1",
"eslint-config-standard": "14.1.1",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"fork-awesome": "1.1.7",
"github-markdown-css": "4.0.0",
"highlight.js": "10.1.2",
"i18next": "19.6.3",
"i18next-browser-languagedetector": "5.0.0",
"i18next-http-backend": "1.0.17",
"js-yaml": "3.14.0",
"markdown-it": "11.0.0",
"markdown-it-abbr": "1.0.4",
"markdown-it-anchor": "5.3.0",
"markdown-it-container": "3.0.0",
"markdown-it-deflist": "2.0.3",
"markdown-it-emoji": "1.4.0",
"markdown-it-footnote": "3.0.2",
"markdown-it-front-matter": "0.2.1",
"markdown-it-imsize": "2.0.1",
"markdown-it-ins": "3.0.0",
"markdown-it-mark": "3.0.0",
"markdown-it-mathjax": "2.0.0",
"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.1.0",
"mathjax": "3.0.5",
"moment": "2.27.0",
"node-sass": "4.14.1",
"react": "16.13.1",
"react-bootstrap": "1.3.0",
"react-bootstrap-typeahead": "5.1.0",
"react-codemirror2": "7.2.1",
"react-dom": "16.13.1",
"react-html-parser": "2.0.2",
"react-i18next": "11.7.0",
"react-mathjax": "1.0.1",
"react-redux": "7.2.1",
"react-router": "5.2.0",
"react-router-bootstrap": "0.25.0",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.1",
"redux": "4.0.5",
"typescript": "3.9.7",
"use-media": "1.4.0",
"use-resize-observer": "6.1.0"
},
"scripts": {
"start": "PORT=3001 react-scripts start",
"start:dev": "REACT_APP_BACKEND=http://localhost:3000 yarn start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"cy:open": "cypress open",
"cy:run:chrome": "cypress run --browser chrome",
"cy:run:firefox": "cypress run --browser firefox",
"e2e:chrome": "start-server-and-test start http-get://localhost:3001 cy:run:chrome",
"e2e:firefox": "start-server-and-test start http-get://localhost:3001 cy:run:firefox"
},
"eslintConfig": {
"parserOptions": {
"tsconfigRootDir": "",
"project": [
"./tsconfig.json"
]
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"react-app",
"standard",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/recommended",
"plugin:import/typescript"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@cypress/webpack-preprocessor": "5.4.2",
"@testing-library/cypress": "6.0.0",
"@types/redux-devtools": "3.0.47",
"@types/redux-devtools-extension": "2.13.2",
"@types/testing-library__cypress": "5.0.6",
"cypress": "4.11.0",
"eslint-plugin-chai-friendly": "0.6.0",
"eslint-plugin-cypress": "2.11.1",
"redux-devtools": "3.5.0",
"redux-devtools-extension": "2.13.8",
"start-server-and-test": "1.11.2",
"ts-loader": "8.0.1"
}
}