nxapi/package.json
2023-12-27 16:40:40 +00:00

155 lines
4.7 KiB
JSON

{
"name": "nxapi",
"version": "1.6.1",
"description": "Nintendo Switch app APIs",
"license": "AGPL-3.0-or-later",
"author": "Samuel Elliott <samuel+nxapi@fancy.org.uk>",
"main": "dist/index.js",
"type": "module",
"repository": {
"type": "git",
"url": "git@gitlab.fancy.org.uk:samuel/nxapi.git"
},
"homepage": "https://gitlab.fancy.org.uk/samuel/nxapi",
"bugs": "https://github.com/samuelthomas2774/nxapi/issues",
"files": [
"dist",
"!dist/app",
"!dist/bundle",
"resources/cli",
"resources/common",
"bin"
],
"exports": {
".": "./dist/exports/index.js",
"./nintendo-account": "./dist/exports/nintendo-account.js",
"./coral": "./dist/exports/coral.js",
"./moon": "./dist/exports/moon.js",
"./splatnet2": "./dist/exports/splatnet2.js",
"./nooklink": "./dist/exports/nooklink.js",
"./splatnet3": "./dist/exports/splatnet3.js"
},
"bin": {
"nxapi": "bin/nxapi.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"body-parser": "^1.20.2",
"cli-table": "^0.3.11",
"debug": "^4.3.4",
"discord-rpc": "^4.0.1",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
"env-paths": "^3.0.0",
"express": "^4.18.2",
"node-notifier": "^10.0.1",
"node-persist": "^3.1.3",
"read": "^3.0.0",
"sharp": "^0.33.1",
"splatnet3-types": "^0.2.20231119210145",
"supports-color": "^8.1.1",
"tslib": "^2.6.2",
"undici": "^5.27.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.0.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-html": "^1.0.3",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@types/body-parser": "^1.19.5",
"@types/cli-table": "^0.3.4",
"@types/debug": "^4.1.12",
"@types/discord-rpc": "^4.0.8",
"@types/eventsource": "^1.1.15",
"@types/express": "^4.17.21",
"@types/node": "^18.18.10",
"@types/node-notifier": "^8.0.5",
"@types/node-persist": "^3.1.6",
"@types/react": "^18.2.37",
"@types/react-native": "^0.72.6",
"@types/yargs": "^17.0.31",
"electron": "^26.6.0",
"electron-builder": "^24.6.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-native-web": "^0.19.9",
"rollup": "^3.29.4",
"rollup-plugin-polyfill-node": "^0.12.0",
"ts-json-schema-generator": "^1.4.0",
"typescript": "^5.2.2"
},
"build": {
"appId": "uk.org.fancy.nxapi.app",
"productName": "Nintendo Switch Online",
"copyright": "Copyright © 2023 Samuel Elliott",
"npmRebuild": false,
"files": [
"dist/app/bundle",
"dist/bundle",
"!dist/app/package",
"!**/node_modules/**/*",
"resources/app",
"resources/common",
"!resources/common/remote-config.json"
],
"asar": false,
"extraMetadata": {
"name": "nxapi-app",
"main": "dist/bundle/app-entry.cjs",
"dependencies": {},
"optionalDependencies": {},
"devDependencies": {}
},
"directories": {
"output": "dist/app/package"
},
"protocols": [
{
"name": "Nintendo Switch Online",
"schemes": [
"com.nintendo.znca"
]
},
{
"name": "Nintendo Account authentication for Nintendo Switch Online",
"schemes": [
"npf71b963c1b7b6d119"
]
},
{
"name": "Nintendo Account authentication for Nintendo Switch Parental Controls",
"schemes": [
"npf54789befb391a838"
]
}
],
"publish": [],
"mac": {
"extraFiles": [
{
"from": "resources/build/app/cli-macos.sh",
"to": "bin/nxapi"
}
],
"identity": null
},
"linux": {
"extraFiles": [
{
"from": "resources/build/app/cli-linux.sh",
"to": "nxapi"
}
]
},
"deb": {
"afterInstall": "resources/build/app/deb/postinst",
"afterRemove": "resources/build/app/deb/postrm"
}
}
}