8d00ba9372
the latter now supports typescript natively.
76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "NODE_ENV=development react-scripts start",
|
|
"build": "react-scripts build",
|
|
"lint": "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.4.0",
|
|
"@blueprintjs/icons": "^3.1.0",
|
|
"@blueprintjs/select": "^3.1.0",
|
|
"classnames": "^2.2.6",
|
|
"cross-fetch": "^3.0.2",
|
|
"lodash": "^4.17.10",
|
|
"moment": "^2.22.2",
|
|
"normalize.css": "^8.0.0",
|
|
"react": "^16.4.2",
|
|
"react-dom": "^16.4.2",
|
|
"react-redux": "^7.0.2",
|
|
"react-router-dom": "^5.0.0",
|
|
"react-scripts": "^2.1.8",
|
|
"react-sigma": "^1.2.30",
|
|
"react-virtualized": "^9.20.1",
|
|
"redux": "^4.0.0",
|
|
"redux-thunk": "^2.3.0",
|
|
"sanitize-html": "^1.18.4",
|
|
"styled-components": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@blueprintjs/tslint-config": "^1.8.0",
|
|
"@types/classnames": "^2.2.6",
|
|
"@types/jest": "^24.0.11",
|
|
"@types/lodash": "^4.14.116",
|
|
"@types/node": "^11.13.4",
|
|
"@types/react": "^16.8.13",
|
|
"@types/react-dom": "^16.8.4",
|
|
"@types/react-redux": "^7.0.6",
|
|
"@types/react-router-dom": "^4.3.2",
|
|
"@types/react-virtualized": "^9.18.7",
|
|
"@types/sanitize-html": "^1.18.3",
|
|
"@types/styled-components": "4.1.8",
|
|
"husky": "^1.3.1",
|
|
"lint-staged": "^8.1.5",
|
|
"tslint": "^5.16.0",
|
|
"tslint-eslint-rules": "^5.4.0",
|
|
"typescript": "^3.0.1"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|