[clean up][s]: removed outdated apollo server mocks and config module which is now replaced by next.config.js.

Also, removed all leftover and not used packages and npm scripts.
This commit is contained in:
anuveyatsu
2020-06-23 10:54:57 +06:00
parent 55d9c68b34
commit 10b0b2a865
13 changed files with 67 additions and 4385 deletions

View File

@@ -3,9 +3,6 @@
"version": "0.1.0",
"private": true,
"scripts": {
"mock": "npm start --prefix mock",
"dev-mock": "GRAPHQL_ENDPOINT=\"http://localhost:4000/\" run-p dev mock",
"postinstall": "npm install --prefix mock",
"dev": "next dev",
"build": "next build",
"start": "next start",
@@ -20,20 +17,15 @@
"@apollo/react-hooks": "^3.1.5",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-datasource-rest": "^0.9.2",
"apollo-link": "^1.2.14",
"apollo-link-http": "^1.5.17",
"apollo-link-rest": "^0.8.0-beta.0",
"apollo-link-schema": "^1.2.5",
"bytes": "^3.1.0",
"graphql": "^15.1.0",
"graphql-anywhere": "^4.2.7",
"graphql-tag": "^2.10.3",
"graphql-tools": "^6.0.10",
"markdown-it": "^11.0.0",
"next": "9.4.2",
"qs": "^6.9.4",
"querystring": "^0.2.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"slugify": "^1.4.0"
@@ -45,11 +37,9 @@
"@types/react": "^16.9.35",
"babel-jest": "^26.0.1",
"babel-plugin-graphql-tag": "^2.5.0",
"dotenv": "^8.2.0",
"husky": ">=4",
"jest": "^26.0.1",
"lint-staged": ">=10",
"nconf": "^0.10.0",
"nock": "^12.0.3",
"npm-run-all": "^4.1.5",
"postcss-preset-env": "^6.7.0",