2020-04-08 20:06:59 +02:00
|
|
|
{
|
2020-04-12 18:27:01 +02:00
|
|
|
"name": "thunderhub",
|
2021-04-14 10:17:14 +02:00
|
|
|
"version": "0.12.14",
|
2020-04-12 18:27:01 +02:00
|
|
|
"description": "",
|
|
|
|
"main": "index.js",
|
2020-04-08 20:06:59 +02:00
|
|
|
"scripts": {
|
2020-05-19 07:50:16 +02:00
|
|
|
"bs": "yarn build && yarn start",
|
2020-08-03 16:31:20 +02:00
|
|
|
"dev": "next",
|
2020-04-12 18:27:01 +02:00
|
|
|
"build": "next build",
|
2020-08-03 16:31:20 +02:00
|
|
|
"start": "next start",
|
|
|
|
"start:two": "next start -p 3001",
|
2020-06-11 07:50:49 +02:00
|
|
|
"start:cookie": "sh ./scripts/initCookie.sh",
|
2020-12-16 14:05:40 +01:00
|
|
|
"start:secure": "node server/utils/secure-server.js",
|
2020-08-03 16:31:20 +02:00
|
|
|
"lint": "eslint . --ext ts --ext tsx --ext js",
|
|
|
|
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
2020-08-16 18:30:53 +02:00
|
|
|
"release": "standard-version",
|
|
|
|
"release:test": "standard-version --dry-run",
|
|
|
|
"release:minor": "standard-version --release-as minor",
|
2020-08-03 17:20:31 +02:00
|
|
|
"analyze": "npx cross-env ANALYZE=true next build",
|
2020-08-14 18:38:02 +02:00
|
|
|
"generate": "graphql-codegen --config codegen.yml",
|
2020-05-01 14:08:30 +02:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"test:coverage": "jest --coverage",
|
2020-05-12 12:16:44 +02:00
|
|
|
"build:image": "docker build --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",
|
2020-06-06 13:57:24 +02:00
|
|
|
"build:all": "sh ./scripts/buildAllImages.sh",
|
2020-05-31 11:48:03 +02:00
|
|
|
"upgrade-latest": "npx npm-check -u",
|
2020-06-05 18:50:10 +02:00
|
|
|
"tsc": "tsc",
|
|
|
|
"update": "sh ./scripts/updateToLatest.sh"
|
2020-04-08 20:06:59 +02:00
|
|
|
},
|
2020-04-12 18:27:01 +02:00
|
|
|
"keywords": [],
|
|
|
|
"author": "",
|
|
|
|
"license": "MIT",
|
2020-04-08 20:06:59 +02:00
|
|
|
"dependencies": {
|
2021-03-19 19:51:32 +01:00
|
|
|
"@apollo/client": "^3.3.12",
|
|
|
|
"@next/bundle-analyzer": "^10.0.9",
|
|
|
|
"@visx/chord": "^1.7.0",
|
|
|
|
"@visx/curve": "^1.7.0",
|
|
|
|
"@visx/event": "^1.7.0",
|
|
|
|
"@visx/group": "^1.7.0",
|
|
|
|
"@visx/responsive": "^1.7.0",
|
|
|
|
"@visx/scale": "^1.7.0",
|
|
|
|
"@visx/shape": "^1.7.0",
|
|
|
|
"@visx/tooltip": "^1.7.2",
|
|
|
|
"apollo-server-micro": "^2.21.2",
|
|
|
|
"balanceofsatoshis": "^8.0.2",
|
2020-07-15 12:14:16 +02:00
|
|
|
"bcryptjs": "^2.4.3",
|
2021-03-19 19:51:32 +01:00
|
|
|
"bech32": "^2.0.0",
|
2020-10-09 10:10:46 +02:00
|
|
|
"bip32": "^2.0.6",
|
2020-11-16 17:21:50 +01:00
|
|
|
"bip39": "^3.0.3",
|
2020-11-02 20:43:39 +01:00
|
|
|
"bitcoinjs-lib": "^5.2.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"boltz-core": "^0.4.1",
|
2020-05-11 06:21:16 +02:00
|
|
|
"cookie": "^0.4.1",
|
2020-09-23 14:47:31 +02:00
|
|
|
"crypto-js": "^4.0.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"d3-array": "^2.12.0",
|
|
|
|
"date-fns": "^2.19.0",
|
|
|
|
"graphql": "^15.5.0",
|
2020-04-12 18:27:01 +02:00
|
|
|
"graphql-iso-date": "^3.6.1",
|
|
|
|
"graphql-rate-limit": "^2.0.1",
|
2020-12-11 23:13:10 +01:00
|
|
|
"intersection-observer": "^0.12.0",
|
2020-05-11 06:21:16 +02:00
|
|
|
"js-cookie": "^2.2.1",
|
2021-01-19 23:07:33 +01:00
|
|
|
"js-yaml": "^4.0.0",
|
2020-05-19 07:50:16 +02:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"ln-service": "^51.4.0",
|
2020-04-12 18:27:01 +02:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2020-05-01 14:08:30 +02:00
|
|
|
"lodash.groupby": "^4.6.0",
|
2020-04-12 18:27:01 +02:00
|
|
|
"lodash.merge": "^4.6.2",
|
2020-06-23 07:21:54 +02:00
|
|
|
"lodash.omit": "^4.5.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"next": "^10.0.9",
|
2020-12-25 21:42:19 +01:00
|
|
|
"node-fetch": "^2.6.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"numeral": "^2.0.6",
|
2021-01-19 23:07:33 +01:00
|
|
|
"qrcode.react": "^1.0.1",
|
2020-11-02 12:27:54 +01:00
|
|
|
"react": "^17.0.1",
|
2020-06-05 18:50:10 +02:00
|
|
|
"react-circular-progressbar": "^2.0.3",
|
2021-01-19 23:07:33 +01:00
|
|
|
"react-copy-to-clipboard": "^5.0.3",
|
2020-11-02 12:27:54 +01:00
|
|
|
"react-dom": "^17.0.1",
|
2020-12-11 23:13:10 +01:00
|
|
|
"react-feather": "^2.0.9",
|
|
|
|
"react-intersection-observer": "^8.31.0",
|
2020-11-02 18:29:20 +01:00
|
|
|
"react-qr-reader": "^2.2.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"react-select": "^4.2.1",
|
|
|
|
"react-slider": "^1.1.4",
|
|
|
|
"react-spinners": "^0.10.6",
|
2020-04-12 18:27:01 +02:00
|
|
|
"react-spring": "^8.0.27",
|
2021-01-19 23:07:33 +01:00
|
|
|
"react-table": "^7.6.3",
|
2021-03-19 19:51:32 +01:00
|
|
|
"react-toastify": "^7.0.3",
|
|
|
|
"react-tooltip": "^4.2.15",
|
2020-09-25 18:50:39 +02:00
|
|
|
"secp256k1": "^4.0.2",
|
2020-12-25 21:42:19 +01:00
|
|
|
"socks-proxy-agent": "^5.0.0",
|
2020-11-02 12:27:54 +01:00
|
|
|
"styled-components": "^5.2.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"styled-react-modal": "^2.0.1",
|
|
|
|
"styled-theming": "^2.2.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"typescript": "^4.2.3",
|
|
|
|
"underscore": "^1.12.1",
|
2020-12-11 23:13:10 +01:00
|
|
|
"uuid": "^8.3.2",
|
2021-03-19 19:51:32 +01:00
|
|
|
"victory": "^35.4.12",
|
2020-08-03 16:31:20 +02:00
|
|
|
"winston": "^3.3.3"
|
2020-04-08 20:06:59 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-19 19:51:32 +01:00
|
|
|
"@babel/core": "^7.13.10",
|
|
|
|
"@commitlint/cli": "^12.0.1",
|
|
|
|
"@commitlint/config-conventional": "^12.0.1",
|
2020-12-11 23:13:10 +01:00
|
|
|
"@graphql-codegen/add": "^2.0.2",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@graphql-codegen/cli": "^1.21.3",
|
2020-12-11 23:13:10 +01:00
|
|
|
"@graphql-codegen/fragment-matcher": "^2.0.1",
|
|
|
|
"@graphql-codegen/introspection": "^1.18.1",
|
|
|
|
"@graphql-codegen/near-operation-file-preset": "^1.17.13",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@graphql-codegen/typescript": "^1.21.1",
|
|
|
|
"@graphql-codegen/typescript-operations": "^1.17.15",
|
|
|
|
"@graphql-codegen/typescript-react-apollo": "^2.2.3",
|
|
|
|
"@graphql-codegen/typescript-resolvers": "^1.19.0",
|
2021-01-19 23:07:33 +01:00
|
|
|
"@testing-library/jest-dom": "^5.11.9",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@testing-library/react": "^11.2.5",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/bcryptjs": "^2.4.2",
|
|
|
|
"@types/cookie": "^0.4.0",
|
2020-10-09 10:10:46 +02:00
|
|
|
"@types/crypto-js": "^4.0.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/d3-array": "^2.9.0",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/graphql-iso-date": "^3.4.0",
|
|
|
|
"@types/js-cookie": "^2.2.6",
|
2021-01-19 23:07:33 +01:00
|
|
|
"@types/js-yaml": "^4.0.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/jsonwebtoken": "^8.5.1",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/lodash.groupby": "^4.6.6",
|
|
|
|
"@types/lodash.merge": "^4.6.6",
|
|
|
|
"@types/lodash.omit": "^4.5.6",
|
|
|
|
"@types/lodash.sortby": "^4.7.6",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/node": "^14.14.35",
|
|
|
|
"@types/numeral": "^2.0.1",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/qrcode.react": "^1.0.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/react": "^17.0.3",
|
2020-12-11 23:13:10 +01:00
|
|
|
"@types/react-copy-to-clipboard": "^5.0.0",
|
2020-11-02 18:29:20 +01:00
|
|
|
"@types/react-qr-reader": "^2.1.3",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/react-select": "^4.0.13",
|
|
|
|
"@types/react-slider": "^1.1.1",
|
|
|
|
"@types/react-table": "^7.0.29",
|
2020-09-25 18:50:39 +02:00
|
|
|
"@types/secp256k1": "^4.0.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/styled-components": "^5.1.9",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/styled-react-modal": "^1.2.0",
|
2020-08-05 21:24:46 +02:00
|
|
|
"@types/styled-theming": "^2.2.5",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/underscore": "^1.11.0",
|
2020-08-17 07:27:46 +02:00
|
|
|
"@types/uuid": "^8.3.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
|
|
"@typescript-eslint/parser": "^4.18.0",
|
|
|
|
"apollo-server": "^2.21.2",
|
|
|
|
"apollo-server-testing": "^2.21.2",
|
2020-11-08 21:46:52 +01:00
|
|
|
"babel-jest": "^26.6.3",
|
2020-12-11 23:13:10 +01:00
|
|
|
"babel-loader": "^8.2.2",
|
2021-03-19 19:51:32 +01:00
|
|
|
"babel-plugin-inline-react-svg": "^2.0.1",
|
2020-12-11 23:13:10 +01:00
|
|
|
"babel-plugin-styled-components": "^1.12.0",
|
2020-11-02 12:27:54 +01:00
|
|
|
"babel-preset-react-app": "^10.0.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"devmoji": "^2.2.0",
|
|
|
|
"eslint": "^7.22.0",
|
|
|
|
"eslint-config-prettier": "^8.1.0",
|
2020-10-09 10:10:46 +02:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"eslint-plugin-jest": "^24.3.2",
|
2020-11-02 12:27:54 +01:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
2021-01-19 23:07:33 +01:00
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
|
|
"eslint-plugin-react": "^7.22.0",
|
2020-11-02 12:27:54 +01:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2021-03-19 19:51:32 +01:00
|
|
|
"husky": "^5.1.3",
|
2020-11-08 21:46:52 +01:00
|
|
|
"jest": "^26.6.3",
|
2020-06-13 11:46:20 +02:00
|
|
|
"jest-fetch-mock": "^3.0.3",
|
2021-03-19 19:51:32 +01:00
|
|
|
"lint-staged": "^10.5.4",
|
2020-12-11 23:13:10 +01:00
|
|
|
"prettier": "^2.2.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"standard-version": "^9.1.1"
|
2020-04-08 20:06:59 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-04-12 18:27:01 +02:00
|
|
|
"pre-commit": "lint-staged",
|
2020-05-01 14:08:30 +02:00
|
|
|
"prepare-commit-msg": "devmoji -e",
|
2020-04-12 18:27:01 +02:00
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
2020-04-08 20:06:59 +02:00
|
|
|
}
|
2020-04-12 18:27:01 +02:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.+(ts|tsx)": [
|
|
|
|
"prettier --write",
|
2020-05-01 14:08:30 +02:00
|
|
|
"jest --bail --findRelatedTests",
|
2020-05-06 22:39:36 +02:00
|
|
|
"eslint --fix"
|
2020-04-12 18:27:01 +02:00
|
|
|
]
|
2020-08-16 18:30:53 +02:00
|
|
|
},
|
|
|
|
"standard-version": {
|
|
|
|
"skip": {
|
|
|
|
"commit": true,
|
|
|
|
"tag": true
|
|
|
|
}
|
2020-04-08 20:06:59 +02:00
|
|
|
}
|
2020-05-07 19:19:08 +02:00
|
|
|
}
|