metamigo-frontend: start frontend cleanup

This commit is contained in:
Abel Luck 2023-03-13 16:46:59 +00:00
parent f4a3031c5e
commit 4f2b7934e2
6 changed files with 263 additions and 11 deletions

View file

@ -3,6 +3,7 @@
"version": "0.2.0",
"private": true,
"dependencies": {
"@digiresilience/metamigo-config": "*",
"@apollo/client": "^3.7.4",
"@hapi/boom": "^10.0.0",
"@hapi/wreck": "^18.0.0",
@ -30,21 +31,23 @@
"swr": "^2.0.0"
},
"scripts": {
"dev": "next dev -p 2999",
"serve": "next dev -p 2999",
"build": "next build",
"start": "next start",
"fix:lint": "eslint --ext .js,.jsx,.ts,.tsx,.graphql --fix",
"fix:prettier": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,graphql,md}\" --write",
"test": "echo no tests",
"lint": "next lint",
"lint:lint": "eslint --ext .js,.jsx,.ts,.tsx,.graphql",
"lint:prettier": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,graphql,md}\" --list-different"
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.graphql && next lint && prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,graphql,md}\" --write",
"fix:lint": "eslint --ext .js,.jsx,.ts,.tsx,.graphql --fix",
"fmt": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,graphql,md}\" --list-different"
},
"devDependencies": {
"@next/eslint-plugin-next": "^13.1.2",
"@types/hapi__wreck": "17.0.1",
"@types/react": "^17",
"@types/react-mic": "12.4.3",
"typescript": "^4.9.5"
"typescript": "^4.9.5",
"tsconfig-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
"babel-preset-link": "*"
}
}