This commit is contained in:
cupcakearmy 2022-03-15 12:36:59 +01:00
parent 69e89ff885
commit 758aecf88d
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
5 changed files with 14 additions and 5465 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ package-lock.json
pnpm-lock.yaml pnpm-lock.yaml
.cache .cache
.parcel-cache
dist dist
.idea .idea

View File

@ -1,24 +1,20 @@
{ {
"private": true, "private": true,
"browserslist": [
"last 2 Chrome versions",
"last 2 Safari versions",
"last 2 Firefox versions"
],
"scripts": { "scripts": {
"dev": "parcel ./src/index.html", "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": { "dependencies": {
"dayjs": "^1.10.4", "dayjs": "^1.11.0",
"react": "16.9", "react": "^17.0.2",
"react-dom": "16.9" "react-dom": "^17.0.2"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "16.9", "@parcel/transformer-stylus": "2.3.2",
"@types/react-dom": "16.9", "@types/react": "^17.0.40",
"parcel-bundler": "^1.12.4", "@types/react-dom": "^17.0.13",
"stylus": "^0.54.7", "parcel": "^2.3.2",
"typescript": "^3.7" "stylus": "^0.56.0",
"typescript": "^4.6.2"
} }
} }

View File

@ -10,6 +10,6 @@
<body> <body>
<main id="root"></main> <main id="root"></main>
<script src="./main.tsx"></script> <script type="module" src="./main.tsx"></script>
</body> </body>
</html> </html>

5448
yarn.lock

File diff suppressed because it is too large Load Diff