2021-01-17 12:54:49 -08:00
|
|
|
{
|
|
|
|
"name": "datahub-react-web",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2021-05-11 15:41:42 -07:00
|
|
|
"@analytics/amplitude": "0.0.3",
|
|
|
|
"@analytics/google-analytics": "^0.5.2",
|
|
|
|
"@analytics/google-tag-manager": "^0.5.0",
|
|
|
|
"@analytics/mixpanel": "^0.3.1",
|
|
|
|
"@analytics/segment": "^1.1.0",
|
2021-02-10 16:19:34 -08:00
|
|
|
"@ant-design/colors": "^5.0.0",
|
2021-01-17 12:54:49 -08:00
|
|
|
"@ant-design/icons": "^4.3.0",
|
2021-05-28 02:23:09 +08:00
|
|
|
"@apollo/client": "^3.3.19",
|
2021-03-09 23:14:52 -08:00
|
|
|
"@craco/craco": "^6.1.1",
|
2021-07-17 04:56:50 +10:00
|
|
|
"@cypress/webpack-preprocessor": "5.8.0",
|
2021-05-11 15:41:42 -07:00
|
|
|
"@data-ui/xy-chart": "^0.0.84",
|
2021-07-17 04:56:50 +10:00
|
|
|
"@miragejs/graphql": "^0.1.11",
|
2021-04-03 11:13:25 -07:00
|
|
|
"@react-hook/window-size": "^3.0.7",
|
2021-01-17 12:54:49 -08:00
|
|
|
"@testing-library/jest-dom": "^5.11.6",
|
|
|
|
"@testing-library/react": "^11.2.2",
|
|
|
|
"@testing-library/user-event": "^12.6.0",
|
2021-09-18 07:44:55 -07:00
|
|
|
"@tommoor/remove-markdown": "^0.3.2",
|
2021-07-09 23:46:38 +08:00
|
|
|
"@types/diff": "^5.0.0",
|
2021-01-17 12:54:49 -08:00
|
|
|
"@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",
|
2021-06-17 06:48:27 +08:00
|
|
|
"@uiw/react-md-editor": "^3.3.4",
|
2021-04-03 11:13:25 -07:00
|
|
|
"@visx/drag": "^1.7.0",
|
|
|
|
"@visx/responsive": "^1.7.0",
|
2021-05-11 15:41:42 -07:00
|
|
|
"@vx/axis": "^0.0.199",
|
2021-04-03 11:13:25 -07:00
|
|
|
"@vx/gradient": "^0.0.199",
|
2021-05-11 15:41:42 -07:00
|
|
|
"@vx/grid": "^0.0.199",
|
2021-04-03 11:13:25 -07:00
|
|
|
"@vx/group": "^0.0.199",
|
|
|
|
"@vx/hierarchy": "^0.0.199",
|
2021-05-11 15:41:42 -07:00
|
|
|
"@vx/legend": "^0.0.199",
|
|
|
|
"@vx/scale": "^0.0.199",
|
2021-04-03 11:13:25 -07:00
|
|
|
"@vx/shape": "^0.0.199",
|
|
|
|
"@vx/zoom": "^0.0.199",
|
2021-05-11 15:41:42 -07:00
|
|
|
"analytics": "^0.7.5",
|
2021-05-28 02:23:09 +08:00
|
|
|
"antd": "^4.16.0",
|
2021-03-11 13:38:35 -08:00
|
|
|
"apollo-link": "^1.2.14",
|
|
|
|
"apollo-link-error": "^1.1.13",
|
|
|
|
"apollo-link-http": "^1.5.17",
|
2021-08-31 22:00:56 -07:00
|
|
|
"color-hash": "^2.0.1",
|
2021-04-03 11:13:25 -07:00
|
|
|
"craco-antd": "^1.19.0",
|
2021-07-17 04:56:50 +10:00
|
|
|
"cypress": "7.3.0",
|
2021-05-11 15:41:42 -07:00
|
|
|
"d3-scale": "^3.3.0",
|
|
|
|
"d3-time-format": "^3.0.0",
|
2021-07-09 23:46:38 +08:00
|
|
|
"diff": "^5.0.0",
|
2021-04-03 11:13:25 -07:00
|
|
|
"dotenv": "^8.2.0",
|
2021-07-17 04:56:50 +10:00
|
|
|
"faker": "5.5.3",
|
|
|
|
"find-webpack": "2.2.1",
|
|
|
|
"graphql": "^15.5.0",
|
|
|
|
"graphql-tag": "2.10.3",
|
|
|
|
"graphql.macro": "^1.4.2",
|
2021-02-10 16:19:34 -08:00
|
|
|
"history": "^5.0.0",
|
2021-01-17 12:54:49 -08:00
|
|
|
"js-cookie": "^2.2.1",
|
2021-04-03 11:13:25 -07:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2021-07-17 04:56:50 +10:00
|
|
|
"miragejs": "^0.1.41",
|
2021-01-17 12:54:49 -08:00
|
|
|
"query-string": "^6.13.8",
|
2021-02-10 16:19:34 -08:00
|
|
|
"rc-table": "^7.13.1",
|
2021-01-17 12:54:49 -08:00
|
|
|
"react": "^17.0.0",
|
|
|
|
"react-dom": "^17.0.0",
|
2021-02-10 16:19:34 -08:00
|
|
|
"react-icons": "^4.2.0",
|
2021-01-17 12:54:49 -08:00
|
|
|
"react-router": "^5.2.0",
|
|
|
|
"react-router-dom": "^5.1.6",
|
2021-05-11 15:41:42 -07:00
|
|
|
"react-scripts": "4.0.3",
|
2021-08-31 22:00:56 -07:00
|
|
|
"react-syntax-highlighter": "^15.4.4",
|
2021-05-28 02:23:09 +08:00
|
|
|
"sinon": "^11.1.1",
|
2021-07-17 04:56:50 +10:00
|
|
|
"start-server-and-test": "1.12.2",
|
2021-02-05 14:21:04 -08:00
|
|
|
"styled-components": "^5.2.1",
|
2021-01-17 12:54:49 -08:00
|
|
|
"typescript": "^4.1.3",
|
2021-05-11 15:41:42 -07:00
|
|
|
"uuid": "^8.3.2",
|
2021-04-03 11:13:25 -07:00
|
|
|
"vx": "^0.0.1",
|
2021-01-17 12:54:49 -08:00
|
|
|
"web-vitals": "^0.2.4"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2021-07-17 04:56:50 +10:00
|
|
|
"start": "yarn run generate && BROWSER=none REACT_APP_MOCK=false craco start",
|
|
|
|
"start:mock": "yarn run generate && BROWSER=none REACT_APP_MOCK=true craco start",
|
|
|
|
"start:e2e": "REACT_APP_MOCK=cy BROWSER=none PORT=3010 craco start",
|
2021-04-03 11:13:25 -07:00
|
|
|
"ec2-dev": "yarn run generate && CI=true;export CI;BROWSER=none craco start",
|
2021-07-17 04:56:50 +10:00
|
|
|
"build": "yarn run generate && CI=false REACT_APP_MOCK=false craco build && rm -rf dist/ && cp -r build/ dist/ && rm -r build/",
|
2021-03-09 23:14:52 -08:00
|
|
|
"test": "craco test",
|
2021-07-17 04:56:50 +10:00
|
|
|
"cy:run:ci": "cypress run",
|
|
|
|
"pretest:e2e:ci": "yarn generate",
|
|
|
|
"test:e2e:ci": "start-server-and-test start:e2e 3010 cy:run:ci",
|
|
|
|
"cy:open": "cypress open",
|
|
|
|
"test:e2e": "start-server-and-test start:e2e 3010 cy:open",
|
2021-01-17 12:54:49 -08:00
|
|
|
"eject": "react-scripts eject",
|
2021-02-10 16:19:34 -08:00
|
|
|
"generate": "graphql-codegen --config codegen.yml",
|
2021-05-28 02:23:09 +08:00
|
|
|
"lint": "eslint . --ext .ts,.tsx --quiet",
|
|
|
|
"lint-fix": "eslint '*/**/*.{ts,tsx}' --quiet --fix"
|
2021-01-17 12:54:49 -08:00
|
|
|
},
|
|
|
|
"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",
|
|
|
|
"@types/graphql": "^14.5.0",
|
|
|
|
"@types/query-string": "^6.3.0",
|
2021-02-05 14:21:04 -08:00
|
|
|
"@types/styled-components": "^5.1.7",
|
2021-05-28 02:23:09 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
|
|
|
"@typescript-eslint/parser": "^4.25.0",
|
|
|
|
"babel-loader": "8.2.2",
|
|
|
|
"eslint": "^7.27.0",
|
|
|
|
"eslint-config-airbnb-typescript": "^12.3.1",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
|
|
"eslint-plugin-react": "^7.23.2",
|
2021-07-17 04:56:50 +10:00
|
|
|
"http-proxy-middleware": "2.0.0",
|
2021-05-28 02:23:09 +08:00
|
|
|
"prettier": "^2.3.0"
|
2021-02-09 14:30:23 -08:00
|
|
|
},
|
2021-02-10 16:19:34 -08:00
|
|
|
"resolutions": {
|
2021-08-31 22:00:56 -07:00
|
|
|
"@ant-design/colors": "6.0.0"
|
2021-02-10 16:19:34 -08:00
|
|
|
}
|
2021-01-17 12:54:49 -08:00
|
|
|
}
|