Commit 193d198e authored by Ansh Sarkar's avatar Ansh Sarkar
Browse files

decoupled concurrent tasks and turbo build


Signed-off-by: default avatarAnsh Sarkar <anshsark18@gmail.com>
Showing with 2 additions and 7 deletions
+2 -7
......@@ -3,21 +3,16 @@
"version": "1.0.0",
"description": "Enketo",
"scripts": {
"start": "turbo run build && npm run concurrent",
"start": "npm i && npm run concurrent",
"build": "turbo run build",
"docker-cleanup": "docker rm -f enketo-redis-main enketo-redis-cache",
"enketo-core": "cd packages/enketo-core && npm i && npm start",
"enketo-express": "cd packages/enketo-express && docker run --name enketo-redis-main -p 6379:6379 -d redis && docker run --name enketo-redis-cache -p 6380:6379 -d redis && npm i && npm i -g grunt && grunt develop",
"form-manager": "cd packages/form-manager && npm i && npm start",
"wrapper": "cd apps/wrapper && npm i && npm start",
"concurrent-packages": "concurrently \"npm run enketo-core\" \"npm run enketo-express\" \"npm run form-manager\"",
"concurrent-applications": "concurrently \"npm run wrapper\"",
"concurrent": "npm run docker-cleanup && concurrently \"npm run concurrent-packages\" \"npm run concurrent-applications\"",
"start-redis-cache": "docker run --name enketo-redis-cache -p 6380:6379 -d redis",
"start-redis-main": "docker run --name enketo-redis-main -p 6379:6379 -d redis",
"start-ec": "cd enketo-core && npm start",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment