This repository was archived by the owner on Apr 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·204 lines (204 loc) · 6.78 KB
/
package.json
File metadata and controls
executable file
·204 lines (204 loc) · 6.78 KB
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
201
202
203
204
{
"name": "hp-admin",
"version": "0.13.5",
"private": true,
"homepage": "http://testfuel.holo.host",
"scripts": {
"start": "REACT_APP_VERSION=$npm_package_version npm run start:mock",
"start:mock": "rm -rf ./node_modules/.cache/babel-loader && REACT_APP_MOCK_DNA_CONNECTION='true' node scripts/start.js",
"start:live": "sh scripts/start-live.sh",
"start:holofuel-ui-1": "PORT=3100 REACT_APP_DNA_INTERFACE_URL=ws://localhost:3400 npm run start:holofuel-live",
"start:holofuel-ui-2": "PORT=3101 REACT_APP_DNA_INTERFACE_URL=ws://localhost:3401 npm run start:holofuel-live",
"start:holofuel-conductor-1": "HC_IGNORE_SIM2H_URL_PROPERTY=true holochain -c conductor-config-1.toml",
"start:holofuel-conductor-2": "HC_IGNORE_SIM2H_URL_PROPERTY=true holochain -c conductor-config-2.toml",
"start:holofuel-mock": "REACT_APP_HOLOFUEL_APP=true REACT_APP_RAW_HOLOCHAIN=true npm run start:mock",
"start:holofuel-live": "REACT_APP_HOLOFUEL_APP=true REACT_APP_RAW_HOLOCHAIN=true npm run start:live",
"start:sim2h-server": "sim2h_server -p 9000",
"build": "sh scripts/build.sh",
"build:holofuel": "sh scripts/build-holofuel.sh",
"hc:clean-storage": "rm -rf ./.holochain/holo/storage",
"hc:start": "holochain -c ./conductor-config.toml &> conductor.log &",
"hc:start-and-wait": "npm run hc:start && npm run test:wait-for-conductor",
"hc:stop": "killall holochain",
"test:lint": "standard",
"test:unit": "node scripts/test.js --config=./jest.unit.config.js",
"test": "npm run test:lint && npm run test:unit",
"test:ci": "CI=1 npm run test:unit",
"test:wait-for-conductor": "node scripts/wait-for-conductor.js",
"preseed:holofuel": "node scripts/prepareHoloFuelData/index.js",
"preseed:hpadmin": "node scripts/prepareHpAdminData/index.js",
"test:preseed-data": "npm run test:wait-for-conductor && NODE_ENV=test babel-node scripts/initialize-conductor-data",
"test:integration": "nix-shell --command 'REACT_APP_INTEGRATION_TEST=true node scripts/test.js --config=./jest.integration.config.js'",
"test:integration-with-setup": "npm run test:preseed-data && npm run test:integration",
"predeploy": "npm run build:holofuel",
"deploy": "gh-pages -d build -o static"
},
"dependencies": {
"@apollo/react-hoc": "^3.1.3",
"@apollo/react-hooks": "^3.1.3",
"@apollo/react-testing": "^3.1.3",
"@babel/node": "^7.6.3",
"@holo-host/hp-admin-keypair": "0.1.2",
"@holochain/hc-web-client": "^0.5.3",
"apollo-cache-inmemory": "^1.6.3",
"apollo-client": "^2.6.4",
"apollo-link-error": "^1.1.12",
"apollo-link-logger": "^1.2.3",
"apollo-link-schema": "^1.2.3",
"babel-node": "0.0.1-security",
"bcryptjs": "^2.4.3",
"classnames": "^2.2.6",
"copy-to-clipboard": "^3.2.0",
"fast-json-stable-stringify": "^2.1.0",
"gh-pages": "^3.0.0",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"namor": "^1.1.2",
"ncp": "^2.0.0",
"postcss-custom-properties": "^9.0.2",
"postcss-import": "^12.0.1",
"postcss-sassy-mixins": "^2.1.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-hook-form": "^3.23.0",
"react-identicon-variety-pack": "^0.2.1",
"react-loader-spinner": "^3.1.4",
"react-media-hook": "^0.4.4",
"react-modal": "^3.9.1",
"react-router-dom": "^5.1.2",
"react-test-renderer": "^16.9.0",
"react-toggle": "^4.1.1",
"react-tooltip": "^3.10.0",
"regenerator-runtime": "^0.13.3",
"rpc-websockets": "^4.5.1",
"toml": "^3.0.0",
"toml-loader": "^1.0.0",
"victory": "^33.1.3",
"waait": "^1.0.5",
"ws": "^7.1.1",
"yup": "^0.27.0"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@svgr/webpack": "4.1.0",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^9.1.3",
"@testing-library/react-hooks": "^2.0.1",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.6.0",
"axios": "^0.19.0",
"babel-eslint": "10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "8.0.5",
"babel-plugin-import-graphql": "^2.7.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-named-asset-import": "^0.3.2",
"babel-plugin-react-css-modules": "^5.2.6",
"babel-preset-react-app": "^9.0.0",
"camelcase": "^5.2.0",
"case-sensitive-paths-webpack-plugin": "2.2.0",
"css-loader": "2.1.1",
"dotenv": "6.2.0",
"dotenv-expand": "4.2.0",
"eslint": "^5.16.0",
"eslint-config-react-app": "^4.0.1",
"eslint-loader": "2.1.2",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"file-loader": "3.0.1",
"fs-extra": "7.0.1",
"graphql": "^14.2.1",
"graphql-tag": "^2.10.1",
"graphql-tools": "^4.0.4",
"html-webpack-plugin": "4.0.0-beta.5",
"identity-obj-proxy": "3.0.0",
"is-wsl": "^1.1.0",
"jest": "24.7.1",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.7.1",
"jest-transform-graphql": "^2.1.0",
"jest-watch-typeahead": "0.3.0",
"mini-css-extract-plugin": "0.5.0",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.2.1",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-normalize": "7.0.1",
"postcss-preset-env": "6.6.0",
"postcss-safe-parser": "4.0.1",
"react-app-polyfill": "^1.0.1",
"react-dev-utils": "^9.0.1",
"resolve": "1.10.0",
"sass-loader": "7.1.0",
"semver": "6.0.0",
"standard": "^13.1.0",
"style-loader": "0.23.1",
"terser-webpack-plugin": "1.2.3",
"ts-pnp": "1.1.2",
"url-loader": "1.1.2",
"webpack": "4.41.0",
"webpack-dev-server": "3.9.0",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "4.2.0"
},
"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"
]
},
"standard": {
"parser": "babel-eslint",
"global": [
"afterAll",
"afterEach",
"beforeAll",
"beforeEach",
"describe",
"expect",
"it",
"jest",
"test",
"crypto"
]
},
"babel": {
"presets": [
"react-app"
],
"plugins": [
[
"react-css-modules",
{
"generateScopedName": "[name]__[local]___[hash:base64:5]",
"exclude": "node_modules"
}
],
[
"module-resolver",
{
"root": [
"src"
],
"extensions": [
".graphql"
]
}
],
"import-graphql"
]
}
}