mirror of
https://github.com/unraid/api.git
synced 2026-01-02 22:50:02 -06:00
275 lines
7.9 KiB
JSON
275 lines
7.9 KiB
JSON
{
|
|
"name": "@unraid/api",
|
|
"version": "2.27.2",
|
|
"repository": "git@github.com:unraid/api.git",
|
|
"author": "Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)",
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"build": "npm run build-app && npm run build-cli && npm run build-supervisor && npm run copy-schemas",
|
|
"build-app": "npx tsup ./app/index.ts",
|
|
"build-cli": "npx tsup ./app/cli.ts",
|
|
"build-supervisor": "npx tsup ./app/supervisor.ts",
|
|
"build-binary-step-1": "nexe --input ./dist/cli.js --output ./bin/unraid-api --make=\"-j$(nproc 2> /dev/null || echo 1)\" -r './dist/**/*' -r './node_modules/**/*' && echo '✔ Binary built: ./bin/unraid-api'",
|
|
"build-binary-step-2": "nexe --input ./dist/supervisor.js --output ./bin/unsupervisor --make=\"-j$(nproc 2> /dev/null || echo 1)\" && echo '✔ Binary built: ./bin/unsupervisor'",
|
|
"build-binary-step-3": "rm -rf ./node_modules && rm -rf ./dist && echo '✔ Source files deleted'",
|
|
"build-binary": "npm run build-binary-step-1 && npm run build-binary-step-2 && npm run build-binary-step-3",
|
|
"copy-schemas": "cpx app/**/*.graphql dist/types",
|
|
"clean": "modclean --no-progress --run --path .",
|
|
"commit": "npx git-cz",
|
|
"lint": "eslint app/**/*.ts",
|
|
"lint:quiet": "eslint --quiet",
|
|
"lint:fix": "eslint --fix",
|
|
"test": "nyc ava",
|
|
"cover": "npm run cover:types && npm run cover:unit && npm run cover:report",
|
|
"cover:types": "typescript-coverage-report && tsup ./app/cli.ts --dts",
|
|
"cover:unit": "nyc --silent npm run test",
|
|
"cover:report": "nyc report --reporter=lcov --reporter=text",
|
|
"patch": "npm-run-all patch:**",
|
|
"patch:subscriptions-transport-ws": "node ./.scripts/patches/subscriptions-transport-ws.js",
|
|
"release": "standard-version",
|
|
"update-bundle-dependencies": "bundle-dependencies update"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
".env.staging",
|
|
".env.production"
|
|
],
|
|
"dependencies": {
|
|
"@apollo/client": "^3.3.17",
|
|
"@graphql-tools/load-files": "^6.3.2",
|
|
"@graphql-tools/merge": "^6.2.14",
|
|
"@gridplus/docker-events": "github:OmgImAlexis/docker-events",
|
|
"@schemastore/package": "0.0.6",
|
|
"@sentry/node": "^6.3.6",
|
|
"accesscontrol": "^2.2.1",
|
|
"ain2": "^3.0.0",
|
|
"am": "^1.1.0",
|
|
"apollo-server": "2.25.2",
|
|
"apollo-server-express": "2.25.2",
|
|
"async-exit-hook": "^2.0.1",
|
|
"async-mutex": "^0.3.0",
|
|
"btoa": "^1.2.1",
|
|
"bycontract": "^2.0.10",
|
|
"bytes": "^3.1.0",
|
|
"camelcase": "6.2.0",
|
|
"camelcase-keys": "^7.0.0",
|
|
"catch-exit": "^1.2.2",
|
|
"chokidar": "^3.5.1",
|
|
"clean-cache": "github:OmgImAlexis/clean-cache#master",
|
|
"clear-module": "^4.1.1",
|
|
"cli-table": "^0.3.4",
|
|
"cross-fetch": "^3.1.4",
|
|
"deepmerge": "^4.2.2",
|
|
"dl-tgz": "^0.7.1",
|
|
"dockerode": "^3.3.0",
|
|
"dot-prop": "^6.0.1",
|
|
"dotenv": "^10.0.0",
|
|
"execa": "^5.1.1",
|
|
"express": "^4.17.1",
|
|
"express-list-endpoints": "^5.0.0",
|
|
"fetch-retry": "^4.1.1",
|
|
"filter-obj": "^2.0.2",
|
|
"find-process": "^1.4.4",
|
|
"flatten": "^1.0.3",
|
|
"get-server-address": "^1.0.1",
|
|
"glob": "^7.1.7",
|
|
"globby": "^11.0.3",
|
|
"graceful-ws": "github:OmgImAlexis/graceful-ws",
|
|
"graphql": "^15.5.0",
|
|
"graphql-directive": "^0.2.1",
|
|
"graphql-fields": "^2.0.3",
|
|
"graphql-iso-date": "^3.6.1",
|
|
"graphql-subscriptions-client": "OmgImAlexis/graphql-subscriptions-client#master",
|
|
"graphql-tag": "^2.11.0",
|
|
"graphql-type-json": "^0.3.2",
|
|
"graphql-type-long": "^0.1.1",
|
|
"graphql-type-uuid": "^0.2.0",
|
|
"htpasswd-js": "^1.0.2",
|
|
"ini": "^2.0.0",
|
|
"launchdarkly-eventsource": "^1.4.1",
|
|
"lodash.get": "^4.4.2",
|
|
"map-obj": "^4.2.1",
|
|
"micromongo": "^0.3.1",
|
|
"mqtt": "github:OmgImAlexis/MQTT.js#master",
|
|
"multi-ini": "^2.1.2",
|
|
"mustache": "^4.2.0",
|
|
"nanobus": "^4.5.0",
|
|
"nchan": "^1.0.10",
|
|
"node-cache": "5.1.2",
|
|
"node-fetch": "^2.6.1",
|
|
"node-forge": "^0.10.0",
|
|
"node-window-polyfill": "^1.0.2",
|
|
"number-to-color": "^0.5.0",
|
|
"observable-to-promise": "^1.0.0",
|
|
"p-iteration": "^1.1.8",
|
|
"package-json": "^7.0.0",
|
|
"path-exists": "^4.0.0",
|
|
"pidusage": "^2.0.21",
|
|
"pretty-bytes": "^5.6.0",
|
|
"pretty-ms": "^7.0.1",
|
|
"redact-secrets": "OmgImAlexis/redact-secrets#master",
|
|
"request": "^2.88.2",
|
|
"request-promise-native": "^1.0.9",
|
|
"semver": "^7.3.5",
|
|
"sendmail": "^1.6.1",
|
|
"set-interval-async": "^2.0.3",
|
|
"spread-the-word": "^0.8.4",
|
|
"stoppable": "^1.1.0",
|
|
"subscriptions-transport-ws": "^0.9.18",
|
|
"systeminformation": "^5.6.20",
|
|
"ts-command-line-args": "^2.1.0",
|
|
"upcast": "^4.0.0",
|
|
"uuid": "^8.3.2",
|
|
"uuid-apikey": "^1.5.2",
|
|
"xhr2": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^13.1.0",
|
|
"@commitlint/config-conventional": "^12.1.4",
|
|
"@types/btoa": "^1.2.3",
|
|
"@types/cli-table": "^0.3.0",
|
|
"@types/dockerode": "^3.2.7",
|
|
"@types/lodash.get": "^4.4.6",
|
|
"@types/ms": "^0.7.31",
|
|
"@types/node": "^16.6.1",
|
|
"@types/pify": "^5.0.1",
|
|
"@types/semver-regex": "^3.1.0",
|
|
"@types/stoppable": "^1.1.0",
|
|
"@types/supertest": "^2.0.11",
|
|
"@types/uuid": "^8.3.0",
|
|
"@unraid/eslint-config": "github:unraid/eslint-config#main",
|
|
"ava": "^3.15.0",
|
|
"ava-env": "^2.0.2",
|
|
"bundle-dependencies": "^1.0.2",
|
|
"clean-stack": "^4.1.0",
|
|
"command-exists": "^1.2.9",
|
|
"cpx": "1.5.0",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"dedent-tabs": "^0.9.0",
|
|
"eslint": "^7.32.0",
|
|
"fkill": "^7.2.1",
|
|
"interval-to-human": "^0.1.1",
|
|
"modclean": "^3.0.0-beta.1",
|
|
"ms": "^2.1.3",
|
|
"nanocolors": "^0.2.12",
|
|
"node-env-run": "^4.0.2",
|
|
"nyc": "^15.1.0",
|
|
"p-each-series": "^3.0.0",
|
|
"p-props": "^5.0.0",
|
|
"path-type": "^5.0.0",
|
|
"pify": "^5.0.0",
|
|
"ps-list": "^7.2.0",
|
|
"source-map-support": "0.5.19",
|
|
"standard-version": "^9.1.1",
|
|
"supertest": "^6.1.3",
|
|
"tempy": "^1.0.1",
|
|
"ts-node": "10.1.0",
|
|
"tsup": "^5.2.1",
|
|
"typescript": "4.3.5",
|
|
"typescript-coverage-report": "^0.6.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@vmngr/libvirt": "github:omgimalexis/libvirt"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"bundledDependencies": [
|
|
"@apollo/client",
|
|
"@graphql-tools/load-files",
|
|
"@graphql-tools/merge",
|
|
"@gridplus/docker-events",
|
|
"@schemastore/package",
|
|
"@sentry/node",
|
|
"accesscontrol",
|
|
"ain2",
|
|
"am",
|
|
"apollo-server",
|
|
"apollo-server-express",
|
|
"async-exit-hook",
|
|
"async-mutex",
|
|
"btoa",
|
|
"bycontract",
|
|
"bytes",
|
|
"camelcase",
|
|
"camelcase-keys",
|
|
"catch-exit",
|
|
"chokidar",
|
|
"clean-cache",
|
|
"clear-module",
|
|
"cli-table",
|
|
"command-exists",
|
|
"cross-fetch",
|
|
"dedent-tabs",
|
|
"deepmerge",
|
|
"dl-tgz",
|
|
"dockerode",
|
|
"dot-prop",
|
|
"dotenv",
|
|
"execa",
|
|
"express",
|
|
"express-list-endpoints",
|
|
"fetch-retry",
|
|
"filter-obj",
|
|
"find-process",
|
|
"flatten",
|
|
"get-server-address",
|
|
"glob",
|
|
"globby",
|
|
"graceful-ws",
|
|
"graphql",
|
|
"graphql-directive",
|
|
"graphql-fields",
|
|
"graphql-iso-date",
|
|
"graphql-subscriptions-client",
|
|
"graphql-tag",
|
|
"graphql-type-json",
|
|
"graphql-type-long",
|
|
"graphql-type-uuid",
|
|
"htpasswd-js",
|
|
"ini",
|
|
"launchdarkly-eventsource",
|
|
"lodash.get",
|
|
"map-obj",
|
|
"micromongo",
|
|
"mqtt",
|
|
"ms",
|
|
"multi-ini",
|
|
"mustache",
|
|
"nanobus",
|
|
"nchan",
|
|
"node-cache",
|
|
"node-fetch",
|
|
"node-forge",
|
|
"node-window-polyfill",
|
|
"number-to-color",
|
|
"observable-to-promise",
|
|
"p-iteration",
|
|
"package-json",
|
|
"path-exists",
|
|
"pidusage",
|
|
"pify",
|
|
"pretty-bytes",
|
|
"pretty-ms",
|
|
"redact-secrets",
|
|
"request",
|
|
"request-promise-native",
|
|
"semver",
|
|
"sendmail",
|
|
"set-interval-async",
|
|
"spread-the-word",
|
|
"stoppable",
|
|
"subscriptions-transport-ws",
|
|
"systeminformation",
|
|
"tempy",
|
|
"ts-command-line-args",
|
|
"upcast",
|
|
"uuid",
|
|
"uuid-apikey",
|
|
"xhr2"
|
|
]
|
|
}
|