92 lines
2.5 KiB
JSON
92 lines
2.5 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "2.8.2",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "NODE_ENV=development react-scripts start",
|
|
"build": "react-scripts build",
|
|
"typecheck": "tsc --noemit",
|
|
"lint": "yarn typecheck && yarn eslint src/ --ext .js,.jsx,.ts,.tsx",
|
|
"lint:fix": "yarn lint --fix",
|
|
"pretty": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
"test": "yarn lint && react-scripts test --ci",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx}": [
|
|
"yarn pretty",
|
|
"yarn lint:fix"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "^3.26.1",
|
|
"@blueprintjs/icons": "^3.16.0",
|
|
"@blueprintjs/select": "^3.12.3",
|
|
"classnames": "^2.2.6",
|
|
"connected-react-router": "^6.5.2",
|
|
"cross-fetch": "^3.0.4",
|
|
"cytoscape": "^3.15.0",
|
|
"cytoscape-popper": "^1.0.7",
|
|
"inflection": "^1.12.0",
|
|
"lodash": "^4.17.15",
|
|
"moment": "^2.25.3",
|
|
"normalize.css": "^8.0.0",
|
|
"numeral": "^2.0.6",
|
|
"react": "^16.10.2",
|
|
"react-dom": "^16.10.2",
|
|
"react-redux": "^7.1.1",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "3.4.1",
|
|
"react-sigma": "^1.2.30",
|
|
"react-virtualized": "^9.21.1",
|
|
"redux": "^4.0.4",
|
|
"redux-thunk": "^2.3.0",
|
|
"sanitize-html": "^1.20.1",
|
|
"styled-components": "^5.1.0",
|
|
"tippy.js": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "^2.2.9",
|
|
"@types/cytoscape": "^3.8.3",
|
|
"@types/inflection": "^1.5.28",
|
|
"@types/jest": "^25.2.3",
|
|
"@types/lodash": "^4.14.151",
|
|
"@types/node": "^14.0.1",
|
|
"@types/numeral": "^0.0.28",
|
|
"@types/react": "^16.9.35",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-redux": "^7.1.8",
|
|
"@types/react-router-dom": "^5.1.5",
|
|
"@types/sanitize-html": "^1.23.0",
|
|
"@types/styled-components": "5.1.0",
|
|
"@typescript-eslint/eslint-plugin": "^2.24.0",
|
|
"@typescript-eslint/parser": "^2.34.0",
|
|
"eslint-config-airbnb-typescript": "^7.2.1",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"eslint-plugin-react-hooks": "^4.0.2",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.4",
|
|
"prettier": "^2.0.5",
|
|
"react-axe": "^3.3.0",
|
|
"typescript": "^3.9.2"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|