Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

{

"name": "polar",
"version": "2.1.0",
"homepage": "https://lightningpolar.com",
"description": "One-click Bitcoin Lightning networks for local app development &
testing",
"author": {
"name": "jamaljsr",
"email": "contact@lightningpolar.com",
"url": "https://lightningpolar.com"
},
"main": "public/main/electron/index.js",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "cross-env CI=false PUBLIC_URL=./ rescripts --openssl-legacy-provider
build",
"ci": "yarn lint:all && yarn test:ci",
"dev": "concurrently --kill-others --success first \"yarn:dev:*\"",
"dev:app": "yarn theme && cross-env BROWSER=none yarn start",
"dev:electron": "wait-on http://localhost:3000 && nodemon -I --watch
./electron/ --watch ./src/shared/ --ext ts --exec electron ./public/dev.js",
"eject": "rescripts eject",
"langs": "i18next-scanner --config ./.i18next-scanner.js",
"lint": "eslint --ext .ts,.tsx --ignore-path .eslintignore .",
"lint:all": "yarn tsc && yarn lint",
"lint:fix": "yarn lint --fix",
"package": "yarn build && yarn package:electron",
"package:ci": "yarn package --publish onTagOrDraft",
"package:electron": "electron-builder build
-c.extraMetadata.main=build/main/electron/index.js --config .electronbuildrc",
"postinstall": "electron-builder install-app-deps",
"prebuild": "tsc -p electron/tsconfig.json && yarn theme",
"prepare": "husky install",
"release": "standard-version --no-verify --skip.commit --skip.tag",
"start": "rescripts --openssl-legacy-provider start",
"test": "cross-env DEBUG_PRINT_LIMIT=15000 rescripts test --env=jest-
environment-jsdom-sixteen",
"test:ci": "cross-env CI=true yarn test --coverage",
"test:all": "yarn test:ci && yarn test:e2e",
"test:cafe": "cross-env NODE_ENV=production testcafe electron:./
./e2e/**/*.e2e.ts",
"test:e2e": "yarn build && yarn test:cafe",
"test:e2e:live": "yarn test:e2e -L",
"theme": "yarn theme:light && yarn theme:dark",
"theme:light": "lessc --include-path=node_modules --js
./src/theme/light.less ./public/themes/light.css",
"theme:dark": "lessc --include-path=node_modules --js ./src/theme/dark.less
./public/themes/dark.css",
"tsc": "tsc --noEmit"
},
"dependencies": {
"@lightningpolar/tapd-api": "0.3.0-alpha.rc1",
"@radar/lnrpc": "0.11.1-beta.1",
"@types/detect-port": "1.3.5",
"archiver": "6.0.1",
"detect-port": "1.5.1",
"docker-compose": "0.24.0",
"dockerode": "4.0.2",
"electron-debug": "3.2.0",
"electron-is-dev": "2.0.0",
"electron-log": "4.4.8",
"electron-window-state": "5.0.3",
"fs-extra": "11.1.0",
"semver": "7.6.0",
"shell-env": "3.0.1",
"unzipper": "0.10.14",
"xterm": "5.3.0",
"xterm-addon-fit": "0.8.0"
},
"devDependencies": {
"@ant-design/icons": "5.3.0",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@emotion/babel-plugin": "11.11.0",
"@emotion/react": "11.11.3",
"@emotion/styled": "11.11.0",
"@hot-loader/react-dom": "17.0.2",
"@mrblenny/react-flow-chart": "0.0.14",
"@rescripts/cli": "0.0.16",
"@rescripts/rescript-use-babel-config": "0.0.12",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.5.2",
"@types/archiver": "6.0.2",
"@types/detect-port": "1.3.5",
"@types/dockerode": "3.3.23",
"@types/fs-extra": "9.0.13",
"@types/jest": "29.5.12",
"@types/js-yaml": "4.0.9",
"@types/node": "18.17.19",
"@types/react": "18.2.57",
"@types/react-copy-to-clipboard": "5.0.7",
"@types/react-dom": "18.2.19",
"@types/react-redux": "7.1.33",
"@types/react-router": "5.1.20",
"@types/react-router-dom": "5.3.3",
"@types/redux-logger": "3.0.12",
"@types/unzipper": "0.10.9",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"antd": "4.24.12",
"babel-plugin-import": "1.13.8",
"bitcoin-core": "4.1.0",
"bufferutil": "4.0.8",
"commitizen": "4.3.0",
"concurrently": "8.2.2",
"connected-react-router": "6.9.3",
"cross-env": "7.0.3",
"detect-port": "1.5.1",
"docker-compose": "0.24.0",
"dockerode": "4.0.2",
"easy-peasy": "6.0.4",
"electron": "13.6.3",
"electron-builder": "24.12.0",
"electron-devtools-installer": "3.2.0",
"eslint": "7.11.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-react": "7.33.2",
"history": "4.10.1",
"husky": "9.0.11",
"i18next": "22.5.1",
"i18next-browser-languagedetector": "7.2.0",
"i18next-scanner": "4.4.0",
"jest-canvas-mock": "2.5.2",
"jest-environment-jsdom-sixteen": "1.0.3",
"js-yaml": "4.1.0",
"less": "4.2.0",
"less-loader": "12.2.0",
"lint-staged": "14.0.1",
"lndconnect": "0.2.10",
"nodemon": "3.0.3",
"prettier": "2.8.8",
"react": "17.0.2",
"react-async-hook": "4.0.0",
"react-copy-to-clipboard": "5.1.0",
"react-dom": "17.0.2",
"react-hot-loader": "4.13.1",
"react-i18next": "12.3.1",
"react-lazylog": "4.5.3",
"react-redux": "8.1.3",
"react-router": "5.3.4",
"react-router-dom": "5.3.4",
"react-router-transition": "2.1.0",
"react-scripts": "4.0.3",
"redux": "4.2.1",
"redux-logger": "3.0.6",
"standard-version": "9.5.0",
"strip-ansi": "6.0.1",
"styled-components": "6.1.8",
"stylelint": "16.2.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "36.0.0",
"testcafe": "3.5.0",
"testcafe-browser-provider-electron": "0.0.20",
"testcafe-react-selectors": "5.0.3",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"utf-8-validate": "6.0.3",
"wait-on": "7.2.0",
"webpack": "4.44.2",
"ws": "8.16.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/src/types/**/*.ts",
"!<rootDir>/src/shared/**/*.ts",
"!<rootDir>/src/**/index.{ts,js}",
"!<rootDir>/src/index.tsx",
"!<rootDir>/src/react-app-env.d.ts",
"!<rootDir>/src/components/designer/custom/*.tsx",
"!<rootDir>/src/utils/tests/**/*.{ts,tsx}"
],
"resetMocks": true
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

You might also like