mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 09:50:03 +01:00
209 lines
6.7 KiB
JSON
209 lines
6.7 KiB
JSON
{
|
|
"name": "thunderhub",
|
|
"version": "0.13.19",
|
|
"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.7.14",
|
|
"@fullerstack/nax-ipware": "^0.10.0",
|
|
"@nestjs/apollo": "^11.0.6",
|
|
"@nestjs/common": "^9.4.2",
|
|
"@nestjs/config": "^2.3.2",
|
|
"@nestjs/core": "^9.4.2",
|
|
"@nestjs/graphql": "^11.0.6",
|
|
"@nestjs/jwt": "^10.0.3",
|
|
"@nestjs/passport": "^9.0.3",
|
|
"@nestjs/platform-express": "^9.4.2",
|
|
"@nestjs/platform-socket.io": "^9.4.2",
|
|
"@nestjs/schedule": "^2.2.2",
|
|
"@nestjs/throttler": "^4.0.0",
|
|
"@nestjs/websockets": "^9.4.2",
|
|
"@visx/axis": "^2.12.2",
|
|
"@visx/chord": "^2.10.0",
|
|
"@visx/event": "^2.6.0",
|
|
"@visx/group": "^2.10.0",
|
|
"@visx/responsive": "^2.10.0",
|
|
"@visx/scale": "^2.2.2",
|
|
"@visx/shape": "^2.12.2",
|
|
"@visx/tooltip": "^2.16.0",
|
|
"apollo-server-express": "^3.12.0",
|
|
"balanceofsatoshis": "^15.8.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.1",
|
|
"boltz-core": "^0.6.2",
|
|
"cookie": "^0.5.0",
|
|
"cross-env": "^7.0.3",
|
|
"crypto-js": "^4.1.1",
|
|
"d3-array": "^3.2.3",
|
|
"d3-time-format": "^4.1.0",
|
|
"date-fns": "^2.30.0",
|
|
"dotenv": "^16.0.3",
|
|
"ecpair": "^2.0.1",
|
|
"graphql": "^16.6.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"js-cookie": "^3.0.5",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonwebtoken": "^9.0.0",
|
|
"lightning": "^9.5.1",
|
|
"lodash": "^4.17.21",
|
|
"nest-winston": "^1.9.2",
|
|
"next": "^13.4.4",
|
|
"node-fetch": "^3.3.1",
|
|
"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.3.4",
|
|
"react-is": "^18.2.0",
|
|
"react-select": "^5.7.3",
|
|
"react-slider": "^2.0.4",
|
|
"react-spinners": "^0.13.8",
|
|
"react-table": "^7.8.0",
|
|
"react-toastify": "^9.1.3",
|
|
"react-tooltip": "^5.13.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^5.0.1",
|
|
"rxjs": "^7.5.6",
|
|
"secp256k1": "^5.0.0",
|
|
"socket.io-client": "^4.6.1",
|
|
"socks-proxy-agent": "^8.0.1",
|
|
"styled-components": "^5.3.11",
|
|
"styled-react-modal": "^3.0.1",
|
|
"styled-theming": "^2.2.0",
|
|
"tiny-secp256k1": "^2.2.1",
|
|
"uuid": "^9.0.0",
|
|
"winston": "^3.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "^4.0.0",
|
|
"@graphql-codegen/fragment-matcher": "^5.0.0",
|
|
"@graphql-codegen/introspection": "^4.0.0",
|
|
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
|
|
"@graphql-codegen/typescript": "^4.0.0",
|
|
"@graphql-codegen/typescript-operations": "^4.0.0",
|
|
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
|
|
"@graphql-codegen/typescript-resolvers": "^4.0.0",
|
|
"@nestjs/cli": "^9.5.0",
|
|
"@nestjs/schematics": "^9.0.3",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/big.js": "^6.1.6",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/cron": "^2.0.1",
|
|
"@types/crypto-js": "^4.1.1",
|
|
"@types/d3-array": "^3.0.5",
|
|
"@types/d3-time-format": "^4.0.0",
|
|
"@types/express": "^4.17.17",
|
|
"@types/jest": "^29.5.1",
|
|
"@types/js-cookie": "^3.0.3",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/jsonwebtoken": "^9.0.2",
|
|
"@types/lodash": "^4.14.195",
|
|
"@types/node": "^20.2.4",
|
|
"@types/numeral": "^2.0.2",
|
|
"@types/qrcode.react": "^1.0.2",
|
|
"@types/react": "^18.2.7",
|
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
"@types/react-grid-layout": "^1.3.2",
|
|
"@types/react-qr-reader": "^2.1.4",
|
|
"@types/react-slider": "^1.3.1",
|
|
"@types/react-table": "^7.7.14",
|
|
"@types/secp256k1": "^4.0.3",
|
|
"@types/styled-components": "^5.1.26",
|
|
"@types/styled-react-modal": "^1.2.2",
|
|
"@types/styled-theming": "^2.2.5",
|
|
"@types/supertest": "^2.0.12",
|
|
"@types/uuid": "^9.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
"@typescript-eslint/parser": "^5.59.7",
|
|
"apollo-server": "^3.12.0",
|
|
"babel-plugin-styled-components": "^2.0.7",
|
|
"eslint": "^8.41.0",
|
|
"eslint-config-next": "^13.4.4",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"husky": "^8.0.3",
|
|
"jest": "^29.5.0",
|
|
"lint-staged": "^13.2.2",
|
|
"prettier": "^2.8.8",
|
|
"source-map-support": "^0.5.21",
|
|
"standard-version": "^9.5.0",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-loader": "^9.4.3",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.0.4",
|
|
"ws": "^8.13.0"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|