feat: add graphql support (#349)

* fix: eslint warnings

* refactor: use ramda + sanctuary instead of lodash

* refactor: use prettier-standard for formatting

* feat: enable security

* feat: add graphql

* chore: remove trailing commas from linter

* docs: new scripts on react and new-admin-server

* feat: handle authentication on graphql

* fix: perf improvement to date picker

* chore: add insecure-dev script to run servers
This commit is contained in:
Rafael Taranto 2019-12-24 14:36:41 +00:00 committed by Josh Harvey
parent 49f434f1d1
commit b8e0c2175b
182 changed files with 8827 additions and 4623 deletions

View file

@ -1,42 +1,72 @@
{
"name": "new-lamassu-admin",
"name": "lamassu-admin",
"version": "0.1.0",
"license": "unlicense",
"dependencies": {
"@apollo/react-hooks": "^3.1.3",
"@material-ui/core": "4.5.0",
"@material-ui/icons": "4.4.3",
"@use-hooks/axios": "1.3.0",
"apollo-boost": "^0.4.7",
"axios": "0.19.0",
"bignumber.js": "9.0.0",
"classnames": "2.2.6",
"downshift": "3.3.4",
"file-saver": "2.0.2",
"formik": "2.0.3",
"fuse.js": "^3.4.6",
"graphql": "^14.5.8",
"jss-plugin-extend": "^10.0.0",
"lodash": "4.17.15",
"moment": "2.24.0",
"qrcode.react": "0.9.3",
"ramda": "^0.26.1",
"react": "^16.12.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.10.2",
"react-router-dom": "5.1.2",
"react-virtualized": "^9.21.2",
"sanctuary": "^2.0.1",
"slugify": "^1.3.6",
"yup": "0.27.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@storybook/addon-actions": "^5.2.3",
"@storybook/addon-backgrounds": "^5.2.4",
"@storybook/addon-knobs": "^5.2.3",
"@storybook/addon-links": "^5.2.3",
"@storybook/addons": "^5.2.3",
"@storybook/react": "^5.2.3",
"babel-loader": "8.0.6",
"react-scripts": "3.2.0",
"standard": "14.3.1"
"@welldone-software/why-did-you-render": "^3.3.9",
"eslint-config-prettier": "^6.7.0",
"eslint-config-prettier-standard": "^3.0.1",
"eslint-config-standard": "^14.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "1.19.1",
"prettier-config-standard": "^1.0.1",
"react-scripts": "^3.3.0",
"serve": "^11.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"eslint --fix",
"git add"
]
},
"scripts": {
"start": "react-scripts start",
"fix": "eslint --fix --ext .js,.md,.json src/",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",