use type=module in package.json

to allow for import statements in future scripts
This commit is contained in:
Arturo Cuya 2023-11-26 11:52:02 -05:00
parent 525485b78f
commit 8c703a8dc3
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{
"name": "jellyfin-roku",
"type": "module",
"version": "1.6.6",
"description": "Roku app for Jellyfin media server",
"dependencies": {
@ -37,7 +38,7 @@
"lint-markdown": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
"lint-spelling": "spellchecker -d dictionary.txt --files \"**/*.md\" \"**/.*/**/*.md\" \"!node_modules/**/*.md\"",
"postinstall": "npm run ropm",
"ropm": "ropm copy && node scripts/ropm-hook.js",
"ropm": "ropm copy && node scripts/ropm-hook.cjs",
"validate": "npx bsc --copy-to-staging=false --create-package=false"
},
"repository": {
@ -54,4 +55,4 @@
"url": "https://github.com/jellyfin/jellyfin-roku/issues"
},
"homepage": "https://github.com/jellyfin/jellyfin-roku"
}
}