-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
36 lines (36 loc) · 1.53 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
{
"name": "kafka-spark-project",
"version": "2.0.0",
"description": "Kafka, Spark, Node.js - Financial Data Streaming Experiment",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"start": "docker-compose up",
"setup": "yarn && cd ./backend && yarn && cd ../frontend && yarn && cd ../SparkStreamer && mvn clean install",
"clean:kafka": "del ./kafka/logs ./kafka/zookeeper",
"start:kafka": "yarn clean:kafka && zookeeper-server-start ./kafka/config/zookeeper.properties & kafka-server-start ./kafka/config/server.properties",
"start:backend": "cd ./backend && yarn start:dev",
"start:frontend": "cd ./frontend && yarn start:dev",
"start:spark": "cd ./SparkStreamer && mvn clean install && mvn exec:java",
"start:dev": "concurrently -k --allow-restart --names 'KAFKA,BACKEND,FRONTEND,SPARK' --prefix-colors 'yellow,blue,magenta,cyan' 'yarn start:kafka' 'yarn start:backend' 'yarn start:frontend' 'yarn start:spark'",
"docker:build": "cd ./backend & yarn docker:build & cd ../frontend & yarn docker:build",
"test": "cd ./backend && yarn test && cd ../frontend && yarn test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zoltan-nz/kafka-spark-project.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/zoltan-nz/kafka-spark-project/issues"
},
"homepage": "https://github.com/zoltan-nz/kafka-spark-project#readme",
"devDependencies": {
"concurrently": "^4.1.0",
"del-cli": "^1.1.0",
"nodemon": "^1.18.11"
}
}