forked from jamaljsr/polar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
200 lines (200 loc) · 6.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "polar",
"version": "3.0.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 && patch-package",
"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/litd-api": "0.13.99-alpha",
"@lightningpolar/lnd-api": "0.18.99-beta.pre3",
"@lightningpolar/tapd-api": "0.4.0-alpha",
"@types/lodash": "4.17.7",
"archiver": "7.0.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",
"lodash": "4.17.21",
"semver": "7.6.3",
"shell-env": "3.0.1",
"unzipper": "0.12.2",
"xterm": "5.3.0",
"xterm-addon-fit": "0.8.0"
},
"devDependencies": {
"@ant-design/icons": "5.4.0",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@emotion/babel-plugin": "11.12.0",
"@emotion/react": "11.13.0",
"@emotion/styled": "11.13.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.31",
"@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.3.3",
"@types/react-copy-to-clipboard": "5.0.7",
"@types/react-dom": "18.3.0",
"@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.12",
"@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.2.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.6.1",
"docker-compose": "0.24.0",
"dockerode": "4.0.2",
"easy-peasy": "6.0.5",
"electron": "13.6.3",
"electron-builder": "24.13.3",
"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.35.0",
"history": "4.10.1",
"husky": "9.1.4",
"i18next": "22.5.1",
"i18next-browser-languagedetector": "8.0.0",
"i18next-scanner": "4.4.0",
"jest-canvas-mock": "2.5.2",
"jest-environment-jsdom-sixteen": "2.0.0",
"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.1.3",
"patch-package": "8.0.0",
"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",
"socket.io-client": "4.7.5",
"standard-version": "9.5.0",
"strip-ansi": "6.0.1",
"styled-components": "6.1.12",
"stylelint": "16.8.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "36.0.0",
"testcafe": "3.6.0",
"testcafe-browser-provider-electron": "0.0.21",
"testcafe-react-selectors": "5.0.3",
"ts-node": "10.9.2",
"typescript": "5.5.4",
"utf-8-validate": "6.0.4",
"wait-on": "7.2.0",
"webpack": "4.44.2",
"ws": "8.18.0"
},
"resolutions": {
"react-error-overlay": "6.0.9"
},
"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"
}
}
}