2020-04-06 15:36:33 -04:00
|
|
|
{
|
2020-07-22 21:38:42 -04:00
|
|
|
"name": "lightning-terminal",
|
2020-04-06 15:36:33 -04:00
|
|
|
"version": "0.0.1",
|
2020-07-22 21:38:42 -04:00
|
|
|
"description": "Lightning Terminal",
|
|
|
|
|
"repository": "https://github.com/lightninglabs/lightning-terminal",
|
2020-04-06 15:36:33 -04:00
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
2020-04-07 11:28:47 -04:00
|
|
|
"start": "BROWSER=none react-scripts start",
|
2022-05-21 10:52:23 -06:00
|
|
|
"develop": "REACT_APP_USE_SAMPLE_DATA=true yarn start",
|
2020-04-06 15:36:33 -04:00
|
|
|
"build": "react-scripts build",
|
2024-10-23 09:44:20 +02:00
|
|
|
"postbuild": "git restore build/.gitkeep",
|
2023-11-20 17:31:27 -06:00
|
|
|
"test": "react-scripts test --env=jest-environment-jsdom --transformIgnorePatterns \"node_modules/(?!d3)/\"",
|
2020-04-14 19:17:49 -04:00
|
|
|
"test:ci": "cross-env CI=true yarn test --coverage",
|
2020-04-06 15:36:33 -04:00
|
|
|
"eject": "react-scripts eject",
|
2020-04-14 19:17:49 -04:00
|
|
|
"lint": "eslint --ext .ts,.tsx --ignore-path .eslintignore .",
|
|
|
|
|
"tsc": "tsc --noEmit",
|
2020-07-24 16:49:48 -04:00
|
|
|
"protos": "node ./scripts/build-protos.js",
|
2023-11-20 15:04:53 -06:00
|
|
|
"storybook": "storybook dev -p 9009 -s public",
|
|
|
|
|
"build-storybook": "storybook build -s public"
|
2020-04-06 15:36:33 -04:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2021-07-02 01:11:33 -04:00
|
|
|
"@emotion/react": "11.4.0",
|
|
|
|
|
"@emotion/styled": "11.3.0",
|
2021-07-02 00:22:53 -04:00
|
|
|
"@improbable-eng/grpc-web": "0.14.0",
|
2022-11-05 00:59:21 -06:00
|
|
|
"@types/react-collapse": "^5.0.1",
|
2021-07-15 20:31:33 -04:00
|
|
|
"big.js": "6.1.1",
|
2021-11-11 09:45:03 -05:00
|
|
|
"bootstrap": "4.6.1",
|
2022-04-03 00:02:45 -04:00
|
|
|
"buffer": "6.0.3",
|
2020-06-29 19:36:49 -04:00
|
|
|
"copy-to-clipboard": "3.3.1",
|
2023-11-20 17:31:27 -06:00
|
|
|
"d3": "7.8.5",
|
2020-06-29 16:58:28 -04:00
|
|
|
"date-fns": "2.14.0",
|
2023-10-03 03:51:26 +00:00
|
|
|
"debug": "4.3.1",
|
2020-05-20 10:50:35 -04:00
|
|
|
"file-saver": "2.0.2",
|
2024-10-25 18:12:18 +00:00
|
|
|
"http-proxy-middleware": "2.0.7",
|
2020-06-30 01:49:43 -04:00
|
|
|
"i18next": "19.5.1",
|
|
|
|
|
"i18next-browser-languagedetector": "5.0.0",
|
2021-05-11 21:53:51 +00:00
|
|
|
"lodash": "4.17.21",
|
2020-06-30 01:49:43 -04:00
|
|
|
"lottie-web": "5.7.0",
|
2021-07-01 14:27:57 -04:00
|
|
|
"mobx": "6.3.2",
|
|
|
|
|
"mobx-react-lite": "3.2.0",
|
|
|
|
|
"mobx-utils": "6.0.4",
|
2022-08-03 18:06:53 -04:00
|
|
|
"qrcode.react": "^3.1.0",
|
|
|
|
|
"rc-dialog": "^8.9.0",
|
2020-11-17 23:34:23 -05:00
|
|
|
"rc-select": "11.5.0",
|
2022-11-04 23:41:28 -06:00
|
|
|
"rc-switch": "^4.0.0",
|
2020-06-30 01:49:43 -04:00
|
|
|
"rc-tooltip": "4.2.1",
|
2021-07-01 13:47:47 -04:00
|
|
|
"react": "17.0.2",
|
2022-11-05 00:59:21 -06:00
|
|
|
"react-collapse": "^5.1.1",
|
2021-07-01 13:47:47 -04:00
|
|
|
"react-dom": "17.0.2",
|
2023-11-20 17:24:16 -06:00
|
|
|
"react-i18next": "13.5.0",
|
2022-05-15 17:30:15 -06:00
|
|
|
"react-router-dom": "^6.3.0",
|
2020-06-30 01:49:43 -04:00
|
|
|
"react-toastify": "6.0.6",
|
2020-07-22 23:32:46 -04:00
|
|
|
"react-virtualized": "9.21.2",
|
|
|
|
|
"reactour": "1.18.0",
|
2023-06-24 05:13:09 +00:00
|
|
|
"semver": "^7.5.2",
|
2020-07-22 23:32:46 -04:00
|
|
|
"styled-components": "5.1.1"
|
2020-04-09 12:48:03 -04:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2023-11-20 15:04:53 -06:00
|
|
|
"@storybook/addon-actions": "7.5.3",
|
|
|
|
|
"@storybook/addon-docs": "7.5.3",
|
|
|
|
|
"@storybook/addon-links": "7.5.3",
|
|
|
|
|
"@storybook/addons": "7.5.3",
|
|
|
|
|
"@storybook/preset-create-react-app": "7.5.3",
|
|
|
|
|
"@storybook/react": "7.5.3",
|
|
|
|
|
"@storybook/react-webpack5": "7.5.3",
|
2020-11-10 11:40:20 -05:00
|
|
|
"@testing-library/jest-dom": "5.11.5",
|
|
|
|
|
"@testing-library/react": "11.1.1",
|
|
|
|
|
"@testing-library/user-event": "12.2.0",
|
2021-07-15 20:31:33 -04:00
|
|
|
"@types/big.js": "6.1.1",
|
2023-11-20 17:31:27 -06:00
|
|
|
"@types/d3": "7.4.3",
|
2020-04-14 13:25:57 -04:00
|
|
|
"@types/debug": "4.1.5",
|
2020-06-30 01:49:43 -04:00
|
|
|
"@types/file-saver": "2.0.1",
|
2024-09-22 12:57:48 -04:00
|
|
|
"@types/google-protobuf": "3.15.10",
|
2020-06-18 13:35:32 -04:00
|
|
|
"@types/history": "4.7.6",
|
2022-04-02 23:59:48 -04:00
|
|
|
"@types/jest": "27.4.1",
|
2020-06-30 01:49:43 -04:00
|
|
|
"@types/lodash": "4.14.157",
|
|
|
|
|
"@types/node": "14.0.14",
|
2021-07-01 13:47:47 -04:00
|
|
|
"@types/react": "17.0.13",
|
|
|
|
|
"@types/react-dom": "17.0.8",
|
2022-05-15 17:30:15 -06:00
|
|
|
"@types/react-router-dom": "^5.3.3",
|
2020-06-30 01:49:43 -04:00
|
|
|
"@types/react-virtualized": "9.21.10",
|
2020-07-22 23:32:46 -04:00
|
|
|
"@types/reactour": "1.17.1",
|
2022-04-02 00:06:30 -04:00
|
|
|
"@types/semver": "^7.3.9",
|
2022-04-02 23:59:48 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.17.0",
|
|
|
|
|
"@typescript-eslint/parser": "5.17.0",
|
2020-04-14 19:17:49 -04:00
|
|
|
"cross-env": "7.0.2",
|
2022-04-02 23:59:48 -04:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
|
|
|
"eslint-plugin-react": "7.29.4",
|
2024-09-22 12:57:48 -04:00
|
|
|
"google-protobuf": "3.14.0",
|
2020-11-10 11:40:20 -05:00
|
|
|
"jest-canvas-mock": "2.3.0",
|
2022-04-02 23:59:48 -04:00
|
|
|
"jest-environment-jsdom": "27.5.1",
|
2020-11-10 11:37:34 -05:00
|
|
|
"prettier": "2.1.2",
|
2024-09-22 12:57:48 -04:00
|
|
|
"protoc-gen-js": "3.21.2",
|
2023-11-20 17:19:17 -06:00
|
|
|
"react-scripts": "^5.0.1",
|
2021-11-11 09:45:03 -05:00
|
|
|
"sass": "1.43.4",
|
2023-11-20 15:04:53 -06:00
|
|
|
"storybook": "7.5.3",
|
2024-09-13 18:10:25 +07:00
|
|
|
"ts-protoc-gen": "0.15.0",
|
2022-05-29 01:15:54 -06:00
|
|
|
"typescript": "4.1.6",
|
2023-11-20 14:21:28 -06:00
|
|
|
"webpack": "5.89.0"
|
2020-04-06 15:36:33 -04:00
|
|
|
},
|
2023-11-20 17:19:17 -06:00
|
|
|
"resolutions": {
|
|
|
|
|
"strip-ansi": "6.0.1",
|
|
|
|
|
"jackspeak": "2.1.1",
|
|
|
|
|
"wrap-ansi": "7.0.0"
|
|
|
|
|
},
|
2020-04-06 15:36:33 -04:00
|
|
|
"eslintConfig": {
|
|
|
|
|
"extends": "react-app",
|
|
|
|
|
"ignorePatterns": [
|
|
|
|
|
"src/types/generated/**/*.js"
|
|
|
|
|
]
|
|
|
|
|
},
|
2020-04-11 00:05:23 -04:00
|
|
|
"jest": {
|
2020-05-20 12:46:44 -04:00
|
|
|
"globalSetup": "./src/setupTestsGlobal.ts",
|
2020-11-10 01:29:38 -05:00
|
|
|
"resetMocks": false,
|
2020-04-11 00:05:23 -04:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
|
|
|
"!src/**/*.d.ts",
|
2020-04-17 23:31:01 -04:00
|
|
|
"!src/__(stories|mocks)__/**/*.{ts,tsx}",
|
2020-04-11 00:05:23 -04:00
|
|
|
"!src/types/**/*.{js,ts}",
|
2020-04-13 17:24:12 -04:00
|
|
|
"!src/i18n/**/*.{js,ts}",
|
2020-04-25 18:31:18 -04:00
|
|
|
"!src/util/tests/**/*.{ts,tsx}",
|
2020-06-03 22:09:46 -04:00
|
|
|
"!src/setupProxy.js",
|
2020-04-11 00:05:23 -04:00
|
|
|
"!src/index.tsx"
|
|
|
|
|
]
|
|
|
|
|
},
|
2020-04-06 15:36:33 -04:00
|
|
|
"browserslist": {
|
|
|
|
|
"production": [
|
|
|
|
|
">0.2%",
|
|
|
|
|
"not dead",
|
|
|
|
|
"not op_mini all"
|
|
|
|
|
],
|
|
|
|
|
"development": [
|
|
|
|
|
"last 1 chrome version",
|
|
|
|
|
"last 1 firefox version",
|
|
|
|
|
"last 1 safari version"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|