2020-04-08 20:06:59 +02:00
|
|
|
{
|
2020-04-12 18:27:01 +02:00
|
|
|
"name": "thunderhub",
|
2020-05-21 10:32:02 +02:00
|
|
|
"version": "0.6.2",
|
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-04-12 18:27:01 +02:00
|
|
|
"dev": "cross-env NODE_OPTIONS='--insecure-http-parser' next",
|
2020-05-11 06:21:16 +02:00
|
|
|
"dev:compatible": "next",
|
2020-04-12 18:27:01 +02:00
|
|
|
"build": "next build",
|
|
|
|
"start": "cross-env NODE_OPTIONS='--insecure-http-parser' next start",
|
2020-05-20 22:32:55 +02:00
|
|
|
"start:two": "cross-env NODE_OPTIONS='--insecure-http-parser' next start -p 3001",
|
2020-05-11 06:21:16 +02:00
|
|
|
"start:compatible": "next start",
|
2020-05-20 22:32:55 +02:00
|
|
|
"start:compatible:two": "next start -p 3001",
|
2020-05-06 22:39:36 +02:00
|
|
|
"lint": "eslint */**/*.{js,ts,tsx} --quiet --fix",
|
2020-04-12 18:27:01 +02:00
|
|
|
"prettier": "prettier --write **/*.{ts,tsx,js,css,html}",
|
2020-04-16 11:07:25 +02:00
|
|
|
"release": "standard-version",
|
|
|
|
"release:push": "standard-version && git push --follow-tags origin master",
|
2020-04-12 18:27:01 +02:00
|
|
|
"release:test": "standard-version --dry-run",
|
2020-05-03 11:14:36 +02:00
|
|
|
"release:minor": "standard-version --release-as minor && git push --follow-tags origin master",
|
2020-04-12 18:27:01 +02:00
|
|
|
"analyze": "cross-env ANALYZE=true next build",
|
2020-04-16 15:24:27 +02:00
|
|
|
"storybook": "start-storybook -p 6006 -c .storybook",
|
2020-05-01 14:08:30 +02:00
|
|
|
"generate": "graphql-codegen --config codegen.yml",
|
|
|
|
"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-05-19 07:50:16 +02:00
|
|
|
"upgrade-latest": "yarn upgrade-interactive --latest",
|
|
|
|
"tsc": "tsc"
|
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": {
|
2020-04-16 10:57:22 +02:00
|
|
|
"@apollo/react-hooks": "^3.1.5",
|
2020-05-19 07:50:16 +02:00
|
|
|
"@graphql-codegen/near-operation-file-preset": "^1.13.5",
|
|
|
|
"apollo-boost": "^0.4.9",
|
2020-05-12 06:19:12 +02:00
|
|
|
"apollo-server-micro": "^2.13.1",
|
2020-04-08 20:06:59 +02:00
|
|
|
"base64url": "^3.0.1",
|
2020-05-11 06:21:16 +02:00
|
|
|
"cookie": "^0.4.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"crypto-js": "^4.0.0",
|
2020-05-19 07:50:16 +02:00
|
|
|
"date-fns": "^2.14.0",
|
2020-04-12 18:27:01 +02:00
|
|
|
"graphql": "^15.0.0",
|
|
|
|
"graphql-iso-date": "^3.6.1",
|
|
|
|
"graphql-rate-limit": "^2.0.1",
|
|
|
|
"graphql-tag": "^2.10.3",
|
2020-05-03 11:48:56 +02:00
|
|
|
"intersection-observer": "^0.10.0",
|
2020-05-11 06:21:16 +02:00
|
|
|
"js-cookie": "^2.2.1",
|
2020-05-19 07:50:16 +02:00
|
|
|
"js-yaml": "^3.13.1",
|
|
|
|
"jsonwebtoken": "^8.5.1",
|
|
|
|
"ln-service": "^48.1.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-05-19 07:50:16 +02:00
|
|
|
"next": "^9.4.1",
|
2020-04-16 10:57:22 +02:00
|
|
|
"next-with-apollo": "^5.0.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"numeral": "^2.0.6",
|
|
|
|
"qrcode.react": "^1.0.0",
|
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-copy-to-clipboard": "^5.0.2",
|
|
|
|
"react-dom": "^16.13.1",
|
2020-05-01 14:08:30 +02:00
|
|
|
"react-feather": "^2.0.8",
|
2020-05-03 11:48:56 +02:00
|
|
|
"react-intersection-observer": "^8.26.2",
|
2020-04-12 18:27:01 +02:00
|
|
|
"react-qr-reader": "^2.2.1",
|
2020-05-03 11:48:56 +02:00
|
|
|
"react-spinners": "^0.8.3",
|
2020-04-12 18:27:01 +02:00
|
|
|
"react-spring": "^8.0.27",
|
2020-05-19 07:50:16 +02:00
|
|
|
"react-toastify": "^6.0.4",
|
2020-05-12 06:19:12 +02:00
|
|
|
"react-tooltip": "^4.2.6",
|
2020-04-12 18:27:01 +02:00
|
|
|
"styled-components": "^5.1.0",
|
|
|
|
"styled-react-modal": "^2.0.1",
|
|
|
|
"styled-theming": "^2.2.0",
|
|
|
|
"underscore": "^1.10.2",
|
2020-05-03 11:48:56 +02:00
|
|
|
"uuid": "^8.0.0",
|
2020-05-19 07:50:16 +02:00
|
|
|
"victory": "^34.3.6",
|
2020-04-12 18:27:01 +02:00
|
|
|
"winston": "^3.2.1",
|
|
|
|
"zxcvbn": "^4.4.2"
|
2020-04-08 20:06:59 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-05-03 11:48:56 +02:00
|
|
|
"@babel/core": "^7.9.6",
|
2020-04-12 18:27:01 +02:00
|
|
|
"@commitlint/cli": "^8.3.5",
|
|
|
|
"@commitlint/config-conventional": "^8.3.4",
|
2020-05-03 11:48:56 +02:00
|
|
|
"@graphql-codegen/cli": "^1.13.5",
|
|
|
|
"@graphql-codegen/introspection": "1.13.5",
|
|
|
|
"@graphql-codegen/typescript": "1.13.5",
|
|
|
|
"@graphql-codegen/typescript-operations": "^1.13.5",
|
|
|
|
"@graphql-codegen/typescript-react-apollo": "1.13.5",
|
|
|
|
"@graphql-codegen/typescript-resolvers": "1.13.5",
|
2020-05-19 07:50:16 +02:00
|
|
|
"@next/bundle-analyzer": "^9.4.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"@storybook/addon-actions": "^5.3.18",
|
|
|
|
"@storybook/addon-knobs": "^5.3.18",
|
|
|
|
"@storybook/addon-viewport": "^5.3.18",
|
|
|
|
"@storybook/react": "^5.3.18",
|
2020-05-12 06:19:12 +02:00
|
|
|
"@testing-library/jest-dom": "^5.7.0",
|
2020-05-03 11:48:56 +02:00
|
|
|
"@testing-library/react": "^10.0.4",
|
2020-05-19 07:50:16 +02:00
|
|
|
"@types/jsonwebtoken": "^8.5.0",
|
|
|
|
"@types/node": "^14.0.1",
|
2020-05-12 06:19:12 +02:00
|
|
|
"@types/react": "^16.9.35",
|
2020-05-07 13:51:39 +02:00
|
|
|
"@types/styled-components": "^5.1.0",
|
2020-05-19 07:50:16 +02:00
|
|
|
"@types/styled-theming": "^2.2.3",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
|
|
"@typescript-eslint/parser": "^2.34.0",
|
2020-05-12 06:19:12 +02:00
|
|
|
"babel-jest": "^26.0.1",
|
2020-04-12 18:27:01 +02:00
|
|
|
"babel-loader": "^8.1.0",
|
|
|
|
"babel-plugin-inline-react-svg": "^1.1.1",
|
|
|
|
"babel-plugin-styled-components": "^1.10.7",
|
|
|
|
"babel-preset-react-app": "^9.1.2",
|
|
|
|
"cross-env": "^7.0.2",
|
2020-05-01 14:08:30 +02:00
|
|
|
"devmoji": "^2.1.9",
|
2020-05-12 06:19:12 +02:00
|
|
|
"eslint": "^7.0.0",
|
2020-05-06 22:39:36 +02:00
|
|
|
"eslint-config-prettier": "^6.11.0",
|
2020-05-07 13:51:39 +02:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
2020-05-19 07:50:16 +02:00
|
|
|
"eslint-plugin-jest": "^23.13.1",
|
2020-05-06 22:39:36 +02:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
|
|
"eslint-plugin-prettier": "^3.1.3",
|
2020-05-19 07:50:16 +02:00
|
|
|
"eslint-plugin-react": "^7.20.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.0.2",
|
2020-05-07 13:51:39 +02:00
|
|
|
"fast-diff": "^1.2.0",
|
2020-04-12 18:27:01 +02:00
|
|
|
"husky": "^4.2.5",
|
2020-05-12 06:19:12 +02:00
|
|
|
"jest": "^26.0.1",
|
2020-05-19 07:50:16 +02:00
|
|
|
"lint-staged": "^10.2.4",
|
2020-05-03 11:48:56 +02:00
|
|
|
"prettier": "^2.0.5",
|
2020-05-12 06:19:12 +02:00
|
|
|
"standard-version": "^8.0.0",
|
2020-05-19 07:50:16 +02:00
|
|
|
"typescript": "^3.9.2"
|
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-04-08 20:06:59 +02:00
|
|
|
}
|
2020-05-07 19:19:08 +02:00
|
|
|
}
|