22 lines
678 B
JSON
22 lines
678 B
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"frontend",
|
|
"shared",
|
|
"backend"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^5.3.0"
|
|
},
|
|
"scripts": {
|
|
"build": "cd shared && npm run build && cd ../frontend && npm run build && cd ../backend && npm run build",
|
|
"lint": "eslint './**/src/**/*.{js,ts,json}' --fix",
|
|
"frontend": "yarn workspace decla.red-frontend start",
|
|
"shared": "yarn workspace shared start",
|
|
"backend": "yarn workspace declared-server start",
|
|
"start": "concurrently --kill-others-on-fail \"cd shared && npm start\" \"cd backend && npm start\" \"cd frontend && npm start\""
|
|
}
|
|
}
|