* 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
88 lines
2.4 KiB
JSON
88 lines
2.4 KiB
JSON
{
|
|
"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",
|
|
"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": {
|
|
"@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",
|
|
"@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",
|
|
"storybook": "start-storybook -p 9009 -s public",
|
|
"build-storybook": "build-storybook -s public"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|