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.
157 lines
5.1 KiB
157 lines
5.1 KiB
{
|
|
"name": "polar",
|
|
"version": "0.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.js",
|
|
"scripts": {
|
|
"build": "cross-env PUBLIC_URL=./ rescripts build",
|
|
"cm": "git add . && git cz",
|
|
"dev": "concurrently --kill-others \"yarn:dev:*\"",
|
|
"dev:start": "cross-env BROWSER=none yarn start",
|
|
"dev:electron": "wait-on http://localhost:3000 && electron .",
|
|
"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 postinstall && yarn build && yarn package:electron --publish onTagOrDraft",
|
|
"package:electron": "electron-builder build -c.extraMetadata.main=build/main.js --config .electronbuildrc",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"prestart": "tsc -p electron/tsconfig.json",
|
|
"prebuild": "tsc -p electron/tsconfig.json",
|
|
"release": "standard-version --no-verify",
|
|
"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": {
|
|
"docker-compose": "^0.22.2",
|
|
"dockerode": "^2.5.8",
|
|
"electron-debug": "^3.0.1",
|
|
"electron-is-dev": "^1.1.0",
|
|
"electron-log": "^3.0.8",
|
|
"js-yaml": "^3.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^8.2.0",
|
|
"@commitlint/config-conventional": "^8.2.0",
|
|
"@emotion/core": "^10.0.17",
|
|
"@emotion/styled": "^10.0.17",
|
|
"@hot-loader/react-dom": "^16.9.0",
|
|
"@mrblenny/react-flow-chart": "^0.0.7",
|
|
"@rescripts/cli": "^0.0.12",
|
|
"@rescripts/rescript-use-babel-config": "^0.0.8",
|
|
"@testing-library/jest-dom": "^4.1.0",
|
|
"@testing-library/react": "^9.1.4",
|
|
"@types/dockerode": "^2.5.20",
|
|
"@types/fs-extra": "^8.0.0",
|
|
"@types/jest": "24.0.18",
|
|
"@types/js-yaml": "^3.12.1",
|
|
"@types/node": "12.7.5",
|
|
"@types/react": "16.9.2",
|
|
"@types/react-dom": "16.9.0",
|
|
"@types/react-redux": "^7.1.2",
|
|
"@types/react-router": "^5.0.5",
|
|
"@types/react-router-dom": "^4.3.5",
|
|
"@types/redux-logger": "^3.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^2.3.0",
|
|
"@typescript-eslint/parser": "^2.3.0",
|
|
"antd": "^3.23.4",
|
|
"babel-plugin-emotion": "^10.0.19",
|
|
"babel-plugin-import": "^1.12.1",
|
|
"codecov": "^3.6.1",
|
|
"commitizen": "^4.0.3",
|
|
"concurrently": "^4.1.2",
|
|
"connected-react-router": "^6.5.2",
|
|
"cross-env": "^6.0.0",
|
|
"easy-peasy": "3.0.2",
|
|
"electron": "^6.0.10",
|
|
"electron-builder": "^21.2.0",
|
|
"electron-devtools-installer": "^2.2.4",
|
|
"eslint": "^6.2.0",
|
|
"eslint-config-prettier": "^6.3.0",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"eslint-plugin-react": "^7.14.3",
|
|
"fs-extra": "^8.1.0",
|
|
"history": "^4.10.1",
|
|
"husky": "^3.0.5",
|
|
"i18next": "^17.0.16",
|
|
"i18next-browser-languagedetector": "^3.0.3",
|
|
"i18next-scanner": "^2.10.2",
|
|
"less": "^3.10.3",
|
|
"less-loader": "^5.0.0",
|
|
"lint-staged": "^9.3.0",
|
|
"prettier": "^1.18.2",
|
|
"react": "^16.9.0",
|
|
"react-async-hook": "^3.5.3",
|
|
"react-dom": "^16.9.0",
|
|
"react-hot-loader": "^4.12.13",
|
|
"react-i18next": "^10.12.5",
|
|
"react-redux": "^7.1.1",
|
|
"react-router": "^5.0.1",
|
|
"react-router-dom": "^5.0.1",
|
|
"react-router-transition": "^1.3.0",
|
|
"react-scripts": "3.1.2",
|
|
"redux": "^4.0.4",
|
|
"redux-logger": "^3.0.6",
|
|
"standard-version": "^7.0.0",
|
|
"stylelint": "^11.0.0",
|
|
"stylelint-config-prettier": "^5.2.0",
|
|
"stylelint-config-standard": "^19.0.0",
|
|
"testcafe": "^1.5.0",
|
|
"testcafe-browser-provider-electron": "^0.0.12",
|
|
"testcafe-react-selectors": "^3.2.0",
|
|
"typescript": "3.6.3",
|
|
"wait-on": "^3.3.0",
|
|
"webpack": "4.40.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/**/index.{ts,js}",
|
|
"!<rootDir>/src/index.tsx",
|
|
"!<rootDir>/src/react-app-env.d.ts"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
|