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.16",
|
|
"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.6.9",
|
|
"@fullerstack/nax-ipware": "^0.10.0",
|
|
"@nestjs/apollo": "^10.1.0",
|
|
"@nestjs/common": "^9.0.11",
|
|
"@nestjs/config": "^2.2.0",
|
|
"@nestjs/core": "^9.0.11",
|
|
"@nestjs/graphql": "^10.1.1",
|
|
"@nestjs/jwt": "^9.0.0",
|
|
"@nestjs/passport": "^9.0.0",
|
|
"@nestjs/platform-express": "^9.0.11",
|
|
"@nestjs/platform-socket.io": "^9.0.11",
|
|
"@nestjs/schedule": "^2.1.0",
|
|
"@nestjs/throttler": "^3.0.0",
|
|
"@nestjs/websockets": "^9.0.11",
|
|
"@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.10.0",
|
|
"apollo-server-express": "^3.10.2",
|
|
"balanceofsatoshis": "^12.30.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"bech32": "^2.0.0",
|
|
"big.js": "^6.2.1",
|
|
"bip32": "^3.0.1",
|
|
"bip39": "^3.0.4",
|
|
"bitcoinjs-lib": "^6.0.2",
|
|
"boltz-core": "^0.5.0",
|
|
"cookie": "^0.5.0",
|
|
"cross-env": "^7.0.3",
|
|
"crypto-js": "^4.1.1",
|
|
"d3-array": "^3.2.0",
|
|
"d3-time-format": "^4.1.0",
|
|
"date-fns": "^2.29.2",
|
|
"dotenv": "^16.0.2",
|
|
"ecpair": "^2.0.1",
|
|
"graphql": "^16.6.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"js-cookie": "^3.0.1",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"lightning": "^5.21.1",
|
|
"lodash": "^4.17.21",
|
|
"nest-winston": "^1.7.0",
|
|
"next": "^12.1.0",
|
|
"node-fetch": "^3.2.10",
|
|
"numeral": "^2.0.6",
|
|
"otplib": "^12.0.1",
|
|
"passport": "^0.6.0",
|
|
"passport-jwt": "^4.0.0",
|
|
"qrcode.react": "^3.1.0",
|
|
"react": "^17.0.2",
|
|
"react-circular-progressbar": "^2.1.0",
|
|
"react-copy-to-clipboard": "^5.1.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-feather": "^2.0.10",
|
|
"react-grid-layout": "^1.3.4",
|
|
"react-is": "^17.0.2",
|
|
"react-select": "^5.4.0",
|
|
"react-slider": "^1.3.1",
|
|
"react-spinners": "^0.13.4",
|
|
"react-table": "^7.8.0",
|
|
"react-toastify": "^9.0.8",
|
|
"react-tooltip": "^4.2.21",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^3.0.2",
|
|
"rxjs": "^7.5.6",
|
|
"secp256k1": "^4.0.3",
|
|
"socket.io-client": "^4.5.2",
|
|
"socks-proxy-agent": "^7.0.0",
|
|
"styled-components": "^5.3.5",
|
|
"styled-react-modal": "^3.0.0",
|
|
"styled-theming": "^2.2.0",
|
|
"tiny-secp256k1": "^2.2.1",
|
|
"uuid": "^8.3.2",
|
|
"winston": "^3.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "^2.12.0",
|
|
"@graphql-codegen/fragment-matcher": "^3.3.1",
|
|
"@graphql-codegen/introspection": "^2.2.1",
|
|
"@graphql-codegen/near-operation-file-preset": "^2.4.1",
|
|
"@graphql-codegen/typescript": "^2.7.3",
|
|
"@graphql-codegen/typescript-operations": "^2.5.3",
|
|
"@graphql-codegen/typescript-react-apollo": "^3.3.3",
|
|
"@graphql-codegen/typescript-resolvers": "^2.7.3",
|
|
"@nestjs/cli": "^9.1.3",
|
|
"@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.0",
|
|
"@types/crypto-js": "^4.1.1",
|
|
"@types/d3-array": "^3.0.3",
|
|
"@types/d3-time-format": "^4.0.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/jest": "^28.1.6",
|
|
"@types/js-cookie": "^3.0.2",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/jsonwebtoken": "^8.5.9",
|
|
"@types/lodash": "^4.14.185",
|
|
"@types/node": "^18.7.17",
|
|
"@types/numeral": "^2.0.2",
|
|
"@types/qrcode.react": "^1.0.2",
|
|
"@types/react": "^17.0.43",
|
|
"@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.12",
|
|
"@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": "^8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
"@typescript-eslint/parser": "^5.37.0",
|
|
"apollo-server": "^3.10.2",
|
|
"babel-plugin-styled-components": "^2.0.7",
|
|
"eslint": "^8.23.1",
|
|
"eslint-config-next": "^12.3.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"husky": "^8.0.1",
|
|
"jest": "^28.1.3",
|
|
"lint-staged": "^13.0.3",
|
|
"prettier": "^2.7.1",
|
|
"source-map-support": "^0.5.21",
|
|
"standard-version": "^9.5.0",
|
|
"supertest": "^6.2.4",
|
|
"ts-jest": "^28.0.8",
|
|
"ts-loader": "^9.3.1",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.0.0",
|
|
"typescript": "^4.8.3",
|
|
"ws": "^8.8.1"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|