mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
154 lines
4.7 KiB
JSON
154 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": "^1.0.7",
|
|
"splatnet3-types": "^0.2.20230615193659",
|
|
"supports-color": "^8.1.1",
|
|
"tslib": "^2.6.0",
|
|
"undici": "^5.22.1",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-alias": "^5.0.0",
|
|
"@rollup/plugin-commonjs": "^25.0.2",
|
|
"@rollup/plugin-html": "^1.0.2",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"@types/body-parser": "^1.19.2",
|
|
"@types/cli-table": "^0.3.1",
|
|
"@types/debug": "^4.1.8",
|
|
"@types/discord-rpc": "^4.0.5",
|
|
"@types/eventsource": "^1.1.11",
|
|
"@types/express": "^4.17.17",
|
|
"@types/node": "^16.18.38",
|
|
"@types/node-notifier": "^8.0.2",
|
|
"@types/node-persist": "^3.1.3",
|
|
"@types/react": "^18.2.14",
|
|
"@types/react-native": "^0.71.8",
|
|
"@types/read": "^0.0.29",
|
|
"@types/yargs": "^17.0.24",
|
|
"electron": "^25.3.0",
|
|
"electron-builder": "^24.4.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-native-web": "^0.19.6",
|
|
"rollup": "^3.26.2",
|
|
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
"ts-json-schema-generator": "^1.2.0",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|