aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLoek Le Blansch <32883851+lonkaars@users.noreply.github.com>2021-01-31 14:33:50 +0100
committerGitHub <noreply@github.com>2021-01-31 14:33:50 +0100
commit75255cd0085e4d7457a7af45e6192c6cfaf5e6e5 (patch)
treef3dd2503199729941355b662f3799b67e06f2485 /package.json
parentcd876e0e3000855cf407eee86b9a4d46e8875d91 (diff)
parent8de79c8869b254992e5c6df391c5ebd1e1da2f1a (diff)
Merge pull request #2 from lonkaars/nextjs
move from react routing thingy to next.js
Diffstat (limited to 'package.json')
-rw-r--r--package.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/package.json b/package.json
index 19859f6..be14a14 100644
--- a/package.json
+++ b/package.json
@@ -13,19 +13,20 @@
"@types/uuid": "^8.3.0",
"axios": "^0.21.1",
"email-validator": "^2.0.4",
+ "next": "^10.0.5",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
+ "swr": "^0.4.0",
"typescript": "^4.1.3",
"uuid": "^8.3.2",
"web-vitals": "^0.2.4"
},
"scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test",
- "eject": "react-scripts eject"
+ "dev": "next dev",
+ "build": "next build",
+ "start": "next start"
},
"eslintConfig": {
"extends": [
@@ -45,7 +46,6 @@
"last 1 safari version"
]
},
- "proxy": "http://localhost:5000",
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",