mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 09:50:03 +01:00
203 lines
6.5 KiB
JSON
203 lines
6.5 KiB
JSON
{
|
|
"name": "thunderhub",
|
|
"version": "0.13.28",
|
|
"description": "Lightning Node Manager",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist && rimraf .next",
|
|
"build": "npm run build:nest && npm run build:next",
|
|
"build:nest": "nest build",
|
|
"build:next": "cd src/client && next build",
|
|
"build:all": "sh ./scripts/buildMultiArchImage.sh",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "cross-env NODE_ENV=production nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"start:prod:env": "NODE_ENV=production node dist/main",
|
|
"release": "standard-version",
|
|
"release:test": "standard-version --dry-run",
|
|
"release:minor": "standard-version --release-as minor",
|
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
|
"lint-staged": "lint-staged",
|
|
"generate": "graphql-codegen --config codegen.yml",
|
|
"test": "jest --passWithNoTests",
|
|
"test:watch": "jest --watch",
|
|
"test:cov": "jest --coverage",
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
"upgrade-latest": "npx npm-check -u",
|
|
"update": "sh ./scripts/updateToLatest.sh",
|
|
"build:image": "docker build --pull --rm -f Dockerfile -t thunderhub:testing '.'",
|
|
"build:image:base": "docker build --pull --rm -f Dockerfile --build-arg BASE_PATH=/thub -t thunderhub:testing .",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/client": "^3.8.8",
|
|
"@fullerstack/nax-ipware": "^0.10.0",
|
|
"@nestjs/apollo": "^12.0.11",
|
|
"@nestjs/common": "^10.2.10",
|
|
"@nestjs/config": "^3.1.1",
|
|
"@nestjs/core": "^10.2.10",
|
|
"@nestjs/graphql": "^12.0.11",
|
|
"@nestjs/jwt": "^10.2.0",
|
|
"@nestjs/passport": "^10.0.2",
|
|
"@nestjs/platform-express": "^10.2.10",
|
|
"@nestjs/platform-socket.io": "^10.2.10",
|
|
"@nestjs/schedule": "^4.0.0",
|
|
"@nestjs/throttler": "^5.0.1",
|
|
"@nestjs/websockets": "^10.2.10",
|
|
"@tanstack/react-table": "^8.10.7",
|
|
"apollo-server-express": "^3.13.0",
|
|
"balanceofsatoshis": "^17.5.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"bech32": "^2.0.0",
|
|
"big.js": "^6.2.1",
|
|
"bip32": "^4.0.0",
|
|
"bip39": "^3.1.0",
|
|
"bitcoinjs-lib": "^6.1.5",
|
|
"boltz-core": "^1.0.4",
|
|
"cookie": "^0.6.0",
|
|
"cross-env": "^7.0.3",
|
|
"crypto-js": "^4.1.1",
|
|
"d3-array": "^3.2.4",
|
|
"d3-time-format": "^4.1.0",
|
|
"dataloader": "^2.2.2",
|
|
"date-fns": "^2.30.0",
|
|
"dotenv": "^16.3.1",
|
|
"echarts": "^5.4.3",
|
|
"echarts-for-react": "^3.0.2",
|
|
"ecpair": "^2.0.1",
|
|
"graphql": "^16.8.1",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"js-cookie": "^3.0.5",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lightning": "^10.1.3",
|
|
"lodash": "^4.17.21",
|
|
"nest-winston": "^1.9.4",
|
|
"next": "^13.5.5",
|
|
"node-fetch": "^3.3.2",
|
|
"numeral": "^2.0.6",
|
|
"otplib": "^12.0.1",
|
|
"passport": "^0.6.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"qrcode.react": "^3.1.0",
|
|
"react": "^18.2.0",
|
|
"react-circular-progressbar": "^2.1.0",
|
|
"react-copy-to-clipboard": "^5.1.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-feather": "^2.0.10",
|
|
"react-grid-layout": "^1.4.4",
|
|
"react-is": "^18.2.0",
|
|
"react-select": "^5.8.0",
|
|
"react-slider": "^2.0.6",
|
|
"react-spinners": "^0.13.8",
|
|
"react-toastify": "^9.1.3",
|
|
"react-tooltip": "^5.24.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^5.0.5",
|
|
"rxjs": "^7.5.6",
|
|
"secp256k1": "^5.0.0",
|
|
"socket.io-client": "^4.7.2",
|
|
"socks-proxy-agent": "^8.0.1",
|
|
"styled-components": "^6.1.1",
|
|
"styled-react-modal": "^3.0.1",
|
|
"styled-theming": "^2.2.0",
|
|
"stylis": "^4.3.0",
|
|
"tiny-secp256k1": "^2.2.3",
|
|
"uuid": "^9.0.1",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "^5.0.0",
|
|
"@graphql-codegen/fragment-matcher": "^5.0.0",
|
|
"@graphql-codegen/introspection": "^4.0.0",
|
|
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
|
|
"@graphql-codegen/typescript": "^4.0.1",
|
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
|
"@graphql-codegen/typescript-react-apollo": "^4.1.0",
|
|
"@graphql-codegen/typescript-resolvers": "^4.0.1",
|
|
"@nestjs/cli": "^10.2.1",
|
|
"@nestjs/schematics": "^10.0.3",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/big.js": "^6.2.2",
|
|
"@types/cookie": "^0.6.0",
|
|
"@types/cron": "^2.4.0",
|
|
"@types/crypto-js": "^4.2.1",
|
|
"@types/d3-array": "^3.2.1",
|
|
"@types/d3-time-format": "^4.0.3",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^29.5.10",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/lodash": "^4.14.202",
|
|
"@types/node": "^20.10.1",
|
|
"@types/numeral": "^2.0.5",
|
|
"@types/qrcode.react": "^1.0.5",
|
|
"@types/react": "^18.2.39",
|
|
"@types/react-copy-to-clipboard": "^5.0.7",
|
|
"@types/react-grid-layout": "^1.3.5",
|
|
"@types/react-qr-reader": "^2.1.7",
|
|
"@types/react-slider": "^1.3.5",
|
|
"@types/secp256k1": "^4.0.6",
|
|
"@types/styled-react-modal": "^1.2.5",
|
|
"@types/styled-theming": "^2.2.8",
|
|
"@types/supertest": "^2.0.16",
|
|
"@types/uuid": "^9.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
"@typescript-eslint/parser": "^6.13.1",
|
|
"apollo-server": "^3.13.0",
|
|
"babel-plugin-styled-components": "^2.1.4",
|
|
"eslint": "^8.54.0",
|
|
"eslint-config-next": "^14.0.3",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"husky": "^8.0.3",
|
|
"jest": "^29.7.0",
|
|
"lint-staged": "^15.1.0",
|
|
"prettier": "^3.1.0",
|
|
"source-map-support": "^0.5.21",
|
|
"standard-version": "^9.5.0",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.3.2",
|
|
"ws": "^8.14.2"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
},
|
|
"lint-staged": {
|
|
"*.+(ts|tsx)": [
|
|
"prettier --write",
|
|
"jest --bail --findRelatedTests --passWithNoTests",
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"standard-version": {
|
|
"skip": {
|
|
"commit": true,
|
|
"tag": true
|
|
}
|
|
}
|
|
}
|