kopia lustrzana https://github.com/fediversespace/fediverse.space
87 wiersze
2.3 KiB
JSON
87 wiersze
2.3 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "2.8.2",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "vite",
|
|
"build": "npm run typecheck && vite build",
|
|
"serve": "vite preview",
|
|
"typecheck": "tsc --noemit",
|
|
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
|
|
"lint:fix": "npm run lint --fix",
|
|
"pretty": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx}": [
|
|
"npm run pretty",
|
|
"npm run lint:fix"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "^4.20.1",
|
|
"@blueprintjs/icons": "^4.16.0",
|
|
"@blueprintjs/select": "^4.9.22",
|
|
"classnames": "^2.3.2",
|
|
"connected-react-router": "^6.9.3",
|
|
"cross-fetch": "^3.1.6",
|
|
"cytoscape": "^3.25.0",
|
|
"cytoscape-popper": "^2.0.0",
|
|
"inflection": "^2.0.1",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.4",
|
|
"normalize.css": "^8.0.1",
|
|
"numeral": "^2.0.6",
|
|
"react": "^17",
|
|
"react-dom": "^17",
|
|
"react-redux": "^7",
|
|
"react-router-dom": "^5",
|
|
"react-virtualized": "^9.22.5",
|
|
"redux": "^4.2.1",
|
|
"redux-first-history": "^5.1.1",
|
|
"redux-thunk": "^2.4.2",
|
|
"sanitize-html": "^2.10.0",
|
|
"styled-components": "^5.3.11",
|
|
"tippy.js": "^6.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "^2.3.0",
|
|
"@types/cytoscape": "^3.19.9",
|
|
"@types/inflection": "^1.13.0",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/lodash": "^4.14.195",
|
|
"@types/node": "^20.2.6",
|
|
"@types/numeral": "^2.0.2",
|
|
"@types/react": "^17",
|
|
"@types/react-dom": "^17",
|
|
"@types/react-redux": "^7.1.25",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/sanitize-html": "^2.9.0",
|
|
"@types/styled-components": "5.1.26",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
|
"@typescript-eslint/parser": "^5.59.9",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-react": "^7.32.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^13.2.2",
|
|
"prettier": "^2.8.8",
|
|
"typescript": "^5.1.3",
|
|
"vite": "^4.3.9",
|
|
"vite-plugin-svgr": "^3.2.0"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|