Files
flashcards/package.json

24 lines
931 B
JSON

{
"name": "flashcard",
"private": true,
"version": "0.1.0",
"type": "module",
"workspaces": ["packages/*"],
"scripts": {
"dev": "concurrently -k -n be,fe -c blue,green \"npm:dev:be\" \"npm:dev:fe\"",
"dev:be": "npm -w @flashcard/backend run dev",
"dev:fe": "npm -w @flashcard/frontend run dev",
"build": "npm -w @flashcard/shared run build && npm -w @flashcard/backend run build && npm -w @flashcard/frontend run build",
"start": "node packages/backend/dist/index.js",
"e2e": "playwright test --config packages/frontend/playwright.config.ts",
"test": "npm -w @flashcard/backend run test && npm -w @flashcard/frontend run test",
"db:migrate": "npm -w @flashcard/backend run db:migrate",
"db:seed": "npm -w @flashcard/backend run db:seed",
"typecheck": "npm -ws run typecheck --if-present"
},
"devDependencies": {
"concurrently": "^9.0.0",
"typescript": "^5.5.0"
}
}