87 lines
2.3 KiB
JSON
87 lines
2.3 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "2.7.1",
|
|
"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 --ci",
|
|
"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.18.0",
|
|
"@blueprintjs/icons": "^3.10.0",
|
|
"@blueprintjs/select": "^3.10.0",
|
|
"classnames": "^2.2.6",
|
|
"connected-react-router": "^6.5.2",
|
|
"cross-fetch": "^3.0.4",
|
|
"cytoscape": "^3.9.0",
|
|
"cytoscape-popper": "^1.0.4",
|
|
"inflection": "^1.12.0",
|
|
"lodash": "^4.17.15",
|
|
"moment": "^2.22.2",
|
|
"normalize.css": "^8.0.0",
|
|
"numeral": "^2.0.6",
|
|
"react": "^16.9.0",
|
|
"react-dom": "^16.9.0",
|
|
"react-redux": "^7.1.0",
|
|
"react-router-dom": "^5.0.1",
|
|
"react-scripts": "^3.1.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.5"
|
|
},
|
|
"devDependencies": {
|
|
"@blueprintjs/tslint-config": "^1.9.0",
|
|
"@types/classnames": "^2.2.9",
|
|
"@types/cytoscape": "^3.8.1",
|
|
"@types/inflection": "^1.5.28",
|
|
"@types/jest": "^24.0.18",
|
|
"@types/lodash": "^4.14.137",
|
|
"@types/node": "^12.7.2",
|
|
"@types/numeral": "^0.0.26",
|
|
"@types/react": "^16.9.2",
|
|
"@types/react-dom": "^16.9.0",
|
|
"@types/react-redux": "^7.1.2",
|
|
"@types/react-router-dom": "^4.3.4",
|
|
"@types/sanitize-html": "^1.20.1",
|
|
"@types/styled-components": "4.1.18",
|
|
"husky": "^3.0.4",
|
|
"lint-staged": "^9.2.3",
|
|
"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"
|
|
]
|
|
}
|