forked from jamaljsr/polar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
190 lines (190 loc) · 6.31 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
{
"name": "polar",
"version": "1.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",
"scripts": {
"build": "cross-env 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",
"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.1.0",
"archiver": "3.1.1",
"detect-port": "1.3.0",
"docker-compose": "0.23.3",
"dockerode": "3.2.0",
"electron-debug": "3.0.1",
"electron-is-dev": "1.2.0",
"electron-log": "4.1.1",
"electron-window-state": "5.0.3",
"fs-extra": "9.0.0",
"shell-env": "3.0.0",
"unzipper": "0.10.10",
"xterm": "4.4.0",
"xterm-addon-fit": "0.3.0"
},
"devDependencies": {
"@ant-design/icons": "4.0.5",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@emotion/core": "10.0.28",
"@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.4.0",
"@testing-library/react": "9.5.0",
"@types/archiver": "3.1.0",
"@types/detect-port": "1.1.0",
"@types/dockerode": "2.5.26",
"@types/fs-extra": "8.1.0",
"@types/jest": "25.2.1",
"@types/js-yaml": "3.12.3",
"@types/node": "12.12.31",
"@types/react": "16.9.33",
"@types/react-copy-to-clipboard": "4.3.0",
"@types/react-dom": "16.9.6",
"@types/react-redux": "7.1.7",
"@types/react-router": "5.1.5",
"@types/react-router-dom": "5.1.3",
"@types/redux-logger": "3.0.7",
"@types/unzipper": "0.10.3",
"@types/ws": "7.2.3",
"@typescript-eslint/eslint-plugin": "2.27.0",
"@typescript-eslint/parser": "2.27.0",
"antd": "4.0.4",
"babel-plugin-emotion": "10.0.33",
"babel-plugin-import": "1.13.0",
"bitcoin-core": "3.0.0",
"bufferutil": "4.0.1",
"commitizen": "4.0.4",
"concurrently": "5.1.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.3",
"dockerode": "3.2.0",
"easy-peasy": "3.3.0",
"electron": "7.0.1",
"electron-builder": "22.4.1",
"electron-devtools-installer": "3.0.0",
"eslint": "6.6.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"history": "4.10.1",
"husky": "4.2.3",
"i18next": "19.4.0",
"i18next-browser-languagedetector": "4.0.2",
"i18next-scanner": "2.11.0",
"js-yaml": "3.13.1",
"less": "3.11.1",
"less-loader": "5.0.0",
"lint-staged": "10.1.2",
"lndconnect": "0.2.10",
"nodemon": "2.0.3",
"prettier": "2.0.4",
"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.20",
"react-i18next": "11.3.4",
"react-lazylog": "4.5.2",
"react-redux": "7.2.0",
"react-router": "5.1.2",
"react-router-dom": "5.1.2",
"react-router-transition": "2.0.0",
"react-scripts": "3.4.0",
"redux": "4.0.5",
"redux-logger": "3.0.6",
"standard-version": "7.1.0",
"strip-ansi": "6.0.0",
"stylelint": "13.3.0",
"stylelint-config-prettier": "8.0.1",
"stylelint-config-standard": "20.0.0",
"testcafe": "1.8.4",
"testcafe-browser-provider-electron": "0.0.14",
"testcafe-react-selectors": "4.0.0",
"ts-node": "8.8.2",
"typescript": "3.8.3",
"utf-8-validate": "5.0.2",
"wait-on": "4.0.1",
"webpack": "4.41.5",
"ws": "7.2.3"
},
"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"
}
}
}