-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
164 lines (164 loc) · 6.43 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
{
"name": "p2pderivatives-client",
"version": "0.3.2",
"private": true,
"main": "build/browser/electron.js",
"author": "CryptoGarage Inc",
"homepage": "./",
"files": [
"gen-grpc"
],
"build": {
"extends": null,
"appId": "jp.co.cryptogarage.p2pd.client",
"productName": "P2PD client",
"copyright": "Copyright © 2020 ${author}",
"files": [
"build/**/*",
"node_modules/**/*",
"public/icon.png"
],
"extraResources": [
{
"from": "settings.production.yml",
"to": "settings.default.yml"
},
"p2pderivatives.io.crt"
]
},
"scripts": {
"preci": "npm link grpc electron typescript && (cd gen-grpc && npm run-script preci)",
"start": "react-scripts start",
"build:react": "react-scripts build",
"build:browser": "tsc -p src/browser",
"build": "npm run build:react && npm run build:browser",
"test": "npm run test:node && npm run test:renderer",
"test:node": " jest --reporters=default",
"test:renderer": "jest --reporters=default --config jest.config.renderer.js",
"test:ci": "npm run test:node:ci && npm run test:renderer:ci",
"test:node:ci": "cross-env JEST_JUNIT_OUTPUT_DIR=./reports/jest/node jest --coverage --reporters=default --reporters=jest-junit --ci --runInBand --coverageDirectory=./reports/coverage/node/",
"test:renderer:ci": "cross-env JEST_JUNIT_OUTPUT_DIR=./reports/jest/renderer jest --coverage --config jest.config.renderer.js --reporters=default --reporters=jest-junit --ci --runInBand --coverageDirectory=./reports/coverage/browser/",
"integration": "jest --config jest.config.integration.js --reporters=default --runInBand",
"integration:ci": "cross-env JEST_JUNIT_OUTPUT_DIR=./reports/integration jest --config jest.config.integration.js --reporters=default --reporters=jest-junit --coverage --ci --runInBand --coverageDirectory=./reports/coverage/integration/",
"integration-separate": "./integration-test/run-separate/run.sh",
"integration-separate:ci": "cross-env ISCI=1 ./integration-test/run-separate/run.sh",
"integration-separate:test": "jest --config jest.config.integration-separate.js --reporters=default --coverage --runInBand",
"integration-separate:ci:test": "cross-env JEST_JUNIT_OUTPUT_DIR=./reports/separate BITCOIND_HOST=$BITCOIND_HOST jest --config jest.config.integration-separate.js --reporters=default --reporters=jest-junit --coverage --ci --runInBand",
"electron-dev": "concurrently \"cross-env BROWSER=none PORT=9000 npm start\" \"wait-on http://localhost:9000 && npm run build:browser && electron .\"",
"electron-dev-simple": "npm run build:browser && electron .",
"build-native-cfd": "npm rebuild cfd-js cfd-dlc-js",
"build-native-cfd:electron": "npm run build-native-cfd -- --runtime=electron --target=7.0.0",
"dist": "npm run build && electron-builder --publish never",
"lint": "eslint src integration-test --ext .ts,.tsx ",
"lint:ci": "eslint --max-warnings=0 --format junit --output-file ./reports/linter/eslint.xml src integration-test --ext .ts,.tsx ",
"storybook": "start-storybook",
"view:coverage": "npx serve coverage/lcov-report"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@date-io/date-fns": "^1.3.13",
"@date-io/luxon": "^1.3.13",
"@fast-csv/parse": "^4.3.6",
"@grpc/grpc-js": "^1.4.2",
"@internal/gen-grpc": "file:gen-grpc",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/pickers": "^3.3.10",
"await-semaphore": "^0.1.3",
"axios": "^0.21.4",
"bitcoin-simple-rpc": "^0.0.1",
"cfd-dlc-js": "github:cryptogarageinc/cfd-dlc-js#v0.0.9",
"cfd-js": "github:cryptogarageinc/cfd-js#v0.2.5",
"connected-react-router": "^6.9.1",
"date-fns": "^2.25.0",
"electron-better-ipc": "^2.0.1",
"electron-log": "^3.0.9",
"encoding-down": "^6.3.0",
"history": "^4.10.1",
"js-yaml": "^3.14.1",
"level": "^6.0.1",
"luxon": "^1.28.0",
"mui-datatables": "^3.8.2",
"numbro": "^2.3.5",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-redux": "^7.2.6",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"redux": "^4.1.2",
"redux-devtools-extension": "^2.13.9",
"redux-saga": "^1.1.3",
"redux-saga-test-plan": "^4.0.3",
"rxjs": "^6.6.7",
"socks-proxy-agent": "^5.0.1",
"typesafe-actions": "^5.1.0",
"typescript": "^3.9.10",
"uuid": "^8.3.2",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5"
},
"devDependencies": {
"@storybook/addon-actions": "^5.3.21",
"@storybook/addon-backgrounds": "^5.3.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-knobs": "^5.3.21",
"@storybook/react": "^5.3.21",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^10.4.9",
"@testing-library/user-event": "^12.8.3",
"@types/chai": "^4.2.22",
"@types/encoding-down": "^5.0.0",
"@types/history": "^4.7.9",
"@types/jest": "^24.9.1",
"@types/js-yaml": "^3.12.7",
"@types/leveldown": "^4.0.3",
"@types/levelup": "^4.3.3",
"@types/luxon": "^1.27.1",
"@types/memdown": "^3.0.0",
"@types/mui-datatables": "^2.13.4",
"@types/node": "12.12.14",
"@types/react": "^16.14.20",
"@types/react-dom": "16.9.4",
"@types/react-redux": "^7.1.20",
"@types/react-router": "^5.1.17",
"@types/react-router-dom": "^5.3.2",
"@types/storybook-react-router": "^1.0.1",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"awesome-typescript-loader": "^5.2.1",
"chai": "^4.3.4",
"concurrently": "^5.3.0",
"cross-env": "^6.0.3",
"electron": "^15.3.0",
"electron-builder": "^21.2.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^3.4.1",
"grpc-mock": "^0.7.0",
"jest": "^24.9.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-junit": "^10.0.0",
"level-test": "^8.0.0",
"memdown": "^5.1.0",
"prettier": "^1.19.1",
"react-docgen-typescript-loader": "^3.7.2",
"react-scripts": "3.2.0",
"storybook-react-router": "^1.0.8",
"ts-jest": "^24.3.0",
"ts-node": "^8.10.2",
"wait-on": "^3.3.0"
}
}