You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

191 lines
6.4 KiB

{
"name": "polar",
"version": "1.0.1",
"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",
"scripts": {
"build": "cross-env CI=false PUBLIC_URL=./ rescripts build",
"cm": "git add . && git cz",
"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 .gitignore .",
"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",
"release": "standard-version --no-verify --skip.commit --skip.tag",
"start": "rescripts 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": {
"@radar/lnrpc": "0.9.1-beta",
"@types/detect-port": "1.3.0",
"archiver": "5.0.0",
"detect-port": "1.3.0",
"docker-compose": "0.23.5",
"dockerode": "3.2.1",
"electron-debug": "3.1.0",
"electron-is-dev": "1.2.0",
"electron-log": "4.2.2",
"electron-window-state": "5.0.3",
"fs-extra": "9.0.1",
"shell-env": "3.0.0",
"unzipper": "0.10.11",
"xterm": "4.8.1",
"xterm-addon-fit": "0.4.0"
},
"devDependencies": {
"@ant-design/icons": "4.2.2",
"@commitlint/cli": "9.1.1",
"@commitlint/config-conventional": "9.1.1",
"@emotion/core": "10.0.34",
"@emotion/styled": "10.0.27",
"@hot-loader/react-dom": "16.13.0",
"@mrblenny/react-flow-chart": "0.0.11",
"@rescripts/cli": "0.0.14",
"@rescripts/rescript-use-babel-config": "0.0.10",
"@testing-library/jest-dom": "5.11.2",
"@testing-library/react": "10.4.2",
"@types/archiver": "3.1.0",
"@types/detect-port": "1.3.0",
"@types/dockerode": "2.5.34",
"@types/fs-extra": "9.0.1",
"@types/jest": "26.0.9",
"@types/js-yaml": "3.12.5",
"@types/node": "12.12.31",
"@types/react": "16.9.46",
"@types/react-copy-to-clipboard": "4.3.0",
"@types/react-dom": "16.9.8",
"@types/react-redux": "7.1.9",
"@types/react-router": "5.1.8",
"@types/react-router-dom": "5.1.5",
"@types/redux-logger": "3.0.8",
"@types/unzipper": "0.10.3",
"@types/ws": "7.2.6",
"@typescript-eslint/eslint-plugin": "3.9.0",
"@typescript-eslint/parser": "3.9.0",
"antd": "4.4.0",
"babel-plugin-emotion": "10.0.33",
"babel-plugin-import": "1.13.0",
"bitcoin-core": "3.0.0",
"bufferutil": "4.0.1",
"commitizen": "4.1.2",
"concurrently": "5.3.0",
"connected-react-router": "6.8.0",
"cross-env": "7.0.2",
"detect-port": "1.3.0",
"devtron": "1.4.0",
"docker-compose": "0.23.5",
"dockerode": "3.2.1",
"easy-peasy": "3.3.1",
"electron": "7.0.1",
"electron-builder": "22.8.0",
"electron-devtools-installer": "3.1.1",
"eslint": "6.6.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.20.5",
"history": "4.10.1",
"husky": "4.2.5",
"i18next": "19.6.3",
"i18next-browser-languagedetector": "5.0.1",
"i18next-scanner": "2.11.0",
"jest-environment-jsdom-sixteen": "1.0.3",
"js-yaml": "3.14.0",
"less": "3.12.2",
"less-loader": "6.2.0",
"lint-staged": "10.2.11",
"lndconnect": "0.2.10",
"nodemon": "2.0.4",
"prettier": "2.0.5",
"react": "16.13.1",
"react-async-hook": "3.6.1",
"react-copy-to-clipboard": "5.0.2",
"react-dom": "16.13.1",
"react-hot-loader": "4.12.21",
"react-i18next": "11.7.0",
"react-lazylog": "4.5.3",
"react-redux": "7.2.1",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-router-transition": "2.0.0",
"react-scripts": "3.4.1",
"redux": "4.0.5",
"redux-logger": "3.0.6",
"standard-version": "8.0.2",
"strip-ansi": "6.0.0",
"stylelint": "13.6.1",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
"testcafe": "1.9.0",
"testcafe-browser-provider-electron": "0.0.15",
"testcafe-react-selectors": "4.0.0",
"ts-node": "8.10.2",
"typescript": "3.9.7",
"utf-8-validate": "5.0.2",
"wait-on": "5.2.0",
"webpack": "4.42.0",
"ws": "7.3.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"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"
}
}
}