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 .DS_Store
.env* .env*
yarn.lock yarn.lock
.parcel-cache

View File

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

View File

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