diff --git a/.gitignore b/.gitignore index 640aaa5..01faa29 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,9 @@ package-lock.json pnpm-lock.yaml .cache +.parcel-cache dist .idea .vscode -.vercel \ No newline at end of file +.vercel diff --git a/package.json b/package.json index d9a54da..f8cc87d 100755 --- a/package.json +++ b/package.json @@ -1,24 +1,20 @@ { "private": true, - "browserslist": [ - "last 2 Chrome versions", - "last 2 Safari versions", - "last 2 Firefox versions" - ], "scripts": { "dev": "parcel ./src/index.html", - "build": "parcel build --no-source-maps ./src/index.html" + "build": "rm -rf ./dist && parcel build --no-source-maps ./src/index.html" }, "dependencies": { - "dayjs": "^1.10.4", - "react": "16.9", - "react-dom": "16.9" + "dayjs": "^1.11.0", + "react": "^17.0.2", + "react-dom": "^17.0.2" }, "devDependencies": { - "@types/react": "16.9", - "@types/react-dom": "16.9", - "parcel-bundler": "^1.12.4", - "stylus": "^0.54.7", - "typescript": "^3.7" + "@parcel/transformer-stylus": "2.3.2", + "@types/react": "^17.0.40", + "@types/react-dom": "^17.0.13", + "parcel": "^2.3.2", + "stylus": "^0.56.0", + "typescript": "^4.6.2" } } diff --git a/src/index.html b/src/index.html index 1eef7e9..2ad1599 100755 --- a/src/index.html +++ b/src/index.html @@ -10,6 +10,6 @@
- +