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/
|
||||
|
||||
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>
|
||||
|
||||
<script src="./src/index.js"></script>
|
||||
<script type="module" src="./src/index.js"></script>
|
||||
|
||||
<!-- <goatcounter> -->
|
||||
<script>
|
||||
|
|
|
|||
10618
package-lock.json
generated
10618
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",
|
||||
"version": "0.1.0",
|
||||
"description": "Play interactive fiction games in your browser",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"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"
|
||||
},
|
||||
"author": "He4eT",
|
||||
"license": "MIT",
|
||||
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"alias": {
|
||||
"preact/jsx-dev-runtime": "preact/jsx-runtime"
|
||||
},
|
||||
"devDependencies": {
|
||||
"buffer": "^5.7.1",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-config-preact": "^1.3.0",
|
||||
"parcel-bundler": "^1.8.1",
|
||||
"parcel-plugin-static-files-copy": "^2.6.0"
|
||||
"events": "^3.3.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": {
|
||||
"@fontsource/open-sans": "^5.0.0",
|
||||
|
|
@ -26,6 +38,6 @@
|
|||
},
|
||||
"staticFiles": {
|
||||
"staticPath": "node_modules/emglken/build",
|
||||
"excludeGlob": "*.js"
|
||||
"staticOutPath": "node_modules/emglken/build"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue