86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "NODE_ENV=development react-scripts start",
|
|
"build": "react-scripts build",
|
|
"typecheck": "tsc --noemit",
|
|
"lint": "yarn typecheck && tslint -p tsconfig.json -c tslint.json \"src/**/*.{ts,tsx}\"",
|
|
"lint:fix": "yarn lint --fix",
|
|
"pretty": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
"test": "yarn lint && react-scripts test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx}": [
|
|
"yarn pretty",
|
|
"yarn lint:fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "^3.17.1",
|
|
"@blueprintjs/icons": "^3.9.1",
|
|
"@blueprintjs/select": "^3.9.0",
|
|
"classnames": "^2.2.6",
|
|
"connected-react-router": "^6.5.2",
|
|
"cross-fetch": "^3.0.4",
|
|
"cytoscape": "^3.8.1",
|
|
"cytoscape-popper": "^1.0.4",
|
|
"lodash": "^4.17.14",
|
|
"moment": "^2.22.2",
|
|
"normalize.css": "^8.0.0",
|
|
"numeral": "^2.0.6",
|
|
"react": "^16.4.2",
|
|
"react-dom": "^16.4.2",
|
|
"react-redux": "^7.1.0",
|
|
"react-router-dom": "^5.0.1",
|
|
"react-scripts": "^3.0.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": "^4.3.2",
|
|
"tippy.js": "^4.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@blueprintjs/tslint-config": "^1.8.1",
|
|
"@types/classnames": "^2.2.9",
|
|
"@types/cytoscape": "^3.4.3",
|
|
"@types/jest": "^24.0.15",
|
|
"@types/lodash": "^4.14.136",
|
|
"@types/node": "^12.6.2",
|
|
"@types/numeral": "^0.0.25",
|
|
"@types/react": "^16.8.23",
|
|
"@types/react-dom": "^16.8.4",
|
|
"@types/react-redux": "^7.1.1",
|
|
"@types/react-router-dom": "^4.3.4",
|
|
"@types/react-virtualized": "^9.21.2",
|
|
"@types/sanitize-html": "^1.20.1",
|
|
"@types/styled-components": "4.1.18",
|
|
"husky": "^3.0.0",
|
|
"lint-staged": "^9.2.0",
|
|
"react-axe": "^3.2.0",
|
|
"tslint": "^5.18.0",
|
|
"tslint-config-security": "^1.16.0",
|
|
"tslint-eslint-rules": "^5.4.0",
|
|
"typescript": "^3.5.3"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|