mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-29 10:57:52 +00:00
94 lines
3.2 KiB
JSON
94 lines
3.2 KiB
JSON
{
|
|
"name": "datahub-react-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@ant-design/colors": "^5.0.0",
|
|
"@ant-design/icons": "^4.3.0",
|
|
"@apollo/client": "^3.3.6",
|
|
"@storybook/react": "^6.1.11",
|
|
"@testing-library/jest-dom": "^5.11.6",
|
|
"@testing-library/react": "^11.2.2",
|
|
"@testing-library/user-event": "^12.6.0",
|
|
"@types/jest": "^26.0.19",
|
|
"@types/js-cookie": "^2.2.6",
|
|
"@types/node": "^12.19.9",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-router": "^5.1.8",
|
|
"@types/react-router-dom": "^5.1.6",
|
|
"antd": "^4.9.4",
|
|
"graphql": "^15.4.0",
|
|
"history": "^5.0.0",
|
|
"js-cookie": "^2.2.1",
|
|
"query-string": "^6.13.8",
|
|
"rc-table": "^7.13.1",
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0",
|
|
"react-icons": "^4.2.0",
|
|
"react-router": "^5.2.0",
|
|
"react-router-dom": "^5.1.6",
|
|
"react-scripts": "4.0.1",
|
|
"styled-components": "^5.2.1",
|
|
"typescript": "^4.1.3",
|
|
"web-vitals": "^0.2.4"
|
|
},
|
|
"scripts": {
|
|
"start": "yarn run generate && react-scripts start",
|
|
"build": "yarn run generate && react-scripts build; rm -r dist/; cp -r build/ dist/ && rm -r build/",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"storybook": "start-storybook -p 6006 -s public",
|
|
"build-storybook": "build-storybook -s public",
|
|
"generate": "graphql-codegen --config codegen.yml",
|
|
"lint": "eslint . --ext .ts,.tsx --quiet"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "1.20.0",
|
|
"@graphql-codegen/near-operation-file-preset": "^1.17.13",
|
|
"@graphql-codegen/typescript": "1.20.0",
|
|
"@graphql-codegen/typescript-document-nodes": "1.17.9",
|
|
"@graphql-codegen/typescript-operations": "1.17.13",
|
|
"@graphql-codegen/typescript-react-apollo": "2.2.1",
|
|
"@storybook/addon-actions": "^6.1.11",
|
|
"@storybook/addon-essentials": "^6.1.11",
|
|
"@storybook/addon-links": "^6.1.11",
|
|
"@storybook/node-logger": "^6.1.11",
|
|
"@storybook/preset-create-react-app": "^3.1.5",
|
|
"@types/graphql": "^14.5.0",
|
|
"@types/query-string": "^6.3.0",
|
|
"@types/styled-components": "^5.1.7",
|
|
"@typescript-eslint/eslint-plugin": "^4.11.0",
|
|
"@typescript-eslint/parser": "^4.11.0",
|
|
"babel-loader": "8.1.0",
|
|
"eslint": "^7.11.0",
|
|
"eslint-config-airbnb-typescript": "^12.0.0",
|
|
"eslint-config-prettier": "^7.1.0",
|
|
"eslint-plugin-prettier": "^3.3.0",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"prettier": "^2.2.1"
|
|
},
|
|
"proxy": "http://localhost:9002",
|
|
"resolutions": {
|
|
"@ant-design/colors": "5.0.0"
|
|
}
|
|
}
|