mirror of
https://github.com/unraid/api.git
synced 2026-01-02 06:30:02 -06:00
256 lines
6.6 KiB
JSON
256 lines
6.6 KiB
JSON
{
|
|
"name": "@unraid/api",
|
|
"version": "2.15.14",
|
|
"main": "dist/index.js",
|
|
"repository": "git@github.com:unraid/api.git",
|
|
"author": "Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)",
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"build": "npm run bundle && npm run copy-schemas",
|
|
"bundle": "npx tsup ./app/index.ts",
|
|
"bundle-minify": "npx tsup ./app/index.ts --minify",
|
|
"bundle-dependencies": "bundle-dependencies update",
|
|
"copy-schemas": "cpx app/**/*.graphql dist/types",
|
|
"clean": "modclean --no-progress --run --path .",
|
|
"commit": "npx git-cz",
|
|
"lint": "xo --verbose",
|
|
"lint:quiet": "xo --quiet",
|
|
"lint:fix": "xo --fix",
|
|
"test": "npx nyc@latest ava",
|
|
"cover": "npm run cover:unit && npm run cover:integration && npm run cover:report",
|
|
"cover:unit": "nyc --silent npm run test:unit",
|
|
"cover:integration": "nyc --silent --no-clean npm run test:integration",
|
|
"cover:types": "typescript-coverage-report",
|
|
"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"
|
|
},
|
|
"files": [
|
|
".env.staging",
|
|
".env.production",
|
|
"dist",
|
|
"index.js",
|
|
"ecosystem.config.js"
|
|
],
|
|
"dependencies": {
|
|
"@apollo/client": "^3.3.6",
|
|
"@graphql-tools/load-files": "^6.2.5",
|
|
"@graphql-tools/merge": "^6.2.6",
|
|
"@gridplus/docker-events": "OmgImAlexis/docker-events#master",
|
|
"@schemastore/package": "0.0.6",
|
|
"@sentry/node": "^5.29.0",
|
|
"accesscontrol": "^2.2.1",
|
|
"ain2": "^3.0.0",
|
|
"am": "^1.1.0",
|
|
"apollo-server": "2.19.0",
|
|
"apollo-server-express": "2.19.0",
|
|
"async-exit-hook": "^2.0.1",
|
|
"async-mutex": "^0.2.6",
|
|
"bycontract": "^2.0.10",
|
|
"bytes": "^3.1.0",
|
|
"camelcase": "6.2.0",
|
|
"camelcase-keys": "^6.2.2",
|
|
"chalk": "^4.1.0",
|
|
"chokidar": "^3.4.3",
|
|
"clean-cache": "github:OmgImAlexis/clean-cache#master",
|
|
"clear-module": "^4.1.1",
|
|
"cli-table": "^0.3.4",
|
|
"command-exists": "^1.2.9",
|
|
"cross-fetch": "^3.0.6",
|
|
"daemonize-process": "^3.0.0",
|
|
"deepmerge": "^4.2.2",
|
|
"dl-tgz": "^0.7.1",
|
|
"dockerode": "^3.2.1",
|
|
"dot-prop": "^6.0.1",
|
|
"dotenv": "^8.2.0",
|
|
"execa": "^5.0.0",
|
|
"express": "^4.17.1",
|
|
"express-list-endpoints": "^5.0.0",
|
|
"filter-obj": "^2.0.1",
|
|
"flatten": "^1.0.3",
|
|
"get-current-line": "^6.3.0",
|
|
"get-server-address": "^1.0.1",
|
|
"glob": "^7.1.6",
|
|
"globby": "^11.0.1",
|
|
"graphql": "^15.4.0",
|
|
"graphql-directive": "^0.2.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": "^1.3.7",
|
|
"lodash.get": "^4.4.2",
|
|
"logger": "github:unraid/logger#master",
|
|
"map-obj": "^4.1.0",
|
|
"micromongo": "^0.3.1",
|
|
"mqtt": "github:OmgImAlexis/MQTT.js#master",
|
|
"ms": "^2.1.3",
|
|
"multi-ini": "^2.1.1",
|
|
"mustache": "^4.1.0",
|
|
"nanobus": "^4.4.0",
|
|
"node-cache": "5.1.2",
|
|
"node-fetch": "^2.6.1",
|
|
"number-to-color": "^0.4.1",
|
|
"observable-to-promise": "^1.0.0",
|
|
"os-uptime": "^2.0.2",
|
|
"p-iteration": "^1.1.8",
|
|
"p-props": "^4.0.0",
|
|
"p-wait-for": "^3.1.0",
|
|
"package-json": "^6.5.0",
|
|
"path-exists": "^4.0.0",
|
|
"path-type": "^4.0.0",
|
|
"pify": "^5.0.0",
|
|
"pretty-bytes": "^5.4.1",
|
|
"pretty-ms": "^7.0.1",
|
|
"redact-secrets": "OmgImAlexis/redact-secrets#master",
|
|
"request": "^2.88.2",
|
|
"request-promise-native": "^1.0.9",
|
|
"semver": "^7.3.4",
|
|
"sendmail": "^1.6.1",
|
|
"set-interval-async": "^1.0.33",
|
|
"spread-the-word": "^0.8.4",
|
|
"stoppable": "^1.1.0",
|
|
"subscriptions-transport-ws": "^0.9.18",
|
|
"systeminformation": "^4.31.1",
|
|
"tracer": "^1.1.4",
|
|
"unix-dgram": "^2.0.4",
|
|
"upcast": "^4.0.0",
|
|
"uuid": "^8.3.2",
|
|
"uuid-apikey": "^1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@types/lodash.get": "^4.4.6",
|
|
"@types/semver-regex": "^3.1.0",
|
|
"@types/stoppable": "^1.1.0",
|
|
"@types/supertest": "^2.0.10",
|
|
"@types/uuid": "^8.3.0",
|
|
"ava": "^3.14.0",
|
|
"ava-env": "^2.0.2",
|
|
"bundle-dependencies": "^1.0.2",
|
|
"cpx": "1.5.0",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"husky": "4.3.6",
|
|
"modclean": "^3.0.0-beta.1",
|
|
"node-env-run": "^4.0.2",
|
|
"p-each-series": "^2.2.0",
|
|
"source-map-support": "0.5.19",
|
|
"standard-version": "^9.0.0",
|
|
"supertest": "^6.0.1",
|
|
"ts-node": "9.1.1",
|
|
"typescript": "4.1.3",
|
|
"typescript-coverage-report": "^0.3.1",
|
|
"xo": "0.36.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"libvirt": "^1.2.1"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"xo": {
|
|
"rules": {
|
|
"max-params": 0
|
|
}
|
|
},
|
|
"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",
|
|
"bycontract",
|
|
"bytes",
|
|
"camelcase",
|
|
"camelcase-keys",
|
|
"chalk",
|
|
"chokidar",
|
|
"clean-cache",
|
|
"clear-module",
|
|
"cli-table",
|
|
"command-exists",
|
|
"cross-fetch",
|
|
"daemonize-process",
|
|
"deepmerge",
|
|
"dl-tgz",
|
|
"dockerode",
|
|
"dot-prop",
|
|
"dotenv",
|
|
"execa",
|
|
"express",
|
|
"express-list-endpoints",
|
|
"filter-obj",
|
|
"flatten",
|
|
"get-current-line",
|
|
"get-server-address",
|
|
"glob",
|
|
"globby",
|
|
"graphql",
|
|
"graphql-directive",
|
|
"graphql-subscriptions-client",
|
|
"graphql-tag",
|
|
"graphql-type-json",
|
|
"graphql-type-long",
|
|
"graphql-type-uuid",
|
|
"htpasswd-js",
|
|
"ini",
|
|
"lodash.get",
|
|
"logger",
|
|
"map-obj",
|
|
"micromongo",
|
|
"mqtt",
|
|
"ms",
|
|
"multi-ini",
|
|
"mustache",
|
|
"nanobus",
|
|
"node-cache",
|
|
"node-fetch",
|
|
"number-to-color",
|
|
"observable-to-promise",
|
|
"os-uptime",
|
|
"p-iteration",
|
|
"p-props",
|
|
"p-wait-for",
|
|
"package-json",
|
|
"path-exists",
|
|
"path-type",
|
|
"pify",
|
|
"pretty-bytes",
|
|
"pretty-ms",
|
|
"redact-secrets",
|
|
"request",
|
|
"request-promise-native",
|
|
"semver",
|
|
"sendmail",
|
|
"set-interval-async",
|
|
"spread-the-word",
|
|
"stoppable",
|
|
"subscriptions-transport-ws",
|
|
"systeminformation",
|
|
"tracer",
|
|
"unix-dgram",
|
|
"upcast",
|
|
"uuid",
|
|
"uuid-apikey"
|
|
]
|
|
}
|