This repository has been archived by the owner on Jun 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
63 lines (63 loc) · 3.13 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
{
"name": "kafka-rest-ui",
"version": "0.7.0",
"private": true,
"repository": "[email protected]:nodefluent/kafka-rest-ui.git",
"homepage": "https://nodefluent.github.io/kafka-rest-ui/",
"author": "nodefluent",
"license": "MIT",
"dependencies": {
"axios": "^0.19.0",
"eslint": "^5.16.0",
"localforage": "^1.7.3",
"react": "^16.8.6",
"react-bootstrap": "^0.32.4",
"react-dom": "^16.8.6",
"react-icons-kit": "^1.3.1",
"react-json-view": "^1.19.1",
"react-notification-system": "^0.2.17",
"react-pager": "^1.3.3",
"react-redux": "^7.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-scripts": "3.0.1",
"react-sidenav": "^4.0.3",
"react-table": "^6.10.0",
"react-tabs": "^3.0.0",
"react-tap-event-plugin": "^3.0.3",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-observable": "^1.1.0",
"redux-persist": "^5.10.0",
"rxjs": "^6.5.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build:localhost": "REACT_APP_KAFKA_REST_URL=/api/kafka-rest/ PROXY=true REACT_APP_DEBUG=* react-scripts build && yarn docker:build:localhost && yarn docker:push",
"docker:build": "docker build -t nodefluent/kafka-rest-ui . --no-cache",
"docker:build:localhost": "docker build -t nodefluent/kafka-rest-ui:localhost -f localhost.Dockerfile . --no-cache",
"docker:push": "docker push nodefluent/kafka-rest-ui",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"kafka:start": "./kafka-setup/start.sh",
"kafka:stop": "./kafka-setup/stop.sh",
"kafka:logs": "docker-compose --file ./kafka-setup/docker-compose.yml logs -f",
"kafka:build": "docker-compose --file ./kafka-setup/docker-compose.yml build",
"kafka:rick": "yarn kafka:stop && yarn kafka:build && yarn kafka:start && yarn kafka:generate-data && yarn kafka:logs",
"kafka:producer": "docker exec -it kafkasetup_kafka_1 bash -c 'kafka-console-producer.sh --topic=test --broker-list=localhost:9092'",
"kafka:consumer": "docker exec -it kafkasetup_kafka_1 bash -c 'kafka-console-consumer.sh --topic=test --bootstrap-server=localhost:9092 --from-beginning'",
"kafka:set-topic-config": "docker exec -it kafkasetup_kafka_1 bash -c 'kafka-configs.sh --entity-type=topics --zookeeper=zookeeper:2181 --alter --entity-name=test --add-config=retention.ms=86400000,cleanup.policy=delete'",
"kafka:topic-describe": "docker exec -it kafkasetup_kafka_1 bash -c 'kafka-configs.sh --describe --entity-type=topics --entity-name=test --zookeeper=zookeeper:2181'",
"kafka:generate-data": "while IFS= read line; do echo \"echo '$line' | kafka-console-producer.sh --topic=test --broker-list=localhost:9092 --property='parse.key=true' --property='key.separator=#' \" | docker exec -i kafkasetup_kafka_1 bash -; done< ./kafka-setup/test-data.txt"
},
"devDependencies": {
"babel-eslint": "^10.0.2",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-flowtype": "^3.10.3",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"flow-bin": "^0.101.1"
}
}