2020-05-14 09:41:38 -04:00
|
|
|
{
|
2021-04-10 10:39:12 -04:00
|
|
|
"name": "react_client",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"dependencies": {
|
2021-04-30 20:26:47 -04:00
|
|
|
"@craco/craco": "6.1.2",
|
2021-06-05 12:23:36 -04:00
|
|
|
"@fontsource/source-sans-pro": "4.4.5",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@hedgedoc/markdown-it-task-lists": "1.0.0",
|
|
|
|
"@matejmazur/react-katex": "3.1.3",
|
2021-06-12 11:07:41 -04:00
|
|
|
"@testing-library/jest-dom": "5.14.1",
|
2021-05-14 20:19:29 -04:00
|
|
|
"@testing-library/react": "11.2.7",
|
|
|
|
"@testing-library/user-event": "13.1.9",
|
2021-05-08 16:14:41 -04:00
|
|
|
"@types/codemirror": "5.60.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@types/d3-graphviz": "2.6.6",
|
|
|
|
"@types/diff": "5.0.0",
|
|
|
|
"@types/domhandler": "2.4.1",
|
2021-04-30 20:26:31 -04:00
|
|
|
"@types/jest": "26.0.23",
|
2021-04-24 09:32:05 -04:00
|
|
|
"@types/js-yaml": "4.0.1",
|
2021-06-12 11:07:25 -04:00
|
|
|
"@types/luxon": "1.27.0",
|
|
|
|
"@types/markdown-it": "12.0.2",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@types/markdown-it-container": "2.0.3",
|
|
|
|
"@types/markdown-it-plantuml": "1.4.0",
|
2021-05-23 14:10:31 -04:00
|
|
|
"@types/mermaid": "8.2.6",
|
2021-05-24 15:01:16 -04:00
|
|
|
"@types/node": "15.6.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@types/node-sass": "4.11.1",
|
2021-06-12 11:07:25 -04:00
|
|
|
"@types/react": "17.0.11",
|
2021-06-05 13:41:04 -04:00
|
|
|
"@types/react-bootstrap-typeahead": "5.1.5",
|
2021-06-12 11:07:25 -04:00
|
|
|
"@types/react-dom": "17.0.7",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@types/react-html-parser": "2.0.1",
|
2021-06-12 11:07:25 -04:00
|
|
|
"@types/react-router": "5.1.15",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@types/react-router-bootstrap": "0.24.5",
|
|
|
|
"@types/react-router-dom": "5.1.7",
|
|
|
|
"@types/uuid": "8.3.0",
|
2021-06-17 05:59:39 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.27.0",
|
|
|
|
"@typescript-eslint/parser": "4.27.0",
|
2021-04-23 22:21:24 -04:00
|
|
|
"abcjs": "6.0.0-beta.33",
|
2021-04-10 10:39:12 -04:00
|
|
|
"bootstrap": "4.6.0",
|
2021-05-23 08:27:44 -04:00
|
|
|
"codemirror": "5.61.1",
|
2021-04-10 10:39:12 -04:00
|
|
|
"copy-webpack-plugin": "6.4.1",
|
|
|
|
"d3-graphviz": "3.2.0",
|
|
|
|
"diff": "5.0.0",
|
2021-06-01 14:14:27 -04:00
|
|
|
"emoji-picker-element": "1.5.0",
|
2021-06-05 16:16:46 -04:00
|
|
|
"emoji-picker-element-data": "1.2.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"eslint-config-react-app": "6.0.0",
|
2021-04-24 13:18:27 -04:00
|
|
|
"eslint-plugin-flowtype": "5.7.2",
|
2021-05-29 17:27:19 -04:00
|
|
|
"eslint-plugin-import": "2.23.4",
|
2021-04-10 10:39:12 -04:00
|
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
|
|
"eslint-plugin-node": "11.1.0",
|
|
|
|
"eslint-plugin-promise": "5.1.0",
|
|
|
|
"fast-deep-equal": "3.1.3",
|
|
|
|
"firacode": "5.2.0",
|
|
|
|
"flowchart.js": "1.15.0",
|
|
|
|
"fork-awesome": "1.1.7",
|
2021-06-04 21:35:46 -04:00
|
|
|
"highlight.js": "11.0.1",
|
2021-05-28 21:28:16 -04:00
|
|
|
"i18next": "20.3.1",
|
2021-06-17 05:59:21 -04:00
|
|
|
"i18next-browser-languagedetector": "6.1.2",
|
2021-05-28 21:28:16 -04:00
|
|
|
"i18next-http-backend": "1.2.6",
|
2021-04-16 22:43:58 -04:00
|
|
|
"js-yaml": "4.1.0",
|
2021-05-16 15:59:48 -04:00
|
|
|
"katex": "0.13.11",
|
2021-05-14 20:20:01 -04:00
|
|
|
"luxon": "1.27.0",
|
2021-04-16 22:44:14 -04:00
|
|
|
"markdown-it": "12.0.6",
|
2021-04-10 10:39:12 -04:00
|
|
|
"markdown-it-abbr": "1.0.4",
|
|
|
|
"markdown-it-anchor": "7.1.0",
|
|
|
|
"markdown-it-container": "3.0.0",
|
|
|
|
"markdown-it-deflist": "2.1.0",
|
|
|
|
"markdown-it-emoji": "2.0.0",
|
2021-05-21 20:52:45 -04:00
|
|
|
"markdown-it-footnote": "3.0.3",
|
2021-04-10 10:39:12 -04:00
|
|
|
"markdown-it-front-matter": "0.2.3",
|
|
|
|
"markdown-it-imsize": "2.0.1",
|
|
|
|
"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",
|
|
|
|
"markdown-it-task-lists": "2.1.1",
|
|
|
|
"markdown-it-toc-done-right": "4.2.0",
|
|
|
|
"markmap-common": "0.1.5",
|
|
|
|
"markmap-lib": "0.11.6",
|
|
|
|
"markmap-view": "0.2.6",
|
2021-06-12 11:46:25 -04:00
|
|
|
"mermaid": "8.10.2",
|
2021-05-23 13:06:07 -04:00
|
|
|
"node-sass": "6.0.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"react": "17.0.2",
|
2021-06-04 21:36:02 -04:00
|
|
|
"react-bootstrap": "1.6.1",
|
2021-04-10 10:39:12 -04:00
|
|
|
"react-bootstrap-typeahead": "5.1.4",
|
|
|
|
"react-codemirror2": "7.2.1",
|
|
|
|
"react-diff-viewer": "3.1.1",
|
|
|
|
"react-dom": "17.0.2",
|
|
|
|
"react-html-parser": "2.0.2",
|
2021-06-17 05:59:21 -04:00
|
|
|
"react-i18next": "11.11.0",
|
2021-04-24 16:04:22 -04:00
|
|
|
"react-redux": "7.2.4",
|
2021-04-10 10:39:12 -04:00
|
|
|
"react-router": "5.2.0",
|
|
|
|
"react-router-bootstrap": "0.25.0",
|
|
|
|
"react-router-dom": "5.2.0",
|
2021-04-24 17:25:01 -04:00
|
|
|
"react-router-use-location-state": "2.5.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"react-scripts": "4.0.3",
|
2021-04-24 13:24:54 -04:00
|
|
|
"react-use": "17.2.4",
|
2021-04-24 16:04:37 -04:00
|
|
|
"redux": "4.1.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"sanitize-filename": "1.6.3",
|
|
|
|
"ts-mockery": "1.2.0",
|
2021-06-05 17:37:02 -04:00
|
|
|
"twemoji-colr-font": "0.0.2",
|
2021-06-17 05:59:04 -04:00
|
|
|
"typescript": "4.3.3",
|
2021-04-10 10:39:12 -04:00
|
|
|
"use-resize-observer": "7.0.0",
|
|
|
|
"uuid": "8.3.2",
|
2021-04-10 11:27:42 -04:00
|
|
|
"vega": "5.20.2",
|
2021-04-10 10:39:12 -04:00
|
|
|
"vega-embed": "6.17.0",
|
2021-06-17 16:31:28 -04:00
|
|
|
"vega-lite": "5.0.0",
|
|
|
|
"words-count": "1.0.8"
|
2021-04-10 10:39:12 -04:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"start": "cross-env PORT=3001 craco start",
|
2021-05-02 16:38:43 -04:00
|
|
|
"start:test": "cross-env REACT_APP_TEST_MODE=true yarn start",
|
2021-05-05 16:33:30 -04:00
|
|
|
"start:for-real-backend": "cross-env REACT_APP_BACKEND_BASE_URL=http://localhost:3000/ yarn start",
|
2021-04-10 10:39:12 -04:00
|
|
|
"serve:build": "http-server build/ -s -p 3001 -P \"http://localhost:3001?\"",
|
|
|
|
"build:test": "cross-env REACT_APP_TEST_MODE=true craco build",
|
2021-05-02 16:38:43 -04:00
|
|
|
"build:mock": "cross-env craco build",
|
2021-05-05 16:02:18 -04:00
|
|
|
"build:production": "(cross-env node check-build-env-vars.js) && (cross-env craco build)",
|
2021-05-02 16:38:43 -04:00
|
|
|
"analyze": "cross-env ANALYZE=true yarn build:mock",
|
2021-04-10 10:39:12 -04:00
|
|
|
"test": "craco test",
|
|
|
|
"lint": "eslint --max-warnings=0 --ext .ts,.tsx src",
|
2021-06-06 17:14:00 -04:00
|
|
|
"lint:fix": "eslint --fix --ext .ts,.tsx src",
|
|
|
|
"format": "prettier -c \"src/**/*.{ts,tsx,js}\"",
|
|
|
|
"format:fix": "prettier -w \"src/**/*.{ts,tsx,js}\"",
|
2021-04-10 10:39:12 -04:00
|
|
|
"eject": "react-scripts eject",
|
|
|
|
"cy:open": "cypress open",
|
|
|
|
"cy:run:chrome": "cypress run --browser chrome",
|
|
|
|
"cy:run:firefox": "cypress run --browser firefox"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"parserOptions": {
|
|
|
|
"tsconfigRootDir": "",
|
|
|
|
"project": [
|
|
|
|
"./tsconfig.json"
|
|
|
|
]
|
2020-05-27 09:43:28 -04:00
|
|
|
},
|
2021-04-10 10:39:12 -04:00
|
|
|
"rules": {
|
|
|
|
"no-use-before-define": "off",
|
|
|
|
"no-debugger": "warn",
|
|
|
|
"default-param-last": "off"
|
2020-08-19 16:07:26 -04:00
|
|
|
},
|
2021-04-10 10:39:12 -04:00
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
|
|
"plugin:import/recommended",
|
2021-06-06 17:14:00 -04:00
|
|
|
"plugin:import/typescript",
|
|
|
|
"prettier"
|
2021-04-10 10:39:12 -04:00
|
|
|
]
|
|
|
|
},
|
2021-06-06 17:14:00 -04:00
|
|
|
"prettier": {
|
|
|
|
"parser": "typescript",
|
|
|
|
"singleQuote": true,
|
|
|
|
"jsxSingleQuote": true,
|
|
|
|
"semi": false,
|
|
|
|
"tabWidth": 2,
|
|
|
|
"trailingComma": "none",
|
|
|
|
"bracketSpacing": true,
|
|
|
|
"jsxBracketSameLine": true,
|
|
|
|
"arrowParens": "always"
|
|
|
|
},
|
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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-05-31 11:39:11 -04:00
|
|
|
"@cypress/webpack-preprocessor": "5.9.0",
|
2021-04-16 22:43:26 -04:00
|
|
|
"@testing-library/cypress": "7.0.6",
|
2021-04-10 10:39:12 -04:00
|
|
|
"@types/redux-devtools": "3.0.47",
|
|
|
|
"@types/redux-devtools-extension": "2.13.2",
|
|
|
|
"cross-env": "7.0.3",
|
2021-06-12 11:07:56 -04:00
|
|
|
"cypress": "7.5.0",
|
2021-04-10 10:39:12 -04:00
|
|
|
"cypress-commands": "1.1.0",
|
2021-05-07 20:03:43 -04:00
|
|
|
"cypress-file-upload": "5.0.7",
|
2021-06-06 17:14:00 -04:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-05-15 00:57:34 -04:00
|
|
|
"eslint-plugin-chai-friendly": "0.7.1",
|
2021-05-07 20:04:31 -04:00
|
|
|
"eslint-plugin-cypress": "2.11.3",
|
2021-04-10 10:39:12 -04:00
|
|
|
"http-server": "0.12.3",
|
2021-06-12 12:20:06 -04:00
|
|
|
"prettier": "2.3.1",
|
2021-04-10 10:39:12 -04:00
|
|
|
"redux-devtools": "3.7.0",
|
|
|
|
"redux-devtools-extension": "2.13.9",
|
2021-06-12 11:46:44 -04:00
|
|
|
"ts-loader": "9.2.3",
|
2021-05-23 13:05:36 -04:00
|
|
|
"webpack-bundle-analyzer": "4.4.2"
|
2021-04-10 10:39:12 -04:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-06-12 11:07:56 -04:00
|
|
|
"cypress": "7.5.0",
|
2021-05-16 15:59:48 -04:00
|
|
|
"katex": "0.13.11"
|
2021-04-10 10:39:12 -04:00
|
|
|
}
|
2020-05-14 09:41:38 -04:00
|
|
|
}
|