upgrade to parcel 2

This commit is contained in:
sunda 2022-05-06 15:10:40 +02:00
parent 16e45c3030
commit e29bc39075
3 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ public
.DS_Store
.env*
yarn.lock
.parcel-cache

View File

@ -53,7 +53,7 @@
</head>
<body>
<div id="app"></div>
<script src="./index.js"></script>
<script src="./index.js" type="module"></script>
<!-- Matomo -->
<script type="text/javascript">
var _paq = (window._paq = window._paq || [])

View File

@ -1,13 +1,11 @@
{
"name": "underscore_stream",
"version": "0.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "yarn parcel index.html",
"dev": "yarn parcel watch index.html",
"build": "parcel build index.html && cp -r static dist/static",
"deploy": "yarn parcel build; rsync rsync -aP ./dist/ inu@95.216.203.71:/media/www/stream.undersco.re/"
"build": "parcel build index.html && cp -r static dist/static"
},
"alias": {
"react": "preact/compat",
@ -26,7 +24,7 @@
"ical.js": "^1.4.0",
"markdown-to-jsx": "^7.1.2",
"preact": "^10.5.12",
"prop-types": "^15.7.2",
"prop-types": "^15.8.1",
"react-helmet": "^6.1.0",
"react-router-dom": "^5.3.0",
"striptags": "^3.2.0",
@ -35,6 +33,7 @@
},
"devDependencies": {
"@babel/eslint-parser": "^7.13.10",
"@parcel/transformer-sass": "2.5.0",
"babel": "^6.23.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
@ -42,7 +41,7 @@
"eslint-config-flying-rocket": "^1.1.1",
"marked": "^2.0.3",
"module-alias": "^2.0.3",
"parcel-bundler": "1.12.3",
"parcel": "^2.0.0",
"parcel-plugin-ogimage": "^1.2.0",
"prettier": "^1.9.1",
"sass": "^1.32.8",