2020-04-08 20:06:59 +02:00
|
|
|
{
|
2020-04-12 18:27:01 +02:00
|
|
|
"name": "thunderhub",
|
2021-07-24 12:13:34 +02:00
|
|
|
"version": "0.12.23",
|
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",
|
2021-07-04 19:32:38 +02:00
|
|
|
"lint-staged": "lint-staged",
|
2020-08-03 16:31:20 +02:00
|
|
|
"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",
|
2021-07-04 19:32:38 +02:00
|
|
|
"update": "sh ./scripts/updateToLatest.sh",
|
|
|
|
"prepare": "husky install"
|
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-07-24 12:03:30 +02:00
|
|
|
"@apollo/client": "^3.3.21",
|
2021-06-01 22:53:06 +02:00
|
|
|
"@emotion/babel-plugin": "^11.3.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@visx/axis": "^1.17.1",
|
|
|
|
"@visx/chord": "^1.17.1",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@visx/curve": "^1.7.0",
|
|
|
|
"@visx/event": "^1.7.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@visx/group": "^1.17.1",
|
2021-06-01 22:53:06 +02:00
|
|
|
"@visx/responsive": "^1.10.1",
|
2021-07-04 19:32:38 +02:00
|
|
|
"@visx/scale": "^1.14.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@visx/shape": "^1.17.1",
|
|
|
|
"@visx/tooltip": "^1.17.1",
|
2021-07-04 19:32:38 +02:00
|
|
|
"apollo-server-micro": "^2.25.2",
|
2021-07-24 12:03:30 +02:00
|
|
|
"balanceofsatoshis": "^10.7.1",
|
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",
|
2021-06-01 22:53:06 +02:00
|
|
|
"bip39": "^3.0.4",
|
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",
|
2021-07-24 12:03:30 +02:00
|
|
|
"crypto-js": "^4.1.1",
|
2021-04-24 12:51:52 +02:00
|
|
|
"d3-array": "^2.12.1",
|
2021-06-17 11:42:40 +02:00
|
|
|
"d3-time-format": "^3.0.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"date-fns": "^2.23.0",
|
2021-06-21 11:34:26 +02:00
|
|
|
"graphql": "^15.5.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"graphql-iso-date": "^3.6.1",
|
2021-07-04 19:16:25 +02:00
|
|
|
"graphql-middleware": "^6.0.10",
|
2021-06-01 22:53:06 +02:00
|
|
|
"graphql-rate-limit": "^3.1.0",
|
2020-05-11 06:21:16 +02:00
|
|
|
"js-cookie": "^2.2.1",
|
2021-04-24 12:51:52 +02:00
|
|
|
"js-yaml": "^4.1.0",
|
2020-05-19 07:50:16 +02:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2021-07-24 12:03:30 +02:00
|
|
|
"ln-service": "^51.10.0",
|
2021-07-04 15:38:47 +02:00
|
|
|
"lodash": "^4.17.21",
|
2021-07-04 19:32:38 +02:00
|
|
|
"next": "^11.0.1",
|
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",
|
2021-04-24 12:51:52 +02:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-circular-progressbar": "^2.0.4",
|
2021-01-19 23:07:33 +01:00
|
|
|
"react-copy-to-clipboard": "^5.0.3",
|
2021-04-24 12:51:52 +02:00
|
|
|
"react-dom": "^17.0.2",
|
2020-12-11 23:13:10 +01:00
|
|
|
"react-feather": "^2.0.9",
|
2021-06-17 11:42:40 +02:00
|
|
|
"react-grid-layout": "^1.2.5",
|
2020-11-02 18:29:20 +01:00
|
|
|
"react-qr-reader": "^2.2.1",
|
2021-06-01 22:53:06 +02:00
|
|
|
"react-select": "^4.3.1",
|
2021-06-21 11:34:26 +02:00
|
|
|
"react-slider": "^1.3.1",
|
2021-06-01 22:53:06 +02:00
|
|
|
"react-spinners": "^0.11.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"react-spring": "^9.2.4",
|
2021-06-01 22:53:06 +02:00
|
|
|
"react-table": "^7.7.0",
|
2021-04-24 12:51:52 +02:00
|
|
|
"react-toastify": "^7.0.4",
|
2021-06-01 22:53:06 +02:00
|
|
|
"react-tooltip": "^4.2.21",
|
2020-09-25 18:50:39 +02:00
|
|
|
"secp256k1": "^4.0.2",
|
2021-07-04 19:32:38 +02:00
|
|
|
"socks-proxy-agent": "^6.0.0",
|
2021-06-01 22:53:06 +02:00
|
|
|
"styled-components": "^5.3.0",
|
2021-04-24 12:51:52 +02:00
|
|
|
"styled-react-modal": "^2.1.0",
|
2020-04-12 18:27:01 +02:00
|
|
|
"styled-theming": "^2.2.0",
|
2020-12-11 23:13:10 +01:00
|
|
|
"uuid": "^8.3.2",
|
2020-08-03 16:31:20 +02:00
|
|
|
"winston": "^3.3.3"
|
2020-04-08 20:06:59 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-07-24 12:03:30 +02:00
|
|
|
"@babel/core": "^7.14.8",
|
|
|
|
"@commitlint/cli": "^13.1.0",
|
|
|
|
"@commitlint/config-conventional": "^13.1.0",
|
2020-12-11 23:13:10 +01:00
|
|
|
"@graphql-codegen/add": "^2.0.2",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@graphql-codegen/cli": "^1.21.7",
|
2020-12-11 23:13:10 +01:00
|
|
|
"@graphql-codegen/fragment-matcher": "^2.0.1",
|
2021-04-24 12:51:52 +02:00
|
|
|
"@graphql-codegen/introspection": "^1.18.2",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@graphql-codegen/near-operation-file-preset": "^1.18.5",
|
2021-07-04 19:32:38 +02:00
|
|
|
"@graphql-codegen/typescript": "^1.22.4",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@graphql-codegen/typescript-operations": "^1.18.4",
|
|
|
|
"@graphql-codegen/typescript-react-apollo": "^2.3.1",
|
|
|
|
"@graphql-codegen/typescript-resolvers": "^1.20.0",
|
2021-06-21 11:34:26 +02:00
|
|
|
"@testing-library/jest-dom": "^5.14.1",
|
2021-07-04 19:32:38 +02:00
|
|
|
"@testing-library/react": "^12.0.0",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/bcryptjs": "^2.4.2",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@types/cookie": "^0.4.1",
|
|
|
|
"@types/crypto-js": "^4.0.2",
|
2021-06-01 22:53:06 +02:00
|
|
|
"@types/d3-array": "^2.12.1",
|
2021-06-17 11:42:40 +02:00
|
|
|
"@types/d3-time-format": "^3.0.0",
|
2020-07-21 23:31:12 +02:00
|
|
|
"@types/graphql-iso-date": "^3.4.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@types/js-cookie": "^2.2.7",
|
|
|
|
"@types/js-yaml": "^4.0.2",
|
|
|
|
"@types/jsonwebtoken": "^8.5.4",
|
|
|
|
"@types/node": "^16.4.1",
|
|
|
|
"@types/node-fetch": "^2.5.12",
|
2021-03-19 19:51:32 +01:00
|
|
|
"@types/numeral": "^2.0.1",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@types/qrcode.react": "^1.0.2",
|
|
|
|
"@types/react": "^17.0.14",
|
|
|
|
"@types/react-copy-to-clipboard": "^5.0.1",
|
|
|
|
"@types/react-grid-layout": "^1.1.2",
|
|
|
|
"@types/react-qr-reader": "^2.1.4",
|
|
|
|
"@types/react-select": "^4.0.17",
|
|
|
|
"@types/react-slider": "^1.3.1",
|
|
|
|
"@types/react-table": "^7.7.2",
|
|
|
|
"@types/secp256k1": "^4.0.3",
|
2021-07-04 19:32:38 +02:00
|
|
|
"@types/styled-components": "^5.1.11",
|
|
|
|
"@types/styled-react-modal": "^1.2.1",
|
2020-08-05 21:24:46 +02:00
|
|
|
"@types/styled-theming": "^2.2.5",
|
2021-07-04 19:32:38 +02:00
|
|
|
"@types/uuid": "^8.3.1",
|
2021-07-24 12:03:30 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.4",
|
|
|
|
"@typescript-eslint/parser": "^4.28.4",
|
2021-07-04 19:32:38 +02:00
|
|
|
"apollo-server": "^2.25.2",
|
|
|
|
"apollo-server-testing": "^2.25.2",
|
|
|
|
"babel-jest": "^27.0.6",
|
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",
|
2021-07-24 12:03:30 +02:00
|
|
|
"babel-plugin-styled-components": "^1.13.2",
|
2020-11-02 12:27:54 +01:00
|
|
|
"babel-preset-react-app": "^10.0.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"eslint": "^7.31.0",
|
2021-07-04 19:32:38 +02:00
|
|
|
"eslint-config-next": "^11.0.1",
|
2021-06-01 22:53:06 +02:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-import": "^2.23.4",
|
2021-07-24 12:03:30 +02:00
|
|
|
"eslint-plugin-jest": "^24.4.0",
|
2020-11-02 12:27:54 +01:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
2021-04-24 12:51:52 +02:00
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
2021-06-01 22:53:06 +02:00
|
|
|
"eslint-plugin-react": "^7.24.0",
|
2020-11-02 12:27:54 +01:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2021-07-24 12:03:30 +02:00
|
|
|
"husky": "^7.0.1",
|
2021-07-04 19:32:38 +02:00
|
|
|
"jest": "^27.0.6",
|
2020-06-13 11:46:20 +02:00
|
|
|
"jest-fetch-mock": "^3.0.3",
|
2021-07-24 12:03:30 +02:00
|
|
|
"lint-staged": "^11.1.0",
|
2021-07-04 19:32:38 +02:00
|
|
|
"prettier": "^2.3.2",
|
2021-07-24 12:03:30 +02:00
|
|
|
"standard-version": "^9.3.1",
|
2021-07-04 19:32:38 +02:00
|
|
|
"typescript": "^4.3.5"
|
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
|
|
|
}
|