mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
163 lines
5.0 KiB
JSON
163 lines
5.0 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": {
|
|
"@samuelthomas2774/saltpack": "^0.4.0",
|
|
"body-parser": "^1.20.2",
|
|
"cli-table": "^0.3.11",
|
|
"debug": "^4.3.4",
|
|
"discord-rpc": "^4.0.1",
|
|
"dotenv": "^16.4.5",
|
|
"dotenv-expand": "^11.0.6",
|
|
"env-paths": "^3.0.0",
|
|
"express": "^4.19.2",
|
|
"node-notifier": "^10.0.1",
|
|
"node-persist": "^3.1.3",
|
|
"read": "^3.0.1",
|
|
"sharp": "^0.33.3",
|
|
"splatnet3-types": "^0.2.20231119210145",
|
|
"supports-color": "^9.4.0",
|
|
"tar": "^7.4.3",
|
|
"tslib": "^2.6.2",
|
|
"undici": "^6.15.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-alias": "^5.1.0",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-html": "^1.0.3",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@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/mime-types": "^2.1.4",
|
|
"@types/node": "^20.12.7",
|
|
"@types/node-notifier": "^8.0.5",
|
|
"@types/node-persist": "^3.1.8",
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-native": "^0.72.6",
|
|
"@types/yargs": "^17.0.32",
|
|
"electron": "^30.0.1",
|
|
"electron-builder": "^24.13.3",
|
|
"i18next": "^22.4.6",
|
|
"mime-types": "^2.1.35",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-i18next": "^12.1.1",
|
|
"react-native-web": "^0.19.11",
|
|
"rollup": "^4.17.2",
|
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
"ts-json-schema-generator": "^2.1.1",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"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",
|
|
"resources/cli"
|
|
],
|
|
"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": {
|
|
"category": "Utility",
|
|
"extraFiles": [
|
|
{
|
|
"from": "resources/build/app/cli-linux.sh",
|
|
"to": "nxapi"
|
|
}
|
|
]
|
|
},
|
|
"deb": {
|
|
"afterInstall": "resources/build/app/deb/postinst",
|
|
"afterRemove": "resources/build/app/deb/postrm"
|
|
}
|
|
}
|
|
}
|