thunderhub/package.json
2022-01-28 13:10:31 +01:00

205 lines
6.8 KiB
JSON

{
"name": "thunderhub",
"version": "0.12.31",
"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:image": "docker build --no-cache -t apotdevin/thunderhub:test-amd64 .",
"build:image:base": "docker build --build-arg BASE_PATH=/thub --no-cache -t apotdevin/thunderhub:test-amd64 .",
"build:32": "docker build --no-cache -f arm32v7.Dockerfile -t apotdevin/thunderhub:test-arm32v7 .",
"build:64": "docker build -f arm64v8.Dockerfile -t apotdevin/thunderhub:test-arm64v8 .",
"build:manifest": "docker manifest create apotdevin/thunderhub:test apotdevin/thunderhub:test-amd64 apotdevin/thunderhub:test-arm32v7 apotdevin/thunderhub:test-arm64v8",
"build:all": "sh ./scripts/buildAllImages.sh",
"build:all:next": "sh ./scripts/buildAllNextImages.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-staged": "lint-staged",
"generate": "graphql-codegen --config codegen.yml",
"test": "jest",
"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",
"prepare": "husky install"
},
"dependencies": {
"@apollo/client": "^3.5.8",
"@fullerstack/nax-ipware": "^0.0.9",
"@nestjs/common": "^8.2.6",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^8.2.6",
"@nestjs/graphql": "^9.1.2",
"@nestjs/passport": "^8.1.0",
"@nestjs/platform-express": "^8.2.6",
"@nestjs/throttler": "^2.0.0",
"@visx/axis": "^2.6.0",
"@visx/chord": "^2.1.2",
"@visx/event": "^2.6.0",
"@visx/group": "^2.1.0",
"@visx/responsive": "^2.8.0",
"@visx/scale": "^2.2.2",
"@visx/shape": "^2.4.0",
"@visx/tooltip": "^2.8.0",
"apollo-server-express": "^3.6.2",
"balanceofsatoshis": "^11.37.0",
"bcryptjs": "^2.4.3",
"bech32": "^2.0.0",
"big.js": "^6.1.1",
"bip32": "^3.0.1",
"bip39": "^3.0.4",
"bitcoinjs-lib": "^6.0.1",
"boltz-core": "^0.5.0",
"cookie": "^0.4.1",
"crypto-js": "^4.1.1",
"d3-array": "^3.1.1",
"d3-time-format": "^4.1.0",
"date-fns": "^2.28.0",
"ecpair": "^2.0.1",
"graphql": "^15.7.2",
"jest-fetch-mock": "^3.0.3",
"js-cookie": "^3.0.1",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^8.5.1",
"ln-service": "^53.6.0",
"lodash": "^4.17.21",
"nest-winston": "^1.6.2",
"next": "^12.0.9",
"node-fetch": "^3.2.0",
"numeral": "^2.0.6",
"otplib": "^12.0.1",
"passport": "^0.5.0",
"passport-jwt": "^4.0.0",
"qrcode.react": "^1.0.1",
"react": "^17.0.2",
"react-circular-progressbar": "^2.0.4",
"react-copy-to-clipboard": "^5.0.4",
"react-dom": "^17.0.2",
"react-feather": "^2.0.9",
"react-grid-layout": "^1.3.3",
"react-qr-reader": "^2.2.1",
"react-select": "^5.2.2",
"react-slider": "^1.3.1",
"react-spinners": "^0.11.0",
"react-table": "^7.7.0",
"react-toastify": "^8.1.0",
"react-tooltip": "^4.2.21",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.2",
"secp256k1": "^4.0.3",
"socks-proxy-agent": "^6.1.1",
"styled-components": "^5.3.3",
"styled-react-modal": "^2.1.0",
"styled-theming": "^2.2.0",
"tiny-secp256k1": "^2.2.0",
"uuid": "^8.3.2",
"winston": "^3.5.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.4.0",
"@graphql-codegen/fragment-matcher": "^3.2.1",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/near-operation-file-preset": "^2.2.3",
"@graphql-codegen/typescript": "^2.4.2",
"@graphql-codegen/typescript-operations": "^2.2.2",
"@graphql-codegen/typescript-react-apollo": "^3.2.4",
"@graphql-codegen/typescript-resolvers": "^2.4.3",
"@nestjs/cli": "^8.2.0",
"@nestjs/schematics": "^8.0.5",
"@nestjs/testing": "^8.2.6",
"@types/bcryptjs": "^2.4.2",
"@types/big.js": "^6.1.2",
"@types/cookie": "^0.4.1",
"@types/crypto-js": "^4.1.0",
"@types/d3-array": "^3.0.2",
"@types/d3-time-format": "^4.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/js-cookie": "^3.0.1",
"@types/js-yaml": "^4.0.5",
"@types/jsonwebtoken": "^8.5.8",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.13",
"@types/node-fetch": "^3.0.3",
"@types/numeral": "^2.0.2",
"@types/qrcode.react": "^1.0.2",
"@types/react": "^17.0.38",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-grid-layout": "^1.3.0",
"@types/react-qr-reader": "^2.1.4",
"@types/react-slider": "^1.3.1",
"@types/react-table": "^7.7.9",
"@types/secp256k1": "^4.0.3",
"@types/styled-components": "^5.1.21",
"@types/styled-react-modal": "^1.2.2",
"@types/styled-theming": "^2.2.5",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"apollo-server": "^3.6.2",
"babel-plugin-styled-components": "^2.0.2",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint-config-next": "^12.0.9",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"jest": "^27.4.7",
"lint-staged": "^12.3.2",
"prettier": "^2.5.1",
"source-map-support": "^0.5.21",
"standard-version": "^9.3.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.5.5"
},
"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",
"eslint --fix"
]
},
"standard-version": {
"skip": {
"commit": true,
"tag": true
}
}
}