mirror of https://github.com/lukechilds/polar.git
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.
181 lines
5.9 KiB
181 lines
5.9 KiB
{
|
|
"name": "polar",
|
|
"version": "0.2.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",
|
|
"scripts": {
|
|
"build": "cross-env PUBLIC_URL=./ rescripts build",
|
|
"cm": "git add . && git cz",
|
|
"dev": "concurrently --kill-others --success first \"yarn:dev:*\"",
|
|
"dev:app": "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",
|
|
"release": "standard-version --no-verify --skip.commit --skip.tag",
|
|
"start": "rescripts start",
|
|
"test": "cross-env DEBUG_PRINT_LIMIT=15000 rescripts test",
|
|
"test:ci": "cross-env CI=true yarn test --coverage",
|
|
"test:all": "yarn test:ci && yarn test:e2e",
|
|
"test:codecov": "codecov",
|
|
"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",
|
|
"tsc": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@radar/lnrpc": "0.8.0-beta.4",
|
|
"@types/detect-port": "1.1.0",
|
|
"detect-port": "1.3.0",
|
|
"docker-compose": "0.23.2",
|
|
"dockerode": "3.0.2",
|
|
"electron-debug": "3.0.1",
|
|
"electron-is-dev": "1.1.0",
|
|
"electron-log": "4.0.3",
|
|
"electron-window-state": "5.0.3",
|
|
"shell-env": "3.0.0",
|
|
"xterm": "4.3.0",
|
|
"xterm-addon-fit": "0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ant-design/icons": "4.0.0-rc.0",
|
|
"@commitlint/cli": "8.3.5",
|
|
"@commitlint/config-conventional": "8.3.4",
|
|
"@emotion/core": "10.0.27",
|
|
"@emotion/styled": "10.0.27",
|
|
"@hot-loader/react-dom": "16.11.0",
|
|
"@mrblenny/react-flow-chart": "0.0.9",
|
|
"@rescripts/cli": "0.0.13",
|
|
"@rescripts/rescript-use-babel-config": "0.0.9",
|
|
"@testing-library/jest-dom": "4.2.4",
|
|
"@testing-library/react": "9.4.0",
|
|
"@types/detect-port": "1.1.0",
|
|
"@types/dockerode": "2.5.21",
|
|
"@types/fs-extra": "8.0.1",
|
|
"@types/jest": "24.9.0",
|
|
"@types/js-yaml": "3.12.1",
|
|
"@types/node": "12.12.21",
|
|
"@types/react": "16.9.17",
|
|
"@types/react-copy-to-clipboard": "4.3.0",
|
|
"@types/react-dom": "16.9.4",
|
|
"@types/react-redux": "7.1.6",
|
|
"@types/react-router": "5.1.4",
|
|
"@types/react-router-dom": "5.1.3",
|
|
"@types/redux-logger": "3.0.7",
|
|
"@typescript-eslint/eslint-plugin": "2.16.0",
|
|
"@typescript-eslint/parser": "2.16.0",
|
|
"antd": "4.0.0-rc.1",
|
|
"babel-plugin-emotion": "10.0.27",
|
|
"babel-plugin-import": "1.13.0",
|
|
"bitcoin-core": "3.0.0",
|
|
"codecov": "3.6.1",
|
|
"commitizen": "4.0.3",
|
|
"concurrently": "5.0.2",
|
|
"connected-react-router": "6.6.1",
|
|
"cross-env": "6.0.3",
|
|
"detect-port": "1.3.0",
|
|
"devtron": "1.4.0",
|
|
"docker-compose": "0.23.2",
|
|
"dockerode": "3.0.2",
|
|
"easy-peasy": "3.3.0",
|
|
"electron": "7.0.1",
|
|
"electron-builder": "22.2.0",
|
|
"electron-devtools-installer": "2.2.4",
|
|
"eslint": "6.6.0",
|
|
"eslint-config-prettier": "6.9.0",
|
|
"eslint-plugin-prettier": "3.1.2",
|
|
"eslint-plugin-react": "7.18.0",
|
|
"fetch-mock": "8.3.1",
|
|
"fs-extra": "8.1.0",
|
|
"history": "4.10.1",
|
|
"husky": "4.0.10",
|
|
"i18next": "19.0.3",
|
|
"i18next-browser-languagedetector": "4.0.1",
|
|
"i18next-scanner": "2.10.3",
|
|
"js-yaml": "3.13.1",
|
|
"less": "3.10.3",
|
|
"less-loader": "5.0.0",
|
|
"lint-staged": "9.5.0",
|
|
"lndconnect": "0.2.10",
|
|
"nodemon": "2.0.2",
|
|
"prettier": "1.19.1",
|
|
"react": "16.12.0",
|
|
"react-async-hook": "3.6.1",
|
|
"react-copy-to-clipboard": "5.0.2",
|
|
"react-dom": "16.12.0",
|
|
"react-hot-loader": "4.12.18",
|
|
"react-i18next": "11.3.1",
|
|
"react-redux": "7.1.3",
|
|
"react-router": "5.1.2",
|
|
"react-router-dom": "5.1.2",
|
|
"react-router-transition": "2.0.0",
|
|
"react-scripts": "3.3.0",
|
|
"redux": "4.0.5",
|
|
"redux-logger": "3.0.6",
|
|
"standard-version": "7.0.1",
|
|
"strip-ansi": "6.0.0",
|
|
"stylelint": "13.0.0",
|
|
"stylelint-config-prettier": "8.0.1",
|
|
"stylelint-config-standard": "19.0.0",
|
|
"testcafe": "1.8.0",
|
|
"testcafe-browser-provider-electron": "0.0.14",
|
|
"testcafe-react-selectors": "4.0.0",
|
|
"ts-node": "8.6.2",
|
|
"typescript": "3.7.5",
|
|
"wait-on": "4.0.0",
|
|
"webpack": "4.41.2"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
|