mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Upgrade from Parcel 1 to Parcel 2
This commit is contained in:
parent
7a96d99055
commit
a8d48ce6b8
5 changed files with 3642 additions and 9892 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
dist/
|
dist/
|
||||||
.cache/
|
.parcel-cache/
|
||||||
|
|
|
||||||
4
.parcelrc
Normal file
4
.parcelrc
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"extends": ["@parcel/config-default"],
|
||||||
|
"reporters": ["...", "parcel-reporter-static-files-copy"]
|
||||||
|
}
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="./src/index.js"></script>
|
<script type="module" src="./src/index.js"></script>
|
||||||
|
|
||||||
<!-- <goatcounter> -->
|
<!-- <goatcounter> -->
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
10616
package-lock.json
generated
10616
package-lock.json
generated
File diff suppressed because it is too large
Load diff
22
package.json
22
package.json
|
|
@ -2,19 +2,31 @@
|
||||||
"name": "elseifplayer",
|
"name": "elseifplayer",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "Play interactive fiction games in your browser",
|
"description": "Play interactive fiction games in your browser",
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel index.html",
|
"dev": "parcel index.html",
|
||||||
"build": "parcel build index.html --out-dir docs --public-url",
|
"build": "parcel build index.html --dist-dir docs --public-url",
|
||||||
"lint": "eslint --fix src"
|
"lint": "eslint --fix src"
|
||||||
},
|
},
|
||||||
"author": "He4eT",
|
"author": "He4eT",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.0.0"
|
||||||
|
},
|
||||||
|
"alias": {
|
||||||
|
"preact/jsx-dev-runtime": "preact/jsx-runtime"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"buffer": "^5.7.1",
|
||||||
|
"crypto-browserify": "^3.12.0",
|
||||||
"eslint": "^8.41.0",
|
"eslint": "^8.41.0",
|
||||||
"eslint-config-preact": "^1.3.0",
|
"eslint-config-preact": "^1.3.0",
|
||||||
"parcel-bundler": "^1.8.1",
|
"events": "^3.3.0",
|
||||||
"parcel-plugin-static-files-copy": "^2.6.0"
|
"parcel": "^2.8.3",
|
||||||
|
"parcel-reporter-static-files-copy": "^1.5.0",
|
||||||
|
"path-browserify": "^1.0.1",
|
||||||
|
"process": "^0.11.10",
|
||||||
|
"stream-browserify": "^3.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/open-sans": "^5.0.0",
|
"@fontsource/open-sans": "^5.0.0",
|
||||||
|
|
@ -26,6 +38,6 @@
|
||||||
},
|
},
|
||||||
"staticFiles": {
|
"staticFiles": {
|
||||||
"staticPath": "node_modules/emglken/build",
|
"staticPath": "node_modules/emglken/build",
|
||||||
"excludeGlob": "*.js"
|
"staticOutPath": "node_modules/emglken/build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue