forked from jamaljsr/polar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
187 lines (187 loc) · 6.39 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
{
"name": "polar",
"version": "1.3.0",
"homepage": "https://lightningpolar.com",
"description": "One-click Bitcoin Lightning networks for local app development & testing",
"author": {
"name": "jamaljsr",
"email": "[email protected]",
"url": "https://lightningpolar.com"
},
"main": "public/main/electron/index.js",
"scripts": {
"build": "cross-env CI=false PUBLIC_URL=./ rescripts 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 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.11.1-beta.1",
"@types/detect-port": "1.3.2",
"archiver": "5.3.1",
"detect-port": "1.3.0",
"docker-compose": "0.23.17",
"dockerode": "3.3.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": "10.1.0",
"shell-env": "3.0.1",
"unzipper": "0.10.11",
"xterm": "4.18.0",
"xterm-addon-fit": "0.5.0"
},
"devDependencies": {
"@ant-design/icons": "4.7.0",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@emotion/babel-plugin": "11.9.2",
"@emotion/react": "11.9.3",
"@emotion/styled": "11.9.3",
"@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.16.4",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.2.1",
"@types/archiver": "5.3.1",
"@types/detect-port": "1.3.2",
"@types/dockerode": "3.3.9",
"@types/fs-extra": "9.0.13",
"@types/jest": "28.1.3",
"@types/js-yaml": "4.0.5",
"@types/node": "16.11.41",
"@types/react": "17.0.47",
"@types/react-copy-to-clipboard": "5.0.2",
"@types/react-dom": "18.0.5",
"@types/react-redux": "7.1.24",
"@types/react-router": "5.1.18",
"@types/react-router-dom": "5.3.3",
"@types/redux-logger": "3.0.9",
"@types/unzipper": "0.10.5",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.30.0",
"@typescript-eslint/parser": "5.30.0",
"antd": "4.18.4",
"babel-plugin-import": "1.13.5",
"bitcoin-core": "3.0.0",
"bufferutil": "4.0.6",
"commitizen": "4.2.4",
"concurrently": "7.2.2",
"connected-react-router": "6.9.2",
"cross-env": "7.0.3",
"detect-port": "1.3.0",
"docker-compose": "0.23.17",
"dockerode": "3.3.2",
"easy-peasy": "5.0.4",
"electron": "13.6.3",
"electron-builder": "23.1.0",
"electron-devtools-installer": "3.2.0",
"eslint": "7.11.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-react": "7.30.1",
"history": "4.10.1",
"husky": "8.0.1",
"i18next": "21.6.16",
"i18next-browser-languagedetector": "6.1.4",
"i18next-scanner": "3.3.0",
"jest-environment-jsdom-sixteen": "1.0.3",
"js-yaml": "4.1.0",
"less": "4.1.3",
"less-loader": "11.0.0",
"lint-staged": "13.0.3",
"lndconnect": "0.2.10",
"nodemon": "2.0.18",
"prettier": "2.7.1",
"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.0",
"react-i18next": "11.17.3",
"react-lazylog": "4.5.3",
"react-redux": "8.0.2",
"react-router": "5.3.3",
"react-router-dom": "5.3.3",
"react-router-transition": "2.1.0",
"react-scripts": "4.0.3",
"redux": "4.2.0",
"redux-logger": "3.0.6",
"standard-version": "9.5.0",
"strip-ansi": "6.0.1",
"styled-components": "5.3.5",
"stylelint": "14.9.1",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-standard": "26.0.0",
"testcafe": "1.19.0",
"testcafe-browser-provider-electron": "0.0.18",
"testcafe-react-selectors": "5.0.2",
"ts-node": "10.8.1",
"typescript": "4.7.4",
"utf-8-validate": "5.0.9",
"wait-on": "6.0.1",
"webpack": "4.44.2",
"ws": "8.8.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"
}
}
}