gamja-old/package.json
Simon Ser e0de4d1b36 Set targets.default.context in package.json
parcel doesn't auto-detect that field properly due to "engines".

Closes: https://todo.sr.ht/~emersion/gamja/158
2023-10-21 12:51:06 +02:00

32 lines
626 B
JSON

{
"name": "gamja",
"type": "module",
"dependencies": {
"htm": "^3.0.4",
"linkifyjs": "^3.0.2",
"preact": "^10.5.9"
},
"devDependencies": {
"@parcel/packager-raw-url": "^2.0.0",
"@parcel/transformer-webmanifest": "^2.0.0",
"node-static": "^0.7.11",
"parcel": "^2.0.0",
"split": "^1.0.1",
"ws": "^8.3.0"
},
"scripts": {
"start": "node ./dev-server.js",
"build": "parcel build"
},
"private": true,
"targets": {
"default": {
"source": "index.html",
"context": "browser",
"publicUrl": "."
}
},
"engines": {
"node": ">=14.13.0"
}
}