mirror of
https://github.com/cupcakearmy/rauchmelder.git
synced 2024-12-22 08:06:30 +00:00
pnpm
This commit is contained in:
parent
69e89ff885
commit
758aecf88d
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,8 +3,9 @@ package-lock.json
|
|||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
|
|
||||||
.cache
|
.cache
|
||||||
|
.parcel-cache
|
||||||
dist
|
dist
|
||||||
|
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
.vercel
|
.vercel
|
||||||
|
24
package.json
24
package.json
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
@ -35,4 +35,4 @@ html, body, #root
|
|||||||
&>span
|
&>span
|
||||||
margin: 1rem
|
margin: 1rem
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
cursor pointer
|
cursor pointer
|
||||||
|
Loading…
Reference in New Issue
Block a user